Skip to content

Commit

Permalink
fix: hotfix for bug in timestapm code
Browse files Browse the repository at this point in the history
  • Loading branch information
dbirman committed Feb 14, 2025
1 parent 2dc69d7 commit 3f0e24a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aind_qc_portal/projects/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def _get_assets(self):
self._df["session_start_time"], format="mixed",
).apply(
lambda x: x.strftime("%Y-%m-%d %H:%M:%S")
if x is x and not pd.NaT
if x is not None and x is not pd.NaT
else None
)
self._df["S3 link"] = self._df["location"].apply(
Expand Down

0 comments on commit 3f0e24a

Please sign in to comment.