Skip to content

Commit

Permalink
#8 Merge pull request from deshima-dev/astropenguin/issue6
Browse files Browse the repository at this point in the history
Fix to infer correct TOD FITS name
  • Loading branch information
astropenguin authored Jun 17, 2024
2 parents b3ab153 + cff491c commit d9d5f3f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/aste/Configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
run:
# 1. specify data files (asked by prompt)
# 2. modify config data at out/conf/general.conf
# - DeltaHz in [values]: gap frequency. used when determining
# - DeltaHz in [values]: gap frequency. used when determining
# lowest frequency for table of filter transparency
# - [powerfreqbin]: used for radiation power calculation (numerical integral)
# - etendue in [optics]: optical throughput
Expand Down Expand Up @@ -67,12 +67,12 @@ def complete(text, state):
#
kidslist_path = os.path.join(targetdir, 'kids.list')
localsweep_path = os.path.join(targetdir, 'localsweep.sweep')
TOD_fits_path = os.path.join(targetdir, 'measurement.fits')
TOD_fits_path = glob.glob(os.path.join(targetdir, '*.fits'))[0]
localsweep_roomchopper_path = os.path.join(targetdir, 'RoomChopperClosed', 'localsweep.sweep')
if not os.path.exists(localsweep_roomchopper_path):
localsweep_roomchopper_path = ''
localsweep_roomchopper_path = ''


if args.force:
try:
shutil.rmtree(outdir)
Expand Down

0 comments on commit d9d5f3f

Please sign in to comment.