amuse
amuse copied to clipboard
Adding a non-existing photo star in MESA doesn't return an error
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
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 365 days if no further activity occurs. Thank you for your contributions.