Skip to content

Commit

Permalink
linter issues
Browse files Browse the repository at this point in the history
Signed-off-by: 1andrin <[email protected]>
  • Loading branch information
1andrin committed Oct 24, 2024
1 parent 61c2dc9 commit 96609df
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions notebooks/RunExperiments/experiment_runner.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
import os
import sys

# Ensure CausalTune is in the Python path
root_path = os.path.realpath("../../../..")
sys.path.append(os.path.join(root_path, "causaltune"))

import pickle
import numpy as np
import matplotlib
Expand All @@ -17,11 +12,14 @@

warnings.filterwarnings("ignore")

from causaltune import CausalTune
from causaltune.datasets import (
load_dataset,
)
from causaltune.models.passthrough import passthrough_model
# Ensure CausalTune is in the Python path
root_path = os.path.realpath("../../../..")
sys.path.append(os.path.join(root_path, "causaltune")) # noqa: E402

# Import CausalTune and other custom modules after setting up the path
from causaltune import CausalTune # noqa: E402
from causaltune.datasets import load_dataset # noqa: E402
from causaltune.models.passthrough import passthrough_model # noqa: E402


def parse_arguments():
Expand Down

0 comments on commit 96609df

Please sign in to comment.