Opened 13 years ago

Closed 12 years ago

#133 closed defect (fixed)

Wrong behaviour when flagTrim=true and no blank keyword

Reported by: MatthewWhiting Owned by: MatthewWhiting
Priority: high Milestone: Release-1.2
Component: Input Version: 1.1.13
Severity: normal Keywords:
Cc:

Description (last modified by MatthewWhiting)

If we request trimming (flagTrim=true) and there is no BLANK keyword in the image header, this is what happens:

Opening image: H171n/H171n_WGTMED.fits
Dimensions of FITS file: 170x160x1024
WARNING <Cube Reader> : Error reading BLANK keyword, so not doing any trimming.
FITSIO status = 202: keyword not found in header
ERROR <Duchamp> : Unable to open image file H171n/H171n_WGTMED.fits
                : Exiting...

What should happen instead is that we get the warning but it should not trigger a FAILURE on the getImage function.

Change History (5)

comment:1 Changed 13 years ago by MatthewWhiting

Status: newassigned

comment:2 Changed 13 years ago by MatthewWhiting

Description: modified (diff)

comment:3 Changed 12 years ago by MatthewWhiting

Move to 1.1.14

comment:4 Changed 12 years ago by MatthewWhiting

Milestone: Release-1.2Release-1.1.14

comment:5 Changed 12 years ago by MatthewWhiting

Resolution: fixed
Status: assignedclosed

Fixed in [896].

Note: See TracTickets for help on using tickets.