[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #62636] When in 'asttable' has been used '--head' option before '--
From: |
Sepideh Eskandarlou |
Subject: |
[bug #62636] When in 'asttable' has been used '--head' option before '--range' the result is mistake |
Date: |
Wed, 15 Jun 2022 13:17:44 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?62636>
Summary: When in 'asttable' has been used '--head' option
before '--range' the result is mistake
Project: GNU Astronomy Utilities
Submitter: sepideh
Submitted: Wed 15 Jun 2022 05:17:42 PM UTC
Category: Table
Severity: 3 - Normal
Item Group: Output not reasonable
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Wed 15 Jun 2022 05:17:42 PM UTC By: Sepideh Eskandarlou <sepideh>
In 'asttaable' when we we put the '--sort' and '--head' option before the
'--range' option, the final result is not between the special range which has
been determined by user.
By below command you can see the contents of table.
$ cat catalog.txt
# Column 1: counter [counter, i8] counter
# Column 2: phot_g_mean_mag [log, f32] magnitude
1 5.64544
2 6.66823
3 8.58895
By this command line I have expected just object in range of magnitude between
4 to 6 printed.
While you can see it printed magnitude which are not between 4 to 6.
$ asttable test.txt --sort=phot_g_mean_mag --head=3
--range=phot_g_mean_mag,4,6
1 5.64544
2 6.66823
3 8.58895
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62636>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #62636] When in 'asttable' has been used '--head' option before '--range' the result is mistake,
Sepideh Eskandarlou <=