Mercurial > repos > bimib > cobraxy
comparison COBRAxy/ras_to_bounds.py @ 55:f76b1d0b912f draft
Uploaded
author | luca_milaz |
---|---|
date | Sat, 12 Oct 2024 20:16:20 +0000 |
parents | 81f310854565 |
children | 9688ad27287b |
comparison
equal
deleted
inserted
replaced
54:81f310854565 | 55:f76b1d0b912f |
---|---|
216 | 216 |
217 ARGS.output_folder = 'ras_to_bounds/' | 217 ARGS.output_folder = 'ras_to_bounds/' |
218 | 218 |
219 if(ARGS.ras_selector == True): | 219 if(ARGS.ras_selector == True): |
220 ras_file_list = ARGS.input_ras.split(",") | 220 ras_file_list = ARGS.input_ras.split(",") |
221 if(len(ras_list)>1): | 221 if(len(ras_file_list)>1): |
222 ras_class_names = [cls.strip() for cls in ARGS.classes.split(',')] | 222 ras_class_names = [cls.strip() for cls in ARGS.classes.split(',')] |
223 else: | 223 else: |
224 ras_class_names = ["placeHolder"] | 224 ras_class_names = ["placeHolder"] |
225 ras_list = [] | 225 ras_list = [] |
226 class_assignments = pd.DataFrame(columns=["Patient_ID", "Class"]) | 226 class_assignments = pd.DataFrame(columns=["Patient_ID", "Class"]) |