scprep.io.download.download_google_drive
failing due to google api changes
#132
Labels
scprep.io.download.download_google_drive
failing due to google api changes
#132
A report by Erica in the Help Slack shows that the scprep google drive downloads are breaking in the workshop notebooks. Example:
Fails with
Examining a bit more, we find that the "zip file" downloaded is not a zip file, but a virus scan warning HTML.
A quick stack overflow search reveals that there may be a change in the google drive API.
With a deeper examination, the first response we get no longer has cookies and hence we get
confirm=None
. I suspect this passes current tests as the test file is small enough for google to scan for viruses.Changing the above to the following works. This skips the initial request and just substitutes "confirm=1". However, this may have unintended consequences as we no longer check for confirmation. Perhaps there is a better solution.
The text was updated successfully, but these errors were encountered: