Skip to content

Commit

Permalink
add workflow revision to pull proc
Browse files Browse the repository at this point in the history
  • Loading branch information
phue committed Jun 28, 2024
1 parent 433b20b commit 109eabb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions nextflowspawner/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def _default_schema(self):

try:
run(
args=['nextflow', 'pull', self.workflow_url],
args=['nextflow', 'pull', self.workflow_url, '-r', self.workflow_revision],
check=True,
user=self.user.name,
cwd=self.home_dir,
Expand Down Expand Up @@ -162,6 +162,6 @@ def get_env(self):
env = super().get_env()
env['NXF_HOME'] = self.nxf_home
env['NXF_USER_WORKFLOW'] = self.workflow_url
env['NXF_USER_revision'] = self.workflow_revision
env['NXF_USER_REVISION'] = self.workflow_revision
env['NXF_USER_PARAMS'] = self._write_params_file(self.user_options)
return env
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setuptools.setup(
name="nextflowspawner",
version='0.7.1',
version='0.7.2',
url="https://github.com/phue/nextflowspawner",
description="Spawn Nextflow pipelines from Jupyterhub and configure them interactively",
author="Patrick Hüther",
Expand Down

0 comments on commit 109eabb

Please sign in to comment.