Skip to content

Commit

Permalink
lift integer restriction on beam diameter. See #13
Browse files Browse the repository at this point in the history
  • Loading branch information
SpheMakh authored May 14, 2019
1 parent 36f7053 commit 35f5d9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eidos/create_beam.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def main(argv):
print("Specify both diameter and pixel scale")
raise
if not args.diameter:
try: args.diameter = int(args.pixels*args.scale)
try: args.diameter = args.pixels*args.scale
except:
print("Specify both number of pixels and pixel scale")
raise
Expand Down

0 comments on commit 35f5d9d

Please sign in to comment.