Skip to content

Commit

Permalink
Merge pull request #93 from catalystneuro/alignment
Browse files Browse the repository at this point in the history
fixed bug with alignment path
  • Loading branch information
CodyCBakerPhD authored Nov 21, 2023
2 parents 7d1e39b + 74431c3 commit ae961e7
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down

0 comments on commit ae961e7

Please sign in to comment.