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

Check md5sums for downloaded data #119

Open
aidanheerdegen opened this issue Sep 10, 2015 · 0 comments
Open

Check md5sums for downloaded data #119

aidanheerdegen opened this issue Sep 10, 2015 · 0 comments

Comments

@aidanheerdegen
Copy link
Contributor

Add md5sum check to data download script:

https://github.com/BreakawayLabs/mom/blob/7511f4b964f3a28af6ecc2b3e132a95dc18fa714/data/get_exp_data.py

The md5sums are in the same directory as the data, named same as the datafile with a .md5 appended.
e,g.

-rw-rw----+ 1 nah599 ua8 524743 Jan 22 2015 torus1.output.tar.gz
-rw-r-----+ 1 aph502 ua8 55 Sep 11 09:14 torus1.output.tar.gz.md5

Should be possible to try downloading an .md5, if successful, run md5sum -c md5file

I guess not everyone will have md5sum in their path, but warn them that they should install as data integrity cannot be guaranteed?

Thanks

Aidan

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