ifnotos.path.exists(os.environ.get('PYSYN_CDBS','./trd')):# pragma: no cover
ifnotos.path.exists(os.environ.get('PYSYN_CDBS','/home/ubuntu/Downloads/cpic-img-sim-master/cpic-img-sim-master/trd/grp/redcat/trds/')):# pragma: no cover
raiseException(
raiseException(
"Can not find PYSYN Stellar reference data.")
"Can not find PYSYN Stellar reference data.")
...
@@ -53,11 +53,11 @@ def which_focalplane(band):
...
@@ -53,11 +53,11 @@ def which_focalplane(band):
If the band is not in ['f565', 'f661', 'f743', 'f883', 'f940', 'f1265', 'f1425', 'f1542', 'wfs']
If the band is not in ['f565', 'f661', 'f743', 'f883', 'f940', 'f1265', 'f1425', 'f1542', 'wfs']