Skip to content

Commit

Permalink
Cleaned written .phantom files from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cncastillo committed Jul 3, 2024
1 parent 3128e9f commit 7a5e493
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@ examples/5.koma_paper/comparison_accuracy/**/*.mrd
examples/5.koma_paper/mrf/**/*.mrd
examples/5.koma_paper/comparison_accuracy/**/*.mat
examples/5.koma_paper/comparison_accuracy/**/*.h5
!examples/5.koma_paper/Manifest.toml
!examples/5.koma_paper/Manifest.toml
*_w.phantom
6 changes: 3 additions & 3 deletions KomaMRIFiles/test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ using TestItems, TestItemRunner
using KomaMRIBase
path = @__DIR__
# NoMotion
filename = path * "/test_files/brain_nomotion.phantom"
filename = path * "/test_files/brain_nomotion_w.phantom"
obj1 = brain_phantom2D()
write_phantom(obj1, filename)
obj2 = read_phantom(filename)
Expand All @@ -62,7 +62,7 @@ using TestItems, TestItemRunner
@testset "SimpleMotion" begin
# SimpleMotion
path = @__DIR__
filename = path * "/test_files/brain_simplemotion.phantom"
filename = path * "/test_files/brain_simplemotion_w.phantom"
obj1 = brain_phantom2D()
obj1.motion = SimpleMotion(
PeriodicRotation(
Expand All @@ -85,7 +85,7 @@ using TestItems, TestItemRunner
@testset "ArbitraryMotion" begin
# ArbitraryMotion
path = @__DIR__
filename = path * "/test_files/brain_arbitrarymotion.phantom"
filename = path * "/test_files/brain_arbitrarymotion_w.phantom"
obj1 = brain_phantom2D()
Ns = length(obj1)
K = 10
Expand Down
Binary file not shown.
Binary file removed KomaMRIFiles/test/test_files/brain_nomotion.phantom
Binary file not shown.
Binary file not shown.

0 comments on commit 7a5e493

Please sign in to comment.