Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix all(?) remaining invalid print->logger conversions #407

Merged
merged 2 commits into from
Oct 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/dysh/fits/gbtfitsload.py
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,7 @@ def gettp(
# now downselect with any additional kwargs
ps_selection._select_from_mixed_kwargs(**kwargs)
_sf = ps_selection.final
logger.debug("SF=", _sf)
logger.debug(f"SF={_sf}")
ifnum = uniq(_sf["IFNUM"])
plnum = uniq(_sf["PLNUM"])
scans = uniq(_sf["SCAN"])
Expand Down Expand Up @@ -938,9 +938,9 @@ def gettp(
# df = select_from("CAL", TF[cal], df)
# the rows with the selected sig state and all cal states
tprows = list(_sifdf["ROW"])
logger.debug("TPROWS len=", len(tprows))
logger.debug("CALROWS on len=", len(calrows["ON"]))
logger.debug("fitsindex=", i)
logger.debug(f"TPROWS len={len(tprows)}")
logger.debug(f"CALROWS on len={len(calrows['ON'])}")
logger.debug(f"fitsindex={i}")
if len(tprows) == 0:
continue
g = TPScan(
Expand Down
Loading