Replies: 1 comment 1 reply
-
Sounds exciting! Comments:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, experimental data that is used for the optimization of the model parameters need to be specified within the
observable.py
under the model directory. However, when exploring various model structures (especially when using Text2Model), copy-and-pasting this information from one model directory to another can become a tedious task and is also a potential source of errors. I propose that being able to define experimental data in a separate file can solve these problems by allowing the user to simply copy the file into the newly created model directory.My current ideas on how to implement this feature are something like the following:
exp_data.txt
), and biomass will detect if a file with this specific name is present within the model directory when a model object is being instantiatedset_data
andget_timepoints
will return data that was read from this file; otherwise, it will behave the same as beforeobservable.py
like before, maintaining backwards compatibilityTo give you an idea of how the actual file might look, I have attached several example files:
I am currently working on developing parsers using these examples, and I would be very happy to know what you think!
Beta Was this translation helpful? Give feedback.
All reactions