def test_SimpleBeforeAfterRPT(reference, moving): """ the SimpleBeforeAfterRPT report capable test """ flirt_rpt = FLIRTRPT(generate_report=False, in_file=moving, reference=reference) ba_rpt = SimpleBeforeAfterRPT(generate_report=True, before=reference, after=flirt_rpt.run().outputs.out_file) _smoke_test_report(ba_rpt, 'test_SimpleBeforeAfterRPT.svg')
def test_SimpleBeforeAfterRPT(reference, moving): """ the SimpleBeforeAfterRPT report capable test """ flirt_rpt = FLIRTRPT(generate_report=False, in_file=moving, reference=reference) ba_rpt = SimpleBeforeAfterRPT( generate_report=True, before=reference, after=flirt_rpt.run().outputs.out_file ) _smoke_test_report(ba_rpt, 'test_SimpleBeforeAfterRPT.svg')
def test_ApplyXFMRPT(self): """ the ApplyXFM report capable test """ flirt_rpt = FLIRTRPT(generate_report=False, in_file=self.moving, reference=self.reference) applyxfm_rpt = ApplyXFMRPT( generate_report=True, in_file=self.moving, in_matrix_file=flirt_rpt.run().outputs.out_matrix_file, reference=self.reference, apply_xfm=True) _smoke_test_report(applyxfm_rpt, 'testApplyXFM.svg')
def test_ApplyXFMRPT(reference, moving): """ the ApplyXFM report capable test """ flirt_rpt = FLIRTRPT(generate_report=False, in_file=moving, reference=reference) applyxfm_rpt = ApplyXFMRPT( generate_report=True, in_file=moving, in_matrix_file=flirt_rpt.run().outputs.out_matrix_file, reference=reference, apply_xfm=True ) _smoke_test_report(applyxfm_rpt, 'testApplyXFM.svg')