Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: obtaining conda prefix when using in combination with singularity (
  • Loading branch information
johanneskoester committed Mar 30, 2022
1 parent 92887a3 commit 99b22d3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion snakemake/deployment/conda.py
Expand Up @@ -564,7 +564,9 @@ def __init__(self, container_img=None, prefix_path=None):

if prefix_path is None or container_img is not None:
self.prefix_path = json.loads(
shell.check_output(self._get_cmd("conda info --json"))
shell.check_output(
self._get_cmd("conda info --json"), universal_newlines=True
)
)["conda_prefix"]
else:
self.prefix_path = prefix_path
Expand Down

0 comments on commit 99b22d3

Please sign in to comment.