Skip to content

Commit

Permalink
fix: Replaced pathlib relative_to with os.relpath (#1505)
Browse files Browse the repository at this point in the history
* fix: Replaced pathlib relative_to with os.relpath

* Formatted with black
  • Loading branch information
Christian-Heyer committed Mar 23, 2022
1 parent 62024e2 commit dc65e29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snakemake/deployment/conda.py
Expand Up @@ -306,7 +306,7 @@ def execute_deployment_script(self, env_file, deploy_file):
)
logger.info(
"Running post-deploy script {}...".format(
Path(deploy_file).relative_to(os.getcwd())
os.path.relpath(path=deploy_file, start=os.getcwd())
)
)
conda = Conda(self._container_img)
Expand Down

0 comments on commit dc65e29

Please sign in to comment.