Skip to content

Commit

Permalink
add empymod to environment, update setKwargs to set_kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
lheagy committed Jan 12, 2025
1 parent 5cf0abb commit faa0062
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions environment-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ dependencies:
- cvxopt
- deepdish
- discretize
- empymod
- ipywidgets>=0.6.0
- jupyter
- matplotlib=3.4.3
Expand Down
2 changes: 1 addition & 1 deletion geoscilabs/em/TDEMGroundedSource.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ class PlotTDEM(object):

def __init__(self, **kwargs):
super(PlotTDEM, self).__init__()
utils.setKwargs(self, **kwargs)
utils.set_kwargs(self, **kwargs)
self.xmin, self.xmax = self.mesh.cell_centers_x.min(), self.mesh.cell_centers_x.max()
self.ymin, self.ymax = self.mesh.cell_centers_y.min(), self.mesh.cell_centers_y.max()
self.zmin, self.zmax = self.mesh.cell_centers_z.min(), self.mesh.cell_centers_z.max()
Expand Down
2 changes: 1 addition & 1 deletion geoscilabs/em/TDEMInductiveSource.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class PlotTDEM(object):

def __init__(self, **kwargs):
super(PlotTDEM, self).__init__()
utils.setKwargs(self, **kwargs)
utils.set_kwargs(self, **kwargs)
self.xmin, self.xmax = self.mesh.cell_centers_x.min(), self.mesh.cell_centers_x.max()
self.ymin, self.ymax = self.mesh.cell_centers_y.min(), self.mesh.cell_centers_y.max()
self.zmin, self.zmax = self.mesh.cell_centers_z.min(), self.mesh.cell_centers_z.max()
Expand Down

0 comments on commit faa0062

Please sign in to comment.