Skip to content

Commit

Permalink
Merge pull request #695 from biolink/handle_gpi
Browse files Browse the repository at this point in the history
rewrite gpi path to use provide GPI if provided, and create if needed
  • Loading branch information
sierra-moxon authored Sep 14, 2024
2 parents a0e6947 + 840a195 commit 63e2aed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,9 @@ def produce(ctx, group, metadata_dir, gpad, gpad_gpi_output_version, ttl, target
click.echo("temp_output_gaf_path: {}".format(temp_output_gaf_path))
click.echo("matching_gpi_path: {}".format(gpi))

isoform_fixed_gaf = fix_pro_isoforms_in_gaf(end_gaf, gpi, ontology_graph, temp_output_gaf_path)
if matching_gpi_path is None:
matching_gpi_path = gpi
isoform_fixed_gaf = fix_pro_isoforms_in_gaf(end_gaf, matching_gpi_path, ontology_graph, temp_output_gaf_path)
click.echo("isoform_fixed_gaf: {}".format(isoform_fixed_gaf))

final_output_gaf_path = os.path.join(os.path.split(end_gaf)[0], "{}.gaf".format(dataset))
Expand Down

0 comments on commit 63e2aed

Please sign in to comment.