Mercurial > repos > bimib > cobraxy
comparison 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 |
comparison
equal
deleted
inserted
replaced
75:7476467061db | 76:be82f87848d0 |
---|---|
263 medium = df_mediums[[ARGS.medium_selector]] | 263 medium = df_mediums[[ARGS.medium_selector]] |
264 medium = medium[ARGS.medium_selector].to_dict() | 264 medium = medium[ARGS.medium_selector].to_dict() |
265 | 265 |
266 if(ARGS.ras_selector == True): | 266 if(ARGS.ras_selector == True): |
267 generate_bounds(model, medium, ras = ras_combined, output_folder=ARGS.output_folder) | 267 generate_bounds(model, medium, ras = ras_combined, output_folder=ARGS.output_folder) |
268 if(len(ras_list)>1): | 268 class_assignments.to_csv(ARGS.cell_class, sep = '\t', index = False) |
269 class_assignments.to_csv(ARGS.cell_class, sep = '\t', index = False) | |
270 else: | 269 else: |
271 generate_bounds(model, medium, output_folder=ARGS.output_folder) | 270 generate_bounds(model, medium, output_folder=ARGS.output_folder) |
272 | 271 |
273 pass | 272 pass |
274 | 273 |