-
Notifications
You must be signed in to change notification settings - Fork 15
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 attribute error in read_checks function #17
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
I'm not super familiar with nbdev, so if there's anything about the process I should have done differently please let me know. I looked at both:
...but I don't think I had things working properly (for example, running |
|
I have the same issue, can you take a look @jph00 |
Many thanks @GenevieveBuckley ! |
@jph00 Just wanted to note that the latest version of For interest sake, I'm currently working around it by installing from GitHub (pinned to the latest commit): pip install git+https://github.com/fastai/fastdownload.git@2ec6563fef7c92ea975871c8cbcea1a0b02917a1 |
Oh sorry @seeM my bad! Thanks for letting me know. Just pushed a release. |
Thank you, very much appreciated. I really love the library! It's such a pleasure to use 😌 |
Closes #11
I tried the first example on the fastdownload README page, using the url of one of the standard fastai datasets available on S3. It raised an attribute error, because variable
fmod
was an empty dictionary instead of the expected pathlib object.This PR avoids that error, by checking whether
fmod
is an empty dictionary before continuing.