Skip to content

Commit

Permalink
more tweaking order of annotation production
Browse files Browse the repository at this point in the history
  • Loading branch information
sierra-moxon committed Feb 22, 2024
1 parent d298942 commit 9d8c131
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions bin/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -669,16 +669,22 @@ def produce(ctx, group, metadata_dir, gpad, ttl, target, ontology, exclude, base
base_download_url=base_download_url,
replace_existing_files=not skip_existing_files)

end_gaf = mixin_a_dataset(valid_gaf, mixin_metadata_list, group_metadata["id"], dataset, absolute_target,
sans_noctua_gaf = mixin_a_dataset(valid_gaf, mixin_metadata_list, group_metadata["id"], dataset, absolute_target,
ontology_graph, gpipaths=gpi_list, base_download_url=base_download_url,
rule_metadata=rule_metadata, replace_existing_files=not skip_existing_files,
gaf_output_version=gaf_output_version)

make_ttls(dataset, end_gaf, products, ontology_graph)
make_gpads(dataset, sans_noctua_gaf, products, ontology_graph, noctua_gpad_src)

make_gpads(dataset, end_gaf, products, ontology_graph, noctua_gpad_src)
# add noctua gpad to the mix _after_ grabbing its extra extension metadata for the GPAD representation above.
mixin_metadata_list.append(noctua_metadata)

end_gaf = mixin_a_dataset(valid_gaf, mixin_metadata_list, group_metadata["id"], dataset, absolute_target,
ontology_graph, gpipaths=gpi_list, base_download_url=base_download_url,
rule_metadata=rule_metadata, replace_existing_files=not skip_existing_files,
gaf_output_version=gaf_output_version)

make_ttls(dataset, end_gaf, products, ontology_graph)


@cli.command()
Expand Down

0 comments on commit 9d8c131

Please sign in to comment.