From a2763f904b77c5eade07289265df666dab9ea43c Mon Sep 17 00:00:00 2001 From: frheault Date: Tue, 10 Oct 2023 13:10:23 -0400 Subject: [PATCH] Extra loading post to_vox() --- trx/tests/test_io.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/trx/tests/test_io.py b/trx/tests/test_io.py index c30b338..5908e4f 100644 --- a/trx/tests/test_io.py +++ b/trx/tests/test_io.py @@ -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):