projects
/
htsworkflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6ba8b3
)
Be more forgiving about the md5sum filename path
author
Diane Trout
<diane@caltech.edu>
Tue, 8 Oct 2013 23:50:23 +0000
(16:50 -0700)
committer
Diane Trout
<diane@caltech.edu>
Tue, 8 Oct 2013 23:50:23 +0000
(16:50 -0700)
htsworkflow/util/hashfile.py
patch
|
blob
|
history
diff --git
a/htsworkflow/util/hashfile.py
b/htsworkflow/util/hashfile.py
index 2900e76ae3727f0b2182376f666cda4deaf85bd3..af3db764971623b9c3580684ddef2ea90b63ee0c 100644
(file)
--- a/
htsworkflow/util/hashfile.py
+++ b/
htsworkflow/util/hashfile.py
@@
-40,6
+40,8
@@
def make_md5sum_unix(filename, md5_cache):
def parse_md5sum_line(lines, filename):
md5sum, md5sum_filename = lines[0].split()
+ md5sum_filename = os.path.normpath(md5sum_filename)
+ filename = os.path.normpath(filename)
if md5sum_filename != filename:
errmsg = "MD5sum and I disagre about filename. {0} != {1}"
logger.error(errmsg.format(filename, md5sum_filename))