Skip to content

Commit

Permalink
Merge pull request #7 from sirno/iterable_import_fix
Browse files Browse the repository at this point in the history
Fix Iterable imports in all places.
  • Loading branch information
cdanielmachado authored Dec 20, 2021
2 parents fa91f99 + ea95201 commit 15a52a9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion reframed/cobra/transcriptomics.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from .simulation import FBA, pFBA
from math import inf
from numpy import percentile
from collections import Iterable
from collections.abc import Iterable


def marge(model, expr_a=None, expr_b=None, rel_expr=None, constraints_a=None, constraints_b=None,
Expand Down
2 changes: 1 addition & 1 deletion reframed/solvers/cplex_solver.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

from collections import Iterable
from collections.abc import Iterable
from .solver import Solver, VarType, Parameter, default_parameters
from .solution import Solution, Status
from cplex import Cplex, infinity, SparsePair
Expand Down
2 changes: 1 addition & 1 deletion reframed/solvers/gurobi_solver.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from collections import Iterable
from collections.abc import Iterable
from .solver import Solver, VarType, Parameter, default_parameters
from .solution import Solution, Status
from gurobipy import Model as GurobiModel, GRB, quicksum
Expand Down
2 changes: 1 addition & 1 deletion reframed/solvers/optlang_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from .solution import Solution, Status
from math import inf
from warnings import warn
from collections import Iterable
from collections.abc import Iterable


status_mapping = {
Expand Down

0 comments on commit 15a52a9

Please sign in to comment.