Skip to content

Commit

Permalink
Fix/fault_orientations (#180)
Browse files Browse the repository at this point in the history
* fix: add featureId when parsing fault_orientations

* chore(master): release 3.2.2 (#178)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix: use FAULT_ORIENTATION instead of STRUCTURE

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
rabii-chaarani and github-actions[bot] authored Jan 15, 2025
1 parent 17a58cd commit 21b766e
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 21b766e

Please sign in to comment.