Mercurial > repos > bimib > cobraxy
changeset 56:9688ad27287b draft
Uploaded
author | luca_milaz |
---|---|
date | Sat, 12 Oct 2024 20:18:03 +0000 |
parents | f76b1d0b912f |
children | 0b4be1dbdbc4 |
files | COBRAxy/ras_to_bounds.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/COBRAxy/ras_to_bounds.py Sat Oct 12 20:16:20 2024 +0000 +++ b/COBRAxy/ras_to_bounds.py Sat Oct 12 20:18:03 2024 +0000 @@ -224,7 +224,7 @@ ras_class_names = ["placeHolder"] ras_list = [] class_assignments = pd.DataFrame(columns=["Patient_ID", "Class"]) - for ras_matrix, ras_class_name in ras_file_list, ras_class_names: + for ras_matrix, ras_class_name in zip(ras_file_list, ras_class_names): ras = read_dataset(ras_matrix, "ras dataset") ras.replace("None", None, inplace=True) ras.set_index("Reactions", drop=True, inplace=True)