Skip to content

Commit

Permalink
Merge pull request #26 from andersonfaller/patch-1
Browse files Browse the repository at this point in the history
Additional criteria to stop reading geom. in ppl
  • Loading branch information
gpagliuca authored May 5, 2022
2 parents d49a54c + b7237e2 commit a9a8ec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyfas/ppl.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def extract_geometry(self, branch, branch_begin):
except ValueError:
pass
raw_geometry.extend(points)
if 'CATALOG' in line or 'BRANCH' in line:
if ('CATALOG' in line) or ('BRANCH' in line) or ('ANNULUS' in line):
break
xy_geo = raw_geometry
self.geometries[branch] = (xy_geo[:int(len(xy_geo)/2)],
Expand Down

0 comments on commit a9a8ec4

Please sign in to comment.