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()
def test_spm_results(self): example_file = os.path.join(NIDM_RESULTS_DIR, "spm", "spm_results.ttl") current_graph, spm_current = self._parse_graph(example_file) create_spm_example.main() updated_graph, unused = self._parse_graph(example_file, spm_current) found_difference = self._compare_graphs(current_graph, updated_graph) if found_difference: raise Exception( "spm_results.ttl is not up to date with templates. \ Please use nidm/nidm-results/scripts/create_spm_examples.py.")
def test_spm_results(self): example_file = os.path.join(NIDM_RESULTS_DIR, "spm", "spm_results.ttl") current_graph, spm_current = self._parse_graph(example_file) create_spm_example.main() updated_graph, unused = self._parse_graph(example_file, spm_current) found_difference = self._compare_graphs(current_graph, updated_graph) if found_difference: raise Exception("spm_results.ttl is not up to date with templates. \ Please use nidm/nidm-results/scripts/create_spm_examples.py.")