Skip to content

Commit

Permalink
fix: filter QC status column properly
Browse files Browse the repository at this point in the history
  • Loading branch information
dbirman committed Feb 14, 2025
1 parent 3341f1f commit e5f157c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/aind_qc_portal/projects/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ def _get_assets(self):
),
axis=1,
)
print(self._df["QC Status"].values[0])

self._df.drop(
columns=["qc_link", "operator", "session_start_time", "location"]
Expand Down Expand Up @@ -215,7 +214,7 @@ def _data_filtered(self) -> pd.DataFrame:

if self.status_filter != "All":
filtered_df = filtered_df[
filtered_df["QC Status"] == self.status_filter
filtered_df["QC Status"].str.contains(self.status_filter, na=False)
]

return filtered_df
Expand Down

0 comments on commit e5f157c

Please sign in to comment.