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

User-friendly model hashes/IDs #85

Open
dilpath opened this issue Mar 12, 2024 · 3 comments
Open

User-friendly model hashes/IDs #85

dilpath opened this issue Mar 12, 2024 · 3 comments
Labels
fixed in next release This issue is resolved and will be available in the next version.

Comments

@dilpath
Copy link
Member

dilpath commented Mar 12, 2024

A unique model hash/ID can be automatically generated from

  • model subspace ID
  • model subspace indices

Some helper function to convert such a hash/ID back into a model, given a PEtab Select problem, could then be written as well.

@dweindl
Copy link
Member

dweindl commented Mar 12, 2024

Some helper function to convert such a hash/ID back into a model, given a PEtab Select problem, could then be written as well.

That would be very convenient.

@dilpath dilpath added the fixed in next release This issue is resolved and will be available in the next version. label Nov 12, 2024
@dilpath
Copy link
Member Author

dilpath commented Nov 19, 2024

Now possible via petab_select.ModelHash. e.g.

  • ModelHash.from_hash("M1-000").get_model(petab_select_problem)
  • model.get_hash().get_model(petab_select_problem)

@dilpath dilpath closed this as completed Nov 19, 2024
@dweindl
Copy link
Member

dweindl commented Nov 19, 2024

Now possible via petab_select.ModelHash. e.g.

* `ModelHash.from_hash("M1-000").get_model(petab_select_problem)`

* `model.get_hash().get_model(petab_select_problem)`

👍

Would be great to have that in the docs.

@dilpath dilpath reopened this Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed in next release This issue is resolved and will be available in the next version.
Projects
None yet
Development

No branches or pull requests

2 participants