Skip to content

Commit

Permalink
fix testing unit test action
Browse files Browse the repository at this point in the history
  • Loading branch information
fullbat committed Mar 14, 2024
1 parent 5ee59b0 commit 240ba92
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/test_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def run_commit_StickZeppelinBall(local_path):
mit.set_threads()
mit.build_operator()

mit.fit( tol_fun=1e-3, max_iter=1000 )
mit.fit( tol_fun=1e-3, max_iter=1000, verbose=False )
mit.save_results()


Expand All @@ -53,7 +53,7 @@ def run_commit_BallandStick(local_path):

amico.util.fsl2scheme( os.path.join( local_path, 'bvals.txt'), os.path.join( local_path, 'bvecs.txt'), os.path.join( local_path, 'DWI.scheme') )

mit = commit.Evaluation( '.', '.' )
mit = commit.Evaluation( local_path, '.' )
mit.load_data( os.path.join( local_path, 'DWI.nii.gz'), os.path.join( local_path, 'DWI.scheme') )

mit.set_model( 'StickZeppelinBall' )
Expand All @@ -69,7 +69,7 @@ def run_commit_BallandStick(local_path):
mit.set_threads()
mit.build_operator()

mit.fit( tol_fun=1e-3, max_iter=1000 )
mit.fit( tol_fun=1e-3, max_iter=1000, verbose=False )
mit.save_results()


Expand All @@ -84,7 +84,7 @@ def run_commit_VolumeFractions(local_path):

amico.util.fsl2scheme( os.path.join( local_path, 'bvals.txt'), os.path.join( local_path, 'bvecs.txt'), os.path.join( local_path, 'DWI.scheme') )

mit = commit.Evaluation( '.', '.' )
mit = commit.Evaluation( local_path, '.' )
mit.load_data( os.path.join( local_path, 'DWI.nii.gz'), os.path.join( local_path, 'DWI.scheme') )

mit.set_model( 'StickZeppelinBall' )
Expand All @@ -100,7 +100,7 @@ def run_commit_VolumeFractions(local_path):
mit.set_threads()
mit.build_operator()

mit.fit( tol_fun=1e-3, max_iter=1000 )
mit.fit( tol_fun=1e-3, max_iter=1000, verbose=False)
mit.save_results()


Expand Down

0 comments on commit 240ba92

Please sign in to comment.