Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@

#### Tools helper code
* Drop [nf-core/rnaseq](https://github.com/nf-core/rnaseq]) from `blacklist.json` to make template sync available
* Fix bug in `nf-core download` so that it now fetches the latest release by default
* Fix bugs in `nf-core download`
* The _latest_ release is now fetched by default if not specified
* Downloaded pipeline files are now properly executable

## [v1.5](https://github.com/nf-core/tools/releases/tag/1.5) - 2019-03-13 Iron Shark

Expand Down
5 changes: 5 additions & 0 deletions nf_core/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,11 @@ def download_wf_files(self):
gh_name = '{}-{}'.format(self.wf_name, self.wf_sha).split('/')[-1]
os.rename(os.path.join(self.outdir, gh_name), os.path.join(self.outdir, 'workflow'))

# Make downloaded files executable
for dirpath, subdirs, filelist in os.walk(os.path.join(self.outdir, 'workflow')):
for fname in filelist:
os.chmod(os.path.join(dirpath, fname), 0o775)

def find_container_images(self):
""" Find container image names for workflow """

Expand Down