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

Adding a non-existing photo star in MESA doesn't return an error #1036

Open
rieder opened this issue Mar 7, 2024 · 0 comments
Open

Adding a non-existing photo star in MESA doesn't return an error #1036

rieder opened this issue Mar 7, 2024 · 0 comments
Labels

Comments

@rieder
Copy link
Member

rieder commented Mar 7, 2024

Describe the bug
Adding a photo star in MESA when the file containing the photo does not exist does not return an error, instead it returns a 1 MSun star.

To Reproduce
Steps to reproduce the behavior:

stellar_evolution = Mesa(version='15140')
star_in_code = stellar_evolution.photo_stars.add_particle(
    Particle(filename="i_dont_exist")
)

Expected behavior
MESA returns an error

@rieder rieder added the bug label Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant