From 74431c364b4a65df37f0cea2f2abb35064d83a60 Mon Sep 17 00:00:00 2001 From: pauladkisson Date: Mon, 20 Nov 2023 18:12:42 -0800 Subject: [PATCH] fixed bug with alignment path --- .../markowitz_gillis_nature_2023/basedattainterface.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/datta_lab_to_nwb/markowitz_gillis_nature_2023/basedattainterface.py b/src/datta_lab_to_nwb/markowitz_gillis_nature_2023/basedattainterface.py index 46acd32..bced6ff 100644 --- a/src/datta_lab_to_nwb/markowitz_gillis_nature_2023/basedattainterface.py +++ b/src/datta_lab_to_nwb/markowitz_gillis_nature_2023/basedattainterface.py @@ -25,9 +25,7 @@ def get_metadata(self) -> dict: metadata["Subject"]["sex"] = subject_metadata["sex"] if self.source_data["alignment_path"] is not None: - alignment_df = pd.read_parquet( - "/Volumes/T7/CatalystNeuro/NWB/Datta/xtra_raw/session_20210215162554-455929/alignment_df.parquet" - ) + alignment_df = pd.read_parquet(self.source_data["alignment_path"]) metadata["Alignment"]["slope"] = alignment_df["slope"].iloc[0] metadata["Alignment"]["bias"] = alignment_df["bias"].iloc[0]