Skip to content

Commit

Permalink
Section_dict replace with entity dict
Browse files Browse the repository at this point in the history
  • Loading branch information
r-monti14 committed Dec 6, 2024
1 parent 57d72d8 commit 50e4b06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pzero/collections/xsection_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

def section_from_azimuth(self, vector):
"""Create cross section from one point and azimuth."""
section_dict = deepcopy(self.parent.xsect_coll.section_dict)
section_dict = deepcopy(self.parent.xsect_coll.entity_dict)
self.plotter.untrack_click_position(side="left")

# points = np.array([vector.p1, vector.p2])
Expand Down Expand Up @@ -171,7 +171,7 @@ def sections_from_file(self):
# OR CREATE A METHOD TO FILL MISSING PARAMETERS IN THE COLLECTION??

from os.path import splitext
section_dict = deepcopy(self.parent.xsect_coll.section_dict)
section_dict = deepcopy(self.parent.xsect_coll.entity_dict)
section_dict_updt = {
"name": "",
"base_x": 0,
Expand Down

0 comments on commit 50e4b06

Please sign in to comment.