Skip to content

Commit

Permalink
Extra loading post to_vox()
Browse files Browse the repository at this point in the history
  • Loading branch information
frheault committed Oct 10, 2023
1 parent eef43ba commit a2763f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions trx/tests/test_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ def test_close_tmp_file(path):
sft.to_vox()
assert_allclose(sft.streamlines._data, coord_vox, rtol=1e-04, atol=1e-06)

trx3 = tmm.load(path)
assert_allclose(trx3.streamlines._data, coord_rasmm, rtol=1e-04, atol=1e-06)
trx3.close()

@pytest.mark.parametrize("tmp_path", [("~"), ("use_working_dir")])
def test_change_tmp_dir(tmp_path):
Expand Down

0 comments on commit a2763f9

Please sign in to comment.