Exemple #1
0
def main():
    logger.debug(" create_term_examples")
    create_term_examples.main()
    logger.debug(" create_spm_example")
    create_spm_example.main()
    logger.debug(" create_spm_example_001")
    create_spm_example_001.main()
    logger.debug(" create_spm_example_002")
    create_spm_example_002.main()
    logger.debug(" create_spm_example_003")
    create_spm_example_003.main()
    logger.debug(" create_spm_example_004")
    create_spm_example_004.main()
    logger.debug(" create_spm_example_005")
    create_spm_example_005.main()
    logger.debug(" create_fsl_example")
    create_fsl_example.main()
    logger.debug(" create_fsl_example_001")
    create_fsl_example_001.main()
    logger.debug(" create_fsl_example_002")
    create_fsl_example_002.main()
    logger.debug(" create_fsl_example_003")
    create_fsl_example_003.main()
    logger.debug(" create_minimal_examples")
    create_minimal_examples.main()
Exemple #2
0
def main():
	logger.debug(" create_term_examples")
	create_term_examples.main()
	logger.debug(" create_spm_example")
	create_spm_example.main()
	logger.debug(" create_spm_example_001")
	create_spm_example_001.main()
	logger.debug(" create_spm_example_002")
	create_spm_example_002.main()
	logger.debug(" create_spm_example_003")
	create_spm_example_003.main()
	logger.debug(" create_spm_example_004")
	create_spm_example_004.main()
	logger.debug(" create_spm_example_005")
	create_spm_example_005.main()
	logger.debug(" create_fsl_example")
	create_fsl_example.main()
	logger.debug(" create_fsl_example_001")
	create_fsl_example_001.main()
	logger.debug(" create_fsl_example_002")
	create_fsl_example_002.main()
	logger.debug(" create_fsl_example_003")
	create_fsl_example_003.main()
	logger.debug(" create_minimal_examples")
	create_minimal_examples.main()	
Exemple #3
0
    def test_fsl_results(self):
        example_file = os.path.join(NIDM_RESULTS_DIR, "fsl", "fsl_results.ttl")

        current_graph, fsl_current = self._parse_graph(example_file)
        create_fsl_example.main()
        updated_graph, unused = self._parse_graph(example_file, fsl_current)

        found_difference = self._compare_graphs(current_graph, updated_graph)

        if found_difference:
            raise Exception(
                "fsl_results.ttl is not up to date with templates. \
                Please use nidm/nidm-results/scripts/create_fsl_examples.py.")
    def test_fsl_results(self):
        example_file = os.path.join(NIDM_RESULTS_DIR, "fsl", "fsl_results.ttl")

        current_graph, fsl_current = self._parse_graph(example_file)
        create_fsl_example.main()
        updated_graph, unused = self._parse_graph(example_file, fsl_current)


        found_difference = self._compare_graphs(current_graph, updated_graph)


        if found_difference:
            raise Exception("fsl_results.ttl is not up to date with templates. \
                Please use nidm/nidm-results/scripts/create_fsl_examples.py.")