NuSTAR/nustar-gen-utils

Path for "Observations" don't work intuitively

Closed this issue · 1 comments

They work for relative paths. This works:

here = './'
obs = nustar_gen.info.Observation(path=here, seqid='60202002014')
obs.exposure_report()
print(obs.observation_date)

and this does not
here = os.getcwd()
obs = nustar_gen.info.Observation(path=here, seqid='60202002014')
obs.exposure_report()
print(obs.observation_date)

returns the following exception:

Output path does not exist! /Users/bwgref/science/ngc_322760202002014)

Closed by #45