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

Monochromatic.wavelength option not prompting. #1071

Closed
AustenWallis opened this issue May 23, 2024 · 2 comments
Closed

Monochromatic.wavelength option not prompting. #1071

AustenWallis opened this issue May 23, 2024 · 2 comments

Comments

@AustenWallis
Copy link
Contributor

AustenWallis commented May 23, 2024

Upon selecting a monochromatic spectrum option for the Central_object.rad_type_in_final_spectrum(bb,models,uniform,mono) (bb) :mono
and the
Disk.rad_type_in_final_spectrum(bb,models,uniform,mono,mod_bb) (bb) :mono
, the user is not prompted for the specific wavelength desired with the monochromatic.wavelength parameter.
my_new_model14.pf.txt

The documentation for this option will need to be updated upon solving of this issue.

@jhmatthews
Copy link
Collaborator

This is due to a mismatch between num_choices, which is hardwired in two places (in get_choices and init_choices). It was changed in one place (init_choices) without the other. Ideally there should be a link between them, so I'll fix that .

@jhmatthews
Copy link
Collaborator

Proposed fix #1094 -- can confirm this does make Austen's model prompt correctly for specific wavelength.

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

2 participants