Skip to content

Commit

Permalink
fix: constant fold axis was referencing fold_frame
Browse files Browse the repository at this point in the history
instead of foldframe
  • Loading branch information
Lachlan Grose committed Oct 5, 2021
1 parent aebba23 commit 2050b68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LoopStructural/modelling/fold/fold_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def set_fold_axis(self):
self.fold.fold_axis = fold_axis

if "av_fold_axis" in kwargs:
l2 = self.fold.fold_frame.calculate_intersection_lineation(self)
l2 = self.fold.foldframe.calculate_intersection_lineation(self)
self.fold.fold_axis = np.mean(l2, axis=0)
if self.fold.fold_axis is None:
if self.fold.foldframe[1].is_valid() == False:
Expand Down

0 comments on commit 2050b68

Please sign in to comment.