Skip to content

Commit

Permalink
Merge pull request #112 from Parietal-INRIA/hotfix/fix-ibc-fetcher
Browse files Browse the repository at this point in the history
[HOTFIX] Fix ibc fetcher
  • Loading branch information
pbarbarant authored Dec 3, 2024
2 parents e1312a8 + 6df61cd commit 0bb69d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fmralign/fetch_example_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def fetch_ibc_subjects_contrasts(subjects, data_dir=None, verbose=1):
metadata_df = pd.read_csv(metadata_path[0])
conditions = metadata_df.condition.unique()
metadata_df["path"] = metadata_df["path"].str.replace(
"path_to_dir", data_dir
"path_to_dir", str(data_dir)
)
# filter the dataframe to return only rows relevant for subjects argument
metadata_df = metadata_df[metadata_df.subject.isin(subjects)]
Expand Down

0 comments on commit 0bb69d7

Please sign in to comment.