Skip to content

Commit

Permalink
Update bids_utils test
Browse files Browse the repository at this point in the history
  • Loading branch information
AliceJoubert committed Oct 9, 2024
1 parent ce923e2 commit f0a716f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions test/unittests/iotools/test_bids_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ def create_clinical_data(tmp_path: Path, study_name: StudyName) -> Path:
"OASIS": [np.nan, "ID", np.nan, "M/F", np.nan],
"OASIS location": [
np.nan,
"oasis_cross-sectional.csv",
"oasis_cross-sectional-5708aa0a98d82080.xlsx",
np.nan,
"oasis_cross-sectional.csv",
"oasis_cross-sectional-5708aa0a98d82080.xlsx",
np.nan,
],
}
Expand Down Expand Up @@ -182,7 +182,9 @@ def create_clinical_data(tmp_path: Path, study_name: StudyName) -> Path:
"Age": ["45", "50", "55", "60", "60"],
}
)
df_oasis.to_csv(clinical_path / "oasis_cross-sectional.csv", index=False)
df_oasis.to_csv(
clinical_path / "oasis_cross-sectional-5708aa0a98d82080.xlsx", index=False
)
return clinical_path


Expand Down

0 comments on commit f0a716f

Please sign in to comment.