SciLifeLab / bcbb

Useful bioinformatics code, primarily in Python and R
http://bcbio.wordpress.com
10 stars 11 forks source link

Hot fix: Merge mfs_dir with basename, not with absolute path #283

Closed guillermo-carrasco closed 10 years ago

guillermo-carrasco commented 10 years ago

dname is an absolute path, therefore when doing:

    os.path.join(config.get('mfs_dir'), dname)

As both mfs_dir and dname are absolute paths, os.path.join was returning the second argument. So I was rsynching to the same location, not to MooseFS.