diff COBRAxy/ras_to_bounds.py @ 76:be82f87848d0 draft

Uploaded
author luca_milaz
date Sun, 13 Oct 2024 09:30:44 +0000
parents 22c3946713cd
children 0446929eb06b
line wrap: on
line diff
--- a/COBRAxy/ras_to_bounds.py	Sun Oct 13 09:26:36 2024 +0000
+++ b/COBRAxy/ras_to_bounds.py	Sun Oct 13 09:30:44 2024 +0000
@@ -265,8 +265,7 @@
 
     if(ARGS.ras_selector == True):
         generate_bounds(model, medium, ras = ras_combined, output_folder=ARGS.output_folder)
-        if(len(ras_list)>1):
-            class_assignments.to_csv(ARGS.cell_class, sep = '\t', index = False)
+        class_assignments.to_csv(ARGS.cell_class, sep = '\t', index = False)
     else:
         generate_bounds(model, medium, output_folder=ARGS.output_folder)