Skip to content

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
keflavich committed Dec 9, 2024
1 parent 63f0e34 commit 65c7ec2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
14 changes: 6 additions & 8 deletions aces/analysis/latex_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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():
Expand Down
2 changes: 1 addition & 1 deletion aces/imaging/make_mosaic.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 65c7ec2

Please sign in to comment.