Skip to content

Commit

Permalink
More sanity
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecThomson committed May 21, 2024
1 parent 93419bc commit c82c2dd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arrakis/makecat.py
Original file line number Diff line number Diff line change
Expand Up @@ -956,6 +956,10 @@ def main(
comps_df = comps_df.loc[
comps_df.rmclean1d.astype(bool) & comps_df.rmsynth1d.astype(bool)
]
comps_df.dropna(
subset=["rmclean_summary", "rmsynth_summary", "rmclean1d", "rmsynth1d"],
inplace=True,
)
tock = time.time()
logger.info(f"Finished component collection query - {tock-tick:.2f}s")
logger.info(f"Found {len(comps_df)} components to catalogue. ")
Expand Down

0 comments on commit c82c2dd

Please sign in to comment.