Skip to content

Commit

Permalink
fix: use FAULT_ORIENTATION instead of STRUCTURE
Browse files Browse the repository at this point in the history
  • Loading branch information
rabii-chaarani committed Jan 15, 2025
1 parent 9280598 commit 6910fc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion map2loop/mapdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ def parse_fault_orientations(self) -> tuple:
# Parse dip direction and dip columns
if config["dipdir_column"] in self.raw_data[Datatype.FAULT_ORIENTATION]:
if config["orientation_type"] == "strike":
fault_orientations["DIPDIR"] = self.raw_data[Datatype.STRUCTURE].apply(
fault_orientations["DIPDIR"] = self.raw_data[Datatype.FAULT_ORIENTATION].apply(
lambda row: (row[config["dipdir_column"]] + 90.0) % 360.0, axis=1
)
else:
Expand Down

0 comments on commit 6910fc9

Please sign in to comment.