-
Notifications
You must be signed in to change notification settings - Fork 1
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
FileNotFoundError: xxx/massradiusEarthlikeRocky.txt not found. #242
Comments
Seems like I need to run $ find . -name '*massradius*'
./fwl_data/mass_radius/Mass-radius/Zeng2019/massradius_50percentH2O_1000K_1mbar.txt
./fwl_data/mass_radius/Mass-radius/Zeng2019/massradius_50percentH2O_500K_1mbar.txt
./fwl_data/mass_radius/Mass-radius/Zeng2019/massradius_100percentH2O_500K_1mbar.txt
./fwl_data/mass_radius/Mass-radius/Zeng2019/massradiusFe.txt
./fwl_data/mass_radius/Mass-radius/Zeng2019/massradius_50percentH2O_300K_1mbar.txt
./fwl_data/mass_radius/Mass-radius/Zeng2019/massradius_100percentH2O_300K_1mbar.txt
./fwl_data/mass_radius/Mass-radius/Zeng2019/massradius_100percentH2O_700K_1mbar.txt
./fwl_data/mass_radius/Mass-radius/Zeng2019/massradiushydrogen.txt
./fwl_data/mass_radius/Mass-radius/Zeng2019/massradiusMaxCollisionStripping.txt
./fwl_data/mass_radius/Mass-radius/Zeng2019/massradiusmgsio3.txt |
I removed the Seems like the download command only checks for the presence of the directory. This seems like an oversight, especially because it fails silently and it isn't documented. |
Is this true for all of the download commands then? Or just this one? |
I don't know, I didn't look at the other ones. |
Oof, there is a lot of room for refactoring the However, checking for every file is also extremely slow. And I believe OSF does not have something like a file index to check against, you must check file-by-file which is a performance killer. |
It might be possible to get this information using the API? |
Actually, this can be done with the osf library that we are already using: here
|
And one other thing: while working on this, it might be a good time to address #206. |
@lsoucasse I don't believe this was fixed. #206 is not a duplicate of this issue. |
Sorry, thought PR #244 fully addressed it. |
Hi all, #220 changes something and now the dummy input fails with:
FileNotFoundError: /home/stef/python/proteus/fwl_data/mass_radius/Mass-radius/Zeng2019/massradiusEarthlikeRocky.txt not found.
I seem to be missing some file, but it is unclear to me how I can get it.
The text was updated successfully, but these errors were encountered: