Skip to content

Commit

Permalink
Merge branch 'fix/large-worker-default-size' of github.com:LCOGT/banz…
Browse files Browse the repository at this point in the history
…ai into add-large-workers
  • Loading branch information
mgdaily committed Jan 19, 2024
2 parents bb15d45 + 831d172 commit 33c6227
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions banzai/dbs.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,10 @@ def parse_configdb(configdb_address):
if sci_cam is not None:
camera_size = sci_cam['camera_type']['size']
if camera_size == 'N/A':
continue
nx, ny = camera_size.split('x')
nx = 25
ny = 25
else:
nx, ny = camera_size.split('x')
# Convert from arcminutes to arcseconds and then to pixels
nx = int(float(nx) * 60 / float(sci_cam['camera_type']['pscale']))
ny = int(float(ny) * 60 / float(sci_cam['camera_type']['pscale']))
Expand Down

0 comments on commit 33c6227

Please sign in to comment.