bugGNU Astronomy Utilities - Bugs: bug #49629, Automatic output suffix doesn't...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #49629: Automatic output suffix doesn't work with .fits.gz inputs

Submitted by:  Mohammad Akhlaghi <makhlaghi>
Submitted on:  Wed 16 Nov 2016 10:28:00 PM UTC  
 
Category: All GnuastroSeverity: 3 - Normal
Item Group: Output not reasonableStatus: Fixed
Privacy: PublicAssigned to: Mohammad Akhlaghi <makhlaghi>
Open/Closed: Closed

Wed 16 Nov 2016 11:21:26 PM UTC, comment #2:

This bug is fixed and has been pushed to the main repo. See the commit message for more details.

Mohammad Akhlaghi <makhlaghi>
Project AdministratorIn charge of this item.
Wed 16 Nov 2016 10:29:40 PM UTC, comment #1:

I am very grateful to Antonio Diaz Diaz for pointing out this problem.

Mohammad Akhlaghi <makhlaghi>
Project AdministratorIn charge of this item.
Wed 16 Nov 2016 10:28:00 PM UTC, original submission:

The `gal_checkset_automatic_output' function is in charge of setting the filename of the output filename when the user hasn't specified any.

Currently it starts from the end of the input file name and replaces everything including and after the first `.' it encounters. This works on ordinary `.fits' files, but not on inputs like `.fits.gz' (that CFITSIO also accepts). So for example ConvertType's default output (to convert to Jpeg) on such a file would end with `.fits.jpg'.

To see what I mean, after running `make check' run:

Mohammad Akhlaghi <makhlaghi>
Project AdministratorIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by makhlaghi
  • -unavailable- added by makhlaghi (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 16 Nov 2016 11:21:26 PM UTCmakhlaghiStatusPostponed=>Fixed
      Assigned toNone=>makhlaghi
      Open/ClosedOpen=>Closed
      Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1