Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generic io interface #64

Merged
merged 4 commits into from
Apr 8, 2021
Merged

Generic io interface #64

merged 4 commits into from
Apr 8, 2021

Conversation

stelmo
Copy link
Collaborator

@stelmo stelmo commented Apr 7, 2021

Make the IO interface generic so the user only has to call read_model(file_location::String, modelTypeOut) to read a model, or write_model(model::MetabolicModel, file_location::String) to write a model. In both cases the logic of argument flow should go from input -> output. So for reading the file location is an input and the type of model (e.g. StandardModel) is the output and vice verse for writing.

@stelmo
Copy link
Collaborator Author

stelmo commented Apr 7, 2021

This will address #36 when done.

@stelmo stelmo changed the title WIP: Generic io interface Generic io interface Apr 7, 2021
@laurentheirendt laurentheirendt merged commit cddf016 into master Apr 8, 2021
@laurentheirendt laurentheirendt deleted the mo-generic-io branch April 8, 2021 07:17
exaexa pushed a commit that referenced this pull request Jul 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants