Skip to content

Commit

Permalink
Use canonical URL for ModelArchive
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Oct 13, 2024
1 parent a38c028 commit 018cfea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/associated.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ def _get_zip_scores_files(s):


# Download entry ma-bak-cepc-0944 directly from ModelArchive
url = ("https://www.modelarchive.org/api/projects/"
"ma-bak-cepc-0944?type=basic__model_file_name")
url = "https://www.modelarchive.org/doi/10.5452/ma-bak-cepc-0944.cif"
with urllib.request.urlopen(url) as fh:
s, = modelcif.reader.read(fh)

Expand Down

0 comments on commit 018cfea

Please sign in to comment.