Open rieder opened 7 months ago
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
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:
Expected behavior MESA returns an error