Skip to content

Commit

Permalink
Merge pull request #20 from ratt-ru/issue-13
Browse files Browse the repository at this point in the history
lift integer restriction on beam diameter. See #13
  • Loading branch information
SpheMakh authored Jun 21, 2019
2 parents 36f7053 + 35f5d9d commit f4d2928
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 f4d2928

Please sign in to comment.