# HG changeset patch # User luca_milaz # Date 1734203491 0 # Node ID c2ce7d75fcebd7bc5426e6a87ee7ffdba7b04394 # Parent 4c0bb0186d387ad1352aad99a4452cc67995511d Uploaded diff -r 4c0bb0186d38 -r c2ce7d75fceb COBRAxy/ras_to_bounds.py --- a/COBRAxy/ras_to_bounds.py Sat Dec 14 19:07:05 2024 +0000 +++ b/COBRAxy/ras_to_bounds.py Sat Dec 14 19:11:31 2024 +0000 @@ -159,9 +159,6 @@ """ bounds = pd.DataFrame([(rxn.lower_bound, rxn.upper_bound) for rxn in model.reactions], index=rxns_ids, columns=["lower_bound", "upper_bound"]) new_bounds = apply_ras_bounds(bounds, ras_row) - if new_bounds.isnull().values.any(): - warning(f"RAS values for {cellName} contain NaN values. Skipping this cell.") - return new_bounds.to_csv(output_folder + cellName + ".csv", sep='\t', index=True) pass