Skip to content

Commit

Permalink
fix: incorrect variable in process data
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlangrose committed Jan 10, 2023
1 parent 5b0b6a2 commit 1776269
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
21 changes: 17 additions & 4 deletions LoopStructural/modelling/core/geological_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def __init__(
# print('tet')
if logfile:
self.logfile = logfile
log_to_file(logfile, loglevel)
log_to_file(logfile, level=loglevel)

logger.info("Initialising geological model")
self.features = []
Expand Down Expand Up @@ -1009,6 +1009,15 @@ def create_and_add_folded_foliation(
-------
feature : GeologicalFeature
created geological feature
Notes
-----
- Building a folded foliation uses the fold interpolation code from Laurent et al., 2016
and fold profile fitting from Grose et al., 2017. For more information about the fold modelling
see :class:`LoopStructural.modelling.features.fold.FoldEvent`,
:class:`LoopStructural.modelling.features.builders.FoldedFeatureBuilder`
"""
if not self.check_inialisation():
return False
Expand Down Expand Up @@ -1073,9 +1082,13 @@ def create_and_add_folded_fold_frame(
with a fold interpolator.
Keyword arguments can be included to constrain
* :meth:`LoopStructural.GeologicalModel.get_interpolator`
* :class:`LoopStructural.StructuralFrameBuilder`
* :meth:`LoopStructural.StructuralFrameBuilder.setup`
- :meth:`LoopStructural.GeologicalModel.get_interpolator`
- :class:`LoopStructural.StructuralFrameBuilder`
- :meth:`LoopStructural.StructuralFrameBuilder.setup`
- Building a folded foliation uses the fold interpolation code from Laurent et al., 2016
and fold profile fitting from Grose et al., 2017. For more information about the fold modelling
see :class:`LoopStructural.modelling.features.fold.FoldEvent`,
:class:`LoopStructural.modelling.features.builders.FoldedFeatureBuilder`
"""
if not self.check_inialisation():
return False
Expand Down
2 changes: 1 addition & 1 deletion LoopStructural/modelling/input/process_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def __init__(
self.fault_properties = fault_properties
elif fault_locations is not None:
self.fault_properties = pd.DataFrame(
self.fault_locations["feature_name"].unique(), columns=["name"]
fault_locations["feature_name"].unique(), columns=["name"]
).set_index("name")

if fault_edges is not None and fault_edge_properties is not None:
Expand Down

0 comments on commit 1776269

Please sign in to comment.