# HG changeset patch # User luca_milaz # Date 1728764283 0 # Node ID 9688ad27287b60060161593eb4b41f1f85f1bc90 # Parent f76b1d0b912f856307e4bdf6b73920bfb1c7c036 Uploaded diff -r f76b1d0b912f -r 9688ad27287b COBRAxy/ras_to_bounds.py --- 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)