# HG changeset patch # User luca_milaz # Date 1721420413 0 # Node ID fd3d3516436af7c683d8c1ae15046788c196be46 # Parent 9074200334caf716b161a1570dbd6d85a638b3e7 Uploaded diff -r 9074200334ca -r fd3d3516436a marea_2/custom_data_generator.py --- a/marea_2/custom_data_generator.py Fri Jul 19 20:17:34 2024 +0000 +++ b/marea_2/custom_data_generator.py Fri Jul 19 20:20:13 2024 +0000 @@ -201,8 +201,8 @@ utils.writePickle(reactionsPath, reactions) utils.writePickle(boundsPath, bounds) utils.writePickle(mediumPath, medium) - bounds.to_pickle(boundsPath) - medium.to_pickle(mediumPath) + bounds.to_pickle(boundsPath.show()) + medium.to_pickle(mediumPath.show()) elif ARGS.output_format is utils.FileFormat.CSV: rules = generate_rules(model, asParsed = False) @@ -211,8 +211,8 @@ medium = get_medium(model) save_as_csv(rules, rulesPath, ("ReactionID", "Rule")) save_as_csv(reactions, reactionsPath, ("ReactionID", "Reaction")) - bounds.to_csv(boundsPath) - medium.to_csv(mediumPath) + bounds.to_csv(boundsPath.show()) + medium.to_csv(mediumPath.show()) # ^ Please if anyone works on this after updating python to 3.12 change the if/elif into a match statement!!