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

auto_unzip option is not available #53

Closed
davetromp opened this issue Sep 11, 2023 · 0 comments
Closed

auto_unzip option is not available #53

davetromp opened this issue Sep 11, 2023 · 0 comments

Comments

@davetromp
Copy link
Contributor

From the documentation I understand the following:

Some services like Zenodo don't offer an option to preserve folder structures. Therefore, the content is often zipped before being uploaded to the service. In this case, Datahugger will unzip the file to the output folder by default.

Disable auto unzip function

datahugger.get("10.5061/dryad.x3ffbg7m8", "data", auto_unzip=False)

The auto_unzip parameter is no longer in the code. I do see that the unzip parameter can be set, but is is not used to skip the unzip process.

So:
datahugger.get("10.5061/dryad.x3ffbg7m8", "data", auto_unzip=False)
also does not skip the unzip process.

We would need to change the code so it takes into account the unzip parameter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant