Skip to content

Commit

Permalink
Merge pull request #311 from shoeffner/non-pid
Browse files Browse the repository at this point in the history
Use non-persistentId mode for data file retrieval
  • Loading branch information
mih authored Jul 19, 2024
2 parents 9d51a3f + 0e12f3a commit 8a55062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datalad_dataverse/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def download_file(self, fid: int, path: Path):
# https://github.com/gdcc/pyDataverse/issues/49
# the code below is nevertheless readied for such a
# scenario
response = self.data_access_api.get_datafile(fid)
response = self.data_access_api.get_datafile(fid, is_pid=False)
# http error handling
response.raise_for_status()
with path.open("wb") as f:
Expand Down

0 comments on commit 8a55062

Please sign in to comment.