Skip to content

Commit

Permalink
mod
Browse files Browse the repository at this point in the history
  • Loading branch information
jurjen93 committed Oct 19, 2024
1 parent 42cfb3b commit b3622be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ds9_helpers/split_polygon_facets.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ def main():
if np.all(np.abs(dirs) < 2 * np.pi):
# Converting radians to degrees
dirs = np.degrees(dirs)
dirs[:,0]=np.mod(dirs[:,0], 360)

f = open('polygon_info.csv', 'w')
writer = csv.writer(f)
Expand Down

0 comments on commit b3622be

Please sign in to comment.