コード例 #1
0
    def get_upload_input_tree(self):

        tree = [{'name': 'data_file', 'type': 'upload', 'required_type': '.gpickle',
                 'label': 'Please select file to import', 'required': True}]

        tree.extend(NetworkxParser.prepare_input_params_tree())
        return tree
コード例 #2
0
    def get_upload_input_tree(self):

        tree = [{'name': 'data_file', 'type': 'upload', 'required_type': '.gpickle',
                 'label': 'Please select file to import', 'required': True}]

        tree.extend(NetworkxParser.prepare_input_params_tree())
        return tree
コード例 #3
0
    def get_upload_input_tree(self):
        """
        Define as input parameter, a CFF archive.
        """
        tree = [{
            'name': 'cff',
            'type': 'upload',
            'required_type': '.cff',
            'label': 'CFF archive',
            'required': True,
            'description': 'Connectome File Format archive expected'
        }]

        tree.extend(
            NetworkxParser.prepare_input_params_tree(prefix="CNetwork: "))

        tree.append({
            'name':
            'should_center',
            'type':
            'bool',
            'default':
            False,
            'label':
            'CSurface: Center surfaces',
            'description':
            'Center surfaces using vertices positions mean along axes'
        })
        return tree
コード例 #4
0
    def get_upload_input_tree(self):
        """
        Define as input parameter, a CFF archive.
        """
        tree = [{'name': 'cff', 'type': 'upload', 'required_type': '.cff',
                 'label': 'CFF archive', 'required': True,
                 'description': 'Connectome File Format archive expected'}]

        tree.extend(NetworkxParser.prepare_input_params_tree(prefix="CNetwork: "))

        tree.append({'name': 'should_center', 'type': 'bool', 'default': False, 'label': 'CSurface: Center surfaces',
                     'description': 'Center surfaces using vertices positions mean along axes'})
        return tree
コード例 #5
0
    def get_upload_input_tree(self):

        tree = [
            {
                "name": "data_file",
                "type": "upload",
                "required_type": ".gpickle",
                "label": "Please select file to import",
                "required": True,
            }
        ]

        tree.extend(NetworkxParser.prepare_input_params_tree())
        return tree