Skip to content

Commit

Permalink
fix: 🐛 Fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rhoadesScholar committed Mar 9, 2024
1 parent 3159a66 commit 0db2617
Show file tree
Hide file tree
Showing 3 changed files with 243 additions and 235 deletions.
5 changes: 5 additions & 0 deletions dacapo/compute_context/compute_context.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
from abc import ABC, abstractmethod
import os
import subprocess
import sys

from dacapo import Options, compute_context

Expand All @@ -20,6 +22,9 @@ def wrap_command(self, command):

def execute(self, command):
# A helper method to run a command in the context specific way.

# add pythonpath to the environment
os.environ["PYTHONPATH"] = sys.executable
subprocess.run(self.wrap_command(command))


Expand Down
Loading

0 comments on commit 0db2617

Please sign in to comment.