debug
This commit is contained in:
parent
804128dad9
commit
ed951bc645
@ -140,6 +140,7 @@ class Entry(object):
|
|||||||
"""
|
"""
|
||||||
if not hasattr(self, name):
|
if not hasattr(self, name):
|
||||||
return "Parameter '" + name + "' not found."
|
return "Parameter '" + name + "' not found."
|
||||||
|
print(os.getcwd())
|
||||||
if not os.path.isfile(getattr(self, name)):
|
if not os.path.isfile(getattr(self, name)):
|
||||||
return "File '" + getattr(self, name) + "' does not exist."
|
return "File '" + getattr(self, name) + "' does not exist."
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
comment="Modeling the sun as mag 10 star"/>
|
comment="Modeling the sun as mag 10 star"/>
|
||||||
<optical_component type="Atmosphere" transmittance="tests/data/atmosphere/transmittance.csv"
|
<optical_component type="Atmosphere" transmittance="tests/data/atmosphere/transmittance.csv"
|
||||||
emission="tests/data/atmosphere/emission.csv" comment="Including the atmosphere"/>
|
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"/>
|
comment="Including arbitrary noise sources"/>
|
||||||
</astroscene>
|
</astroscene>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user