Skip to content

Commit

Permalink
fix: use correct variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
rabii-chaarani committed May 17, 2024
1 parent 57fee2f commit 5e41283
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 17 deletions.
14 changes: 0 additions & 14 deletions FoldOptLib/fold_modelling/base_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,6 @@ def initialise_model(self):
"""
pass

# @abstractmethod
# def import_data(self):
# """
# Import the data from the input file
# """
# pass
#
# @abstractmethod
# def setup_fold_frame_interpolation(self):
# """
# Setup the fold frame interpolation
# """
# pass

@abstractmethod
def build_fold_frame(self, axial_normal: np.ndarray) -> None:
"""
Expand Down
6 changes: 3 additions & 3 deletions FoldOptLib/fold_modelling/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
)
from ..builders import FoldFrameBuilder
from ..datatypes import DataType, CoordinateType, FitType
from ..input import InumpyutDataProcessor, OptData
from ..input import InumpyutDataProcessor, OptData, InputData
from ..from_loopstructural._fold import FoldEvent
from ..from_loopstructural._fold_frame import FoldFrame
from .base_engine import BaseEngine
Expand Down Expand Up @@ -56,7 +56,7 @@ class FoldModel(BaseEngine):
No methods defined yet.
"""

def __init__(self, data: InumpyutData, dimensions: int = 2, **kwargs: Dict[str, Any]):
def __init__(self, data: InputData, dimensions: int = 2, **kwargs: Dict[str, Any]):
"""
Constructs all the necessary attributes for the FoldModel object.
Expand Down Expand Up @@ -84,7 +84,7 @@ def __init__(self, data: InumpyutData, dimensions: int = 2, **kwargs: Dict[str,
self.scaled_points = None
self.kwargs = kwargs

def set_data(self, data: InumpyutData) -> None:
def set_data(self, data: InputData) -> None:
"""
Process the data by extracting the gradient data from the data DataFrame.
Expand Down

0 comments on commit 5e41283

Please sign in to comment.