Skip to content

Commit

Permalink
cleanup imports
Browse files Browse the repository at this point in the history
  • Loading branch information
pagmatt committed Sep 19, 2024
1 parent 6a39f0a commit a1fae0d
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 13 deletions.
3 changes: 0 additions & 3 deletions sem/conditionalrunner.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
from multiprocessing import Pool, Queue, Lock, Array, cpu_count
import queue
import copy
import numpy as np
from copy import deepcopy
import itertools
from tqdm import tqdm


Expand Down
3 changes: 1 addition & 2 deletions sem/lptrunner.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
from .runner import SimulationRunner
from multiprocessing import Pool, Queue, Lock, Array, cpu_count
from multiprocessing import Pool, Queue, Lock, Array
import queue
import numpy as np
from copy import deepcopy
import itertools


def have_same_combination(dict1, dict2):
Expand Down
3 changes: 0 additions & 3 deletions sem/manager.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import collections
import gc
import os
import shutil
from copy import deepcopy
Expand All @@ -16,9 +15,7 @@

from .database import DatabaseManager
from .lptrunner import LptRunner
from .parallelrunner import ParallelRunner
from .conditionalrunner import ConditionalRunner
from .runner import SimulationRunner
from .utils import DRMAA_AVAILABLE, list_param_combinations
import pandas as pd

Expand Down
1 change: 0 additions & 1 deletion sem/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import uuid
import sem.utils
import sys
from importlib.machinery import SourceFileLoader
import types
from .utils import CallbackBase

Expand Down
5 changes: 1 addition & 4 deletions sem/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,11 @@
import math
import copy
import warnings
from itertools import product
from functools import wraps
from abc import ABC, abstractmethod
from typing import Dict, Any

import matplotlib.pyplot as plt
import numpy as np
import numpy.core.numeric as nx
import numpy._core.numeric as nx
import SALib.analyze.sobol
import SALib.sample.saltelli

Expand Down

0 comments on commit a1fae0d

Please sign in to comment.