Skip to content

Commit

Permalink
more test updates
Browse files Browse the repository at this point in the history
  • Loading branch information
36000 committed Sep 21, 2023
1 parent 8da0d0b commit 7186177
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions AFQ/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ def test_AFQ_slr():
afd.read_stanford_hardi_tractography()

_, bids_path, _ = get_temp_hardi()
bd = BundleDict(["CST_L"])
bd = BundleDict(["CST_L", "CST_R"])

myafq = GroupAFQ(
bids_path=bids_path,
Expand Down Expand Up @@ -845,7 +845,7 @@ def test_AFQ_data_waypoint():
assert op.exists(op.join(
myafq.export("results_dir"),
'bundles',
'sub-01_ses-01_coordsys-RASMM_trkmodel-probCSD_algo-AFQ_desc-SLFL_tractography.trk')) # noqa
'sub-01_ses-01_coordsys-RASMM_trkmodel-probCSD_bundlerec-AFQ_desc-SLFL_tractography.trk')) # noqa

tract_profile_fname = myafq.export("profiles")
tract_profiles = pd.read_csv(tract_profile_fname)
Expand Down
6 changes: 3 additions & 3 deletions AFQ/tests/test_bundle_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ def test_BundleDict():

assert len(afq_bundles) == 2

# Forceps Minor
afq_bundles = abd.BundleDict(["FA"])
# Forceps Minor and Major
afq_bundles = abd.BundleDict(["FA", "FP"])

assert len(afq_bundles) == 1
assert len(afq_bundles) == 2

# Cingulum Hippocampus
# not included but exists in templates
Expand Down

0 comments on commit 7186177

Please sign in to comment.