Skip to content

Commit a9315e6

Browse files
committed
fixing small bugs
1 parent cda191a commit a9315e6

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

mtpy/modeling/simpeg/recipes/inversion_2d.py

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
55
@author: jpeacock
66
7-
A vanilla recipe to invert 2D MT data.
7+
A vanilla recipe to invert 2D MT data.
88
99
- For now the default is a quad tree mesh
10-
- Optimization: Inexact Gauss Newton
10+
- Optimization: Inexact Gauss Newton
1111
"""
1212

1313
# =============================================================================
@@ -157,15 +157,6 @@ def __str__(self):
157157
+ sorted(method_list)
158158
)
159159

160-
return "\n".join(
161-
["Attributes"]
162-
+ sorted(attr_list)
163-
+ ["Properties"]
164-
+ sorted(property_list)
165-
+ ["Methods:"]
166-
+ sorted(method_list)
167-
)
168-
169160
def __repr__(self):
170161
return self.__str__()
171162

mtpy/modeling/structured_mesh_3d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2498,7 +2498,7 @@ def to_geosoft_xyz(
24982498
lines.append(
24992499
f"{yy + self.center_point.east:.3f} "
25002500
f"{xx + self.center_point.north:.3f} "
2501-
f"{-(zz + self.center_point.elevation):.3f} "
2501+
f"{-(zz):.3f} "
25022502
f"{self.res_model[ii, jj, kk]:.3f}"
25032503
)
25042504

0 commit comments

Comments
 (0)