Skip to content

Commit

Permalink
Rename and improve pyoptinterface_based_impl.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KeShih committed Aug 20, 2024
1 parent 363d560 commit c0c636a
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion dingo/MetabolicNetwork.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from typing import Dict
import cobra
from dingo.loading_models import read_json_file, read_mat_file, read_sbml_file, parse_cobra_model
from dingo.pyoptInterface_based_impl import fba,fva,inner_ball,remove_redundant_facets
from dingo.pyoptinterface_based_impl import fba,fva,inner_ball,remove_redundant_facets

class MetabolicNetwork:
def __init__(self, tuple_args):
Expand Down
2 changes: 1 addition & 1 deletion dingo/PolytopeSampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
get_matrices_of_full_dim_polytope,
)

from dingo.pyoptInterface_based_impl import fba,fva,inner_ball,remove_redundant_facets
from dingo.pyoptinterface_based_impl import fba,fva,inner_ball,remove_redundant_facets

from volestipy import HPolytope

Expand Down
2 changes: 1 addition & 1 deletion dingo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from dingo.MetabolicNetwork import MetabolicNetwork
from dingo.PolytopeSampler import PolytopeSampler

from dingo.pyoptInterface_based_impl import fba, fva, inner_ball, remove_redundant_facets, set_default_solver
from dingo.pyoptinterface_based_impl import fba, fva, inner_ball, remove_redundant_facets, set_default_solver

from volestipy import HPolytope

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion dingo/volestipy.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import json
import scipy.io
# ----------------------------------------------------------------------------------

from dingo.pyoptInterface_based_impl import inner_ball
from dingo.pyoptinterface_based_impl import inner_ball

# Set the time
def get_time_seed():
Expand Down
2 changes: 1 addition & 1 deletion tests/fba.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import os
import sys
from dingo import MetabolicNetwork
from dingo.pyoptInterface_based_impl import set_default_solver
from dingo.pyoptinterface_based_impl import set_default_solver

class TestFba(unittest.TestCase):

Expand Down
2 changes: 1 addition & 1 deletion tests/full_dimensional.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import os
import sys
from dingo import MetabolicNetwork, PolytopeSampler
from dingo.pyoptInterface_based_impl import set_default_solver
from dingo.pyoptinterface_based_impl import set_default_solver

class TestFullDim(unittest.TestCase):

Expand Down
2 changes: 1 addition & 1 deletion tests/max_ball.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import scipy
import numpy as np
from dingo import MetabolicNetwork, PolytopeSampler
from dingo.pyoptInterface_based_impl import inner_ball, set_default_solver
from dingo.pyoptinterface_based_impl import inner_ball, set_default_solver
from dingo.scaling import gmscale


Expand Down
2 changes: 1 addition & 1 deletion tests/rounding.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import sys
import numpy as np
from dingo import MetabolicNetwork, PolytopeSampler
from dingo.pyoptInterface_based_impl import set_default_solver
from dingo.pyoptinterface_based_impl import set_default_solver

def test_rounding(self, method_str):

Expand Down
2 changes: 1 addition & 1 deletion tests/sampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import os
import sys
from dingo import MetabolicNetwork, PolytopeSampler
from dingo.pyoptInterface_based_impl import set_default_solver
from dingo.pyoptinterface_based_impl import set_default_solver


class TestSampling(unittest.TestCase):
Expand Down
2 changes: 1 addition & 1 deletion tests/sampling_no_multiphase.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import os
import sys
from dingo import MetabolicNetwork, PolytopeSampler
from dingo.pyoptInterface_based_impl import set_default_solver
from dingo.pyoptinterface_based_impl import set_default_solver


class TestSampling(unittest.TestCase):
Expand Down
2 changes: 1 addition & 1 deletion tests/scaling.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import numpy as np
from dingo import MetabolicNetwork
from dingo.scaling import gmscale
from dingo.pyoptInterface_based_impl import set_default_solver
from dingo.pyoptinterface_based_impl import set_default_solver


class TestScaling(unittest.TestCase):
Expand Down

0 comments on commit c0c636a

Please sign in to comment.