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

Fixed Template Filepath Reading #447

Merged
merged 1 commit into from
Dec 9, 2024
Merged

Conversation

samgagnon
Copy link

InputParameters.from_template() failed when supplied a filepath rather than template name due to the create_params_from_template() callable passing a string to tomllib.load() rather than a stream object. This has been fixed so that custom templates can now be supplied via their filepath.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@samgagnon samgagnon changed the base branch from master to v4-prep December 9, 2024 11:12
Copy link
Member

@steven-murray steven-murray left a comment

Choose a reason for hiding this comment

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

Thanks @samgagnon !

@steven-murray steven-murray merged commit 2c75783 into 21cmfast:v4-prep Dec 9, 2024
6 of 14 checks passed
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.

2 participants