Skip to content

Commit

Permalink
root fix
Browse files Browse the repository at this point in the history
  • Loading branch information
meandmytram committed Nov 30, 2024
1 parent 1b54494 commit 5ce46a1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions examples/random_circuit/mps-rand-circ.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,10 @@
logger = logging.getLogger(__name__)

# Append paths using environment variables or hardcoded fallbacks
project_root = os.getenv(
"MDOPT_PATH", "/home/bereza/projects/def-ko1/bereza/project-mdopt/mdopt"
)
project_root = os.getenv("MDOPT_PATH", "/home/bereza/projects/def-ko1/bereza/mdopt")
examples_path = os.getenv(
"MDOPT_EXAMPLES_PATH",
"/home/bereza/projects/def-ko1/bereza/project-mdopt/mdopt/examples",
"/home/bereza/projects/def-ko1/bereza/mdopt/examples",
)

sys.path.append(project_root)
Expand Down

0 comments on commit 5ce46a1

Please sign in to comment.