Skip to content

Commit

Permalink
rtplot -- changed default of nx
Browse files Browse the repository at this point in the history
old version had bug when there was no default set
  • Loading branch information
trmrsh committed Apr 29, 2021
1 parent ef67f66 commit 48523e2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions hipercam/scripts/rtplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,10 +371,7 @@ def rtplot(args=None):
# define the panel grid. first get the labels and maximum dimensions
ccdinf = spooler.get_ccd_pars(source, resource)

try:
nxdef = cl.get_default("nx")
except:
nxdef = 3
nxdef = cl.get_default("nx", 3)

if len(ccdinf) > 1:
ccd = cl.get_value("ccd", "CCD(s) to plot [0 for all]", "0")
Expand Down

0 comments on commit 48523e2

Please sign in to comment.