Skip to content

Commit

Permalink
Use the Alliance API for GO-CAM details
Browse files Browse the repository at this point in the history
Refs #1177
  • Loading branch information
kimrutherford committed Sep 11, 2024
1 parent 40db0c2 commit 2077ae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/generate_gocam_data_files.pl
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ sub get_process_terms

print "requesting details of $gocam_id from API\n";

$request = HTTP::Request->new(GET => "https://api.geneontology.org/api/go-cam/$gocam_id");
$request = HTTP::Request->new(GET => "https://api.geneontology.xyz/gocam/gomodel:$gocam_id/raw");
$request->header("accept" => "application/json");
$request->header("user-agent" => "evil");
$response = $ua->request($request);
Expand Down

0 comments on commit 2077ae1

Please sign in to comment.