This commit is contained in:
Lukas Klass 2020-09-09 17:10:02 +02:00
parent 804128dad9
commit ed951bc645
2 changed files with 2 additions and 1 deletions

View File

@ -140,6 +140,7 @@ class Entry(object):
"""
if not hasattr(self, name):
return "Parameter '" + name + "' not found."
print(os.getcwd())
if not os.path.isfile(getattr(self, name)):
return "File '" + getattr(self, name) + "' does not exist."

View File

@ -19,7 +19,7 @@
comment="Modeling the sun as mag 10 star"/>
<optical_component type="Atmosphere" transmittance="tests/data/atmosphere/transmittance.csv"
emission="tests/data/atmosphere/emission.csv" comment="Including the atmosphere"/>
<optical_component type="StrayLight" emission="./tests/data/strayLight/emission.csv"
<optical_component type="StrayLight" emission="tests/data/strayLight/emission.csv"
comment="Including arbitrary noise sources"/>
</astroscene>