We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
template_model.add_template()
Line 858 of template_model.py needs to be just initials.update(initial_mapping or {}) https://github.com/gyorilab/mira/blob/main/mira/metamodel/template_model.py#L858C17-L858C17
template_model.py
initials.update(initial_mapping or {})
dict.update() always returns None and assigning it back to initials causes this error:
dict.update()
None
initials
The text was updated successfully, but these errors were encountered:
It might also be a good idea to expand the unit test for add_template to include parameter_mapping and initial_mapping here: https://github.com/gyorilab/mira/blob/main/tests/test_template.py#L343
add_template
parameter_mapping
initial_mapping
Sorry, something went wrong.
Fixed in #268
No branches or pull requests
Line 858 of
template_model.py
needs to be justinitials.update(initial_mapping or {})
https://github.com/gyorilab/mira/blob/main/mira/metamodel/template_model.py#L858C17-L858C17
dict.update()
always returnsNone
and assigning it back toinitials
causes this error:The text was updated successfully, but these errors were encountered: