Commit af2b2eb74d30ca5239f6640dcf3562ccee941264

Authored by Jürgen Knödlseder
1 parent 56402cc6

Allow selecting HDU in show_residuals.py

Showing 1 changed file with 1 additions and 1 deletions
examples/show_residuals.py
... ... @@ -329,7 +329,7 @@ def show_residuals():
329 329  
330 330 # Extract script parameters from options
331 331 plotfile = options[0]['value']
332   - hdu = options[1]['value']
  332 + hdu = int(options[1]['value'])
333 333  
334 334 # Show residuals
335 335 plot_residuals(args[0], plotfile, hdu)
... ...