diff --git a/LoopStructural/modelling/core/geological_model.py b/LoopStructural/modelling/core/geological_model.py index 1af395b1d..6e49d458d 100644 --- a/LoopStructural/modelling/core/geological_model.py +++ b/LoopStructural/modelling/core/geological_model.py @@ -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 = [] @@ -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 @@ -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 diff --git a/LoopStructural/modelling/input/process_data.py b/LoopStructural/modelling/input/process_data.py index 79111e8e5..91ced8064 100644 --- a/LoopStructural/modelling/input/process_data.py +++ b/LoopStructural/modelling/input/process_data.py @@ -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: