CharlesJB / ENCODExplorer

5 stars 4 forks source link

Downloading already existing files will cause an error #29

Closed ericfournier2 closed 7 years ago

ericfournier2 commented 7 years ago

Attempts at downloading a file that has already been downloaded will cause ENCODExplorer to crash.

In short, the path used to calculate the existing file's md5 hash is wrong, which makes the hash value NA. When compared against the ENCODE hash, the resulting value is NA, which makes the if statement raise an exception.