diff --git a/nextflowspawner/__init__.py b/nextflowspawner/__init__.py index ea29916..d56289b 100644 --- a/nextflowspawner/__init__.py +++ b/nextflowspawner/__init__.py @@ -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, @@ -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 diff --git a/setup.py b/setup.py index 2551627..fe51431 100644 --- a/setup.py +++ b/setup.py @@ -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",