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

Several fixes in preparation of the CainMap #155

Merged
merged 6 commits into from
Feb 28, 2024
Merged

Several fixes in preparation of the CainMap #155

merged 6 commits into from
Feb 28, 2024

Conversation

teutoburg
Copy link
Contributor

@teutoburg teutoburg commented Feb 26, 2024

Mostly harmonize the set_modes, all in preparation of the UserCommands -> CainMap change in ScopeSim itself.

There's now one failing test because the call signature of UserCommands.set_modes() will change, but hasn't yet. TBH, I don't know why in that example this method is called at all, and not just put the modes in the init call. This seems to be the only place the method is called externally anyway...

@teutoburg teutoburg added the documentation Improvements or additions to documentation label Feb 26, 2024
@teutoburg teutoburg self-assigned this Feb 26, 2024
This will still work with the ChainMap, albeit with a DeprecationWarning.

Co-authored-by: Hugo Buddelmeijer <hugo@buddelmeijer.nl>
@teutoburg
Copy link
Contributor Author

Urgh, this still has 3.8 in the matrix...

Copy link
Collaborator

@hugobuddel hugobuddel left a comment

Choose a reason for hiding this comment

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

Good! LGTM

METIS/docs/example_notebooks/RawHeaders.ipynb Show resolved Hide resolved
@teutoburg teutoburg merged commit 3e61db9 into dev_master Feb 28, 2024
8 of 9 checks passed
@teutoburg teutoburg deleted the fh/cmds branch February 28, 2024 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants