Skip to content

Commit

Permalink
remove redundant noctua GPAD combination
Browse files Browse the repository at this point in the history
  • Loading branch information
sierra-moxon committed Feb 21, 2024
1 parent 5b05902 commit d298942
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def produce_gaf(dataset, source_gaf, ontology_graph, gpipaths=None, paint=False,


@tools.gzips
def make_products(dataset, gaf_path, products, ontology_graph):
def make_ttls(dataset, gaf_path, products, ontology_graph):
with open(gaf_path) as sg:
lines = sum(1 for line in sg)

Expand Down Expand Up @@ -617,7 +617,7 @@ def produce(ctx, group, metadata_dir, gpad, ttl, target, ontology, exclude, base

paint_metadata = metadata.dataset_metadata_file(absolute_metadata, "paint")
noctua_metadata = metadata.dataset_metadata_file(absolute_metadata, "noctua")
mixin_metadata_list = list(filter(lambda m: m != None, [paint_metadata, noctua_metadata]))
mixin_metadata_list = list(filter(lambda m: m != None, [paint_metadata]))

db_entities = metadata.database_entities(absolute_metadata)
group_ids = metadata.groups(absolute_metadata)
Expand Down Expand Up @@ -674,7 +674,7 @@ def produce(ctx, group, metadata_dir, gpad, ttl, target, ontology, exclude, base
rule_metadata=rule_metadata, replace_existing_files=not skip_existing_files,
gaf_output_version=gaf_output_version)

make_products(dataset, end_gaf, products, ontology_graph)
make_ttls(dataset, end_gaf, products, ontology_graph)

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

Expand Down

0 comments on commit d298942

Please sign in to comment.