<commit_before>from nipype.interfaces.base import File, traits
from nipype.interfaces import ants

class ANTSInputSpecRPT(ants.ANTSInputSpec):
    generate_report = traits.Bool(
        desc="Set to true to enable report generation for node"
    )

class ANTSOutputSpecRPT(ants.ANTSOutputSpec):
    html_report = File(desc="Filename of report generated by node")

class ANTSRPT(ants.ANTS):

    input_spec = ANTSInputSpecRPT
    output_spec = ANTSOutputSpecRPT

    def _generate_report(self):
        raise NotImplementedError<commit_msg>Added a few FSL interfaces to the overloaded interfaces in interfaces/reports.py<commit_after>from nipype.interfaces.base import File, traits
from nipype.interfaces import ants, fsl


class ANTSInputSpecRPT(ants.ANTSInputSpec):
    generate_report = traits.Bool(
        desc="Set to true to enable report generation for node"
    )

class ANTSOutputSpecRPT(ants.ANTSOutputSpec):
    html_report = File(desc="Filename of report generated by node")

class ANTSRPT(ants.ANTS):
    input_spec = ANTSInputSpecRPT
    output_spec = ANTSOutputSpecRPT

    def _generate_report(self):
        raise NotImplementedError


class FASTInputSpecRPT(fsl.FASTInputSpec):
    generate_report = traits.Bool(
        desc="Set to true to enable report generation for node"
    )

class FASTOutputSpecRPT(fsl.FASTOutputSpec):
    html_report = File(desc="Filename of report generated by node")

class FASTRPT(fsl.FAST):
    input_spec = FASTInputSpecRPT
    output_spec = FASTOutputSpecRPT

    def _generate_report(self):
        raise NotImplementedError


class BETInputSpecRPT(fsl.BETInputSpec):
    generate_report = traits.Bool(
        desc="Set to true to enable report generation for node"
    )

class BETOutputSpecRPT(fsl.BETOutputSpec):
    html_report = File(desc="Filename of report generated by node")

class BETRPT(fsl.BET):
    input_spec = BETInputSpecRPT
    output_spec = BETOutputSpecRPT

    def _generate_report(self):
        raise NotImplementedError


class FASTInputSpecRPT(fsl.FASTInputSpec):
    generate_report = traits.Bool(
        desc="Set to true to enable report generation for node"
    )

class FASTOutputSpecRPT(fsl.FASTOutputSpec):
    html_report = File(desc="Filename of report generated by node")

class FASTRPT(fsl.FAST):
    input_spec = FASTInputSpecRPT
    output_spec = FASTOutputSpecRPT

    def _generate_report(self):
        raise NotImplementedError


class FLIRTInputSpecRPT(fsl.FLIRTInputSpec):
    generate_report = traits.Bool(
        desc="Set to true to enable report generation for node"
    )

class FLIRTOutputSpecRPT(fsl.FLIRTOutputSpec):
    html_report = File(desc="Filename of report generated by node")

class FLIRTRPT(fsl.FLIRT):
    input_spec = FLIRTInputSpecRPT
    output_spec = FLIRTOutputSpecRPT

    def _generate_report(self):
        raise NotImplementedError


{'fraction_non_alphanumeric': 0.06888111888111888, 'fraction_numerical': 0.0, 'mean_word_length': 4.164259927797834, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1758789', 'n_tokens_mistral': 910, 'n_tokens_neox': 879, 'n_words': 220}