Mercurial > repos > bimib > marea_2
changeset 84:fd3d3516436a draft
Uploaded
author | luca_milaz |
---|---|
date | Fri, 19 Jul 2024 20:20:13 +0000 |
parents | 9074200334ca |
children | 83a8e208a618 |
files | marea_2/custom_data_generator.py |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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!!