Skip to content

Commit

Permalink
Delete to fsl tests as not implemented
Browse files Browse the repository at this point in the history
  • Loading branch information
anroy1 committed Sep 4, 2024
1 parent e4ba4d0 commit a318861
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 120 deletions.
104 changes: 0 additions & 104 deletions modules/nf-scil/registration/convert/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -121,60 +121,6 @@ nextflow_process {
}
}

// FSL output not fully implemented in mri_warp_convert

// test("registration - convert - fsfsl") {

// config "./nextflow_fsfsl.config"

// when {
// process {
// """
// input[0] = LOAD_DATA.out.test_data_directory.map{
// test_data_directory -> [
// ch_split_test_data = LOAD_DATA.out.test_data_directory
// .branch{
// freesurfer: it.simpleName == "freesurfer"
// reslice: it.simpleName == "freesurfer_reslice"
// transforms: it.simpleName == "freesurfer_transforms"
// }
// ch_transforms = ch_split_test_data.transforms.map{
// test_data_directory -> [
// [ id:'test' ],
// file("\${test_data_directory}/fs_deform.nii.gz"),
// file("\${test_data_directory}/fs_affine.lta")
// ]
// }
// ch_reslice = ch_split_test_data.reslice.map{
// test_data_directory -> [
// [ id:'test' ],
// file("\${test_data_directory}/t1_reslice.nii.gz"),
// file("\${test_data_directory}/fa_reslice.nii.gz")
// ]
// }
// ch_freesurfer = ch_split_test_data.freesurfer.map{
// test_data_directory -> [
// [ id:'test' ],
// file("\${test_data_directory}/license.txt")
// ]
// }
// input[0] = ch_transforms
// .join(ch_reslice)
// .join(ch_freesurfer)
// ]
// }
// """
// }
// }

// then {
// assertAll(
// { assert process.success },
// { assert snapshot(process.out).match() }
// )
// }
// }

test("registration - convert - fslfs") {

config "./nextflow_fslfs.config"
Expand Down Expand Up @@ -318,54 +264,4 @@ nextflow_process {
)
}
}

// FSL output not fully implemented in mri_warp_convert

// test("registration - convert - antsfsl") {

// config "./nextflow_antsfsl.config"

// when {
// process {
// """
// ch_split_test_data = LOAD_DATA.out.test_data_directory
// .branch{
// freesurfer: it.simpleName == "freesurfer"
// reslice: it.simpleName == "freesurfer_reslice"
// transforms: it.simpleName == "freesurfer_transforms"
// }
// ch_transforms = ch_split_test_data.transforms.map{
// test_data_directory -> [
// [ id:'test' ],
// file("\${test_data_directory}/ants_deform.nii.gz"),
// file("\${test_data_directory}/ants_affine.lta")
// ]
// }
// ch_reslice = ch_split_test_data.reslice.map{
// test_data_directory -> [
// [ id:'test' ],
// file("\${test_data_directory}/t1_reslice.nii.gz"),
// file("\${test_data_directory}/fa_reslice.nii.gz")
// ]
// }
// ch_freesurfer = ch_split_test_data.freesurfer.map{
// test_data_directory -> [
// [ id:'test' ],
// file("\${test_data_directory}/license.txt")
// ]
// }
// input[0] = ch_transforms
// .join(ch_reslice)
// .join(ch_freesurfer)
// """
// }
// }

// then {
// assertAll(
// { assert process.success },
// { assert snapshot(process.out).match() }
// )
// }
// }
}

This file was deleted.

This file was deleted.

0 comments on commit a318861

Please sign in to comment.