# HG changeset patch # User luca_milaz # Date 1734433795 0 # Node ID 5c70439f2907622dbf6bff31d35ec24239589828 # Parent e71edb2585e6a4c999c8da2bd71a35b25ba4c0ab Uploaded diff -r e71edb2585e6 -r 5c70439f2907 COBRAxy/flux_to_map.py --- a/COBRAxy/flux_to_map.py Tue Dec 17 11:07:26 2024 +0000 +++ b/COBRAxy/flux_to_map.py Tue Dec 17 11:09:55 2024 +0000 @@ -808,11 +808,11 @@ elif ARGS.option == "dataset_class": classes = read_dataset(classPath, "class") classes = classes.astype(str) + resolve_rules_float, ids = getDatasetValues(datasetPath, "Dataset Class (not actual name)") #check if classes have mathc on ids if not all(classes.iloc[:, 0].isin(ids)): utils.logWarning( "No match between classes and sample IDs", ARGS.out_log) - resolve_rules_float, ids = getDatasetValues(datasetPath, "Dataset Class (not actual name)") if resolve_rules_float != None: class_pat = split_class(classes, resolve_rules_float) return ids, class_pat