Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix fermi_hubbard/publication_test by updating datadryad download URLs since they appear to have changed #166

Merged
merged 10 commits into from
Apr 28, 2021
8 changes: 4 additions & 4 deletions recirq/fermi_hubbard/publication.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,10 @@ def fetch_publication_data(

base_url = "https://datadryad.org/stash/downloads/file_stream/"
data = {
"gaussians_1u1d_nofloquet": "706210",
"gaussians_1u1d": "706211",
"trapping_2u2d": "706212",
"trapping_3u3d": "706213"
"gaussians_1u1d_nofloquet": "451326",
"gaussians_1u1d": "451327",
"trapping_2u2d": "451328",
"trapping_3u3d": "451329"
Comment on lines +244 to +247
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a bummer these aren't permanent identifiers. I reached out to dryad help and they essentially said the only thing permanent is the dataset DOI. So a long-term fix will probably need to locate files from the DOI instead of from /stash/downloads/file_stream.

}
if exclude is not None:
data = {path: key for path, key in data.items() if path not in exclude}
Expand Down