taskGNU Astronomy Utilities - Tasks: task #14126, Set all user related columns...


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

task #14126: Set all user related columns numberings to count from 1, not 0

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  Mon 22 Aug 2016 11:42:21 AM UTC
Should Start On:  Sun 21 Aug 2016 03:00:00 PM UTC Should be Finished on:  Sun 21 Aug 2016 03:00:00 PM UTC
Category:  All Gnuastro Priority:  7 - High
Item Group:  Enhancement Status:  Postponed
Privacy:  Public Assigned to:  None
Percent Complete:  0% Open/Closed:  Open
Effort:  0.00

Mon 22 Aug 2016 11:42:21 AM UTC, original submission:  

The utilities that require column numbers of tables (for example ImageCrop, or MakeCatalog), currently count from 0. This basically comes from the fact that counting in C starts from 0. However, when working with tables, counting usually begins from one (for example in AWK, or even CFITSIO).

It is thus much more convenient if the column counting of all utilities start counting from 1, not 0. There is probably no need to change the internal workings of utilities. The main work will be to change the value the moment it is read in: either from the command line (in `args.c') or if its is read by the configuration file(s) (in `ui.c').

Since we are still early in the development of Gnuastro, and probably not too many people are still heavily using Gnuastro, the sooner we do this, the better.

Mohammad Akhlaghi <makhlaghi>
Group administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.


    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-b921.
    Corresponding source code