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

Allow XPath references to model objects, not just attributes #144

Open
luciansmith opened this issue Jun 29, 2023 · 0 comments
Open

Allow XPath references to model objects, not just attributes #144

luciansmith opened this issue Jun 29, 2023 · 0 comments

Comments

@luciansmith
Copy link
Contributor

SED-ML explicitly allows setting and getting the mathematical value of model elements, irrespective of their attributes. A variety of Biomodels SED-ML files rely on this, and the number will only increase going forward, as parameter scans and other similar tasks become more common. The first step is simply to remove the various:

            if sep != '/@':
                raise ValueError('target {} is not a valid XPath to an attribute of a model element'.format(change.target))

errors from sedml\utils.py, but more downstream work is almost certainly needed, as well, and may extend to the various biosimulators_[simulator] projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant