Skip to content

Commit

Permalink
fix: structural frame weights were being overwritten by
Browse files Browse the repository at this point in the history
local variables
  • Loading branch information
Lachlan Grose committed Oct 5, 2021
1 parent 5fbbb08 commit 15e7f23
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions LoopStructural/modelling/features/structural_frame_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,19 +133,16 @@ def setup(self, w1=1., w2=1., w3=1., **kwargs):
-------
"""
w1 = 1
w2 = 1
w3 = 1
step = kwargs.get('step', 10)
if 'gxxgy' in kwargs:
logger.warning('gxxgy depreciated please use w1')
gxxgy = kwargs['gxxgy']
w1 = kwargs['gxxgy']
if 'gxxgz' in kwargs:
logger.warning('gxxgz depreciated please use w2')
gxxgz = kwargs['gxxgz']
w2 = kwargs['gxxgz']
if 'gyxgz' in kwargs:
logger.warning('gyxgz depreciated please use w3')
gyxgz = kwargs['gyxgz']
w3 = kwargs['gyxgz']

# set regularisation so the the main surface (foliation, fault) is smooth
# and the fields are allowed to vary more
Expand Down

0 comments on commit 15e7f23

Please sign in to comment.