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]