Skip to content

Incomplete working version of a modellist to mapping conversion function#122

Merged
Samuel-amap merged 12 commits intomainfrom
add-modellist-to-mapping-tests-+-automated-model-generation-from-vector
Jan 17, 2025
Merged

Incomplete working version of a modellist to mapping conversion function#122
Samuel-amap merged 12 commits intomainfrom
add-modellist-to-mapping-tests-+-automated-model-generation-from-vector

Conversation

@Samuel-amap
Copy link
Copy Markdown
Collaborator

Modellist to mapping conversion function for tests, which will help for implementing output filtering on the modellist side

Add a convenience utility to generate models from status vector variables, which are currently handled in the modellist case but require an ad hoc model in the multiscale case

… work needed (see comments), but functional-ish
…o mapping test scenario. Previous TODOs still remaining (+ some initailisation issues)
…a check function to ensure the simulation graph is passed no vector in the statuses during creation
… are already handled. Extend a couple of tests to convert from modellist to mapping. TODO : multiscale testing
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this does the trick. There were various links that discussed expression parsing (none of them super detailed about what constitutes an expression), but this one was about double newlines : https://discourse.julialang.org/t/meta-parse-failes-on-double-newlines/54272

…p... Make the function that checks whether vectors are still in mapping statuses return organ + boolean instead of asserting
@Samuel-amap Samuel-amap merged commit 7d05d16 into main Jan 17, 2025
@Samuel-amap Samuel-amap deleted the add-modellist-to-mapping-tests-+-automated-model-generation-from-vector branch January 17, 2025 09:37
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.

API : enable passing in a vector providing values per timestep in multi-scale modelling

1 participant