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

Crashes on n_fid = 2 or n_guide = 4 #5

Open
jeanconn opened this issue Nov 13, 2024 · 0 comments
Open

Crashes on n_fid = 2 or n_guide = 4 #5

jeanconn opened this issue Nov 13, 2024 · 0 comments

Comments

@jeanconn
Copy link

I note that while testing in the "transform" branch, using an arbitrary science obsid, it looks like I can get this to reliably crash if I set n_fid to 2 or n_guide to 4. At console it looks like it is complaining about n_guide + n_fid < 8 but I think that should be allowed:

2024-11-13 15:15:53,001 _validate: n_fid + n_guide != 8
Traceback (most recent call last):
  File "/Users/jean/git/aperoll/aperoll/widgets/main_window.py", line 192, in _parameters_changed
    proseco_args = self.parameters.proseco_args()
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/jean/git/aperoll/aperoll/widgets/parameters.py", line 488, in proseco_args
    obsid = self.values["obsid"]
            ~~~~~~~~~~~^^^^^^^^^
KeyError: 'obsid'
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

No branches or pull requests

1 participant