Skip to content
Permalink
Browse files
fix: obtaining conda prefix when using in combination with singularity (
  • Loading branch information
johanneskoester committed Mar 30, 2022
1 parent 92887a3 commit 99b22d33f2100a7e4cf2d080a2272959a712d055
Showing 1 changed file with 3 additions and 1 deletion.
@@ -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

0 comments on commit 99b22d3

Please sign in to comment.