diff --git a/aces/analysis/latex_table.py b/aces/analysis/latex_table.py index 8364d5f4..6f39f315 100644 --- a/aces/analysis/latex_table.py +++ b/aces/analysis/latex_table.py @@ -28,12 +28,10 @@ def make_latex_table(savename='continuum_data_summary'): good = (((np.char.find(tbl['filename'], 'preQA3') == -1) | (np.char.find(tbl['filename'], 'X15a0_X178') == -1) | (np.char.find(tbl['filename'], 'obsolete') == -1) #| False # TODO: check for more - ) & - ( + ) & ( (np.char.find(tbl['spws'], 'v1') == -1) & ~(tbl['pbcor']) & - (tbl['array'] == '12M') - ) + (tbl['array'] == '12M')) ) tbl = tbl[good] @@ -159,10 +157,10 @@ def try_read_table(index): return config_sched_tbls = {ii: - try_read_table(ii) - for ii in range(1, 10) - if try_read_table(ii) is not None - } + try_read_table(ii) + for ii in range(1, 10) + if try_read_table(ii) is not None + } assert len(config_sched_tbls) > 0 for ii, config_sched_tbl in config_sched_tbls.items(): diff --git a/aces/imaging/make_mosaic.py b/aces/imaging/make_mosaic.py index 1a49760f..9fc39539 100644 --- a/aces/imaging/make_mosaic.py +++ b/aces/imaging/make_mosaic.py @@ -282,7 +282,7 @@ def reprj(prj, scalefactor=1): return rslt # parallelization of this failed - twod_hdus = [reprj(prj, scalefactor=cb.sr/prj.beam.sr) for prj in prjs] + twod_hdus = [reprj(prj, scalefactor=cb.sr / prj.beam.sr) for prj in prjs] log.info(f"Reprojecting and coadding {len(twod_hdus)} HDUs.\n") # number of items to count in progress bar