gnuastro-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[task #15138] Color command-line output


From: Mohammad Akhlaghi
Subject: [task #15138] Color command-line output
Date: Sat, 3 Apr 2021 12:51:43 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0

Follow-up Comment #3, task #15138 (project gnuastro):

Thanks a lot Abhishek! This seems like a workable solution, nice work! I think
you are ready to try it out in practice in your own development branch (if you
haven't done so already).

Here are some commands that can help in the test (using one of the FITS images
created during 'make check', and the 'astfits' executable that is in the build
directory, so you can play with the source):


# In Gnuastro's build directory (where you ran 'make')
make check -j8

# Write the CHECKSUM and DATASUM keywords for one file
./bin/fits/astfits tests/1_wcscat.fits --write=checksum

# Verify it (both should be correct)
./bin/fits/astfits tests/1_wcscat.fits --verify

# Copy the file (just for testing).
cp tests/1_wcscat.fits tests/1_wcscat_2.fits

# Add an extra keyword (just so 'CHECKSUM' isn't valid any more)
./bin/fits/astfits tests/1_wcscat_2.fits --write=junk,123

# Verify the new file (only DATASUM should be verified)
./bin/fits/astfits tests/1_wcscat_2.fits --verify


You can now use the two calls with '--verify' for test-running your
implementation. 

Have you created a branch and a fork for your development? If not, see
Gnuastro's forking tutorial
<https://www.gnu.org/software/gnuastro/manual/html_node/Forking-tutorial.html>.


I really look forward to see your fork and testing it! We can then find a
generalize-able way to put this in the library and use it in many other
Gnuastro programs too.

P.S. Savannah's interface is a little old, but it does have a simple Markup
<https://savannah.gnu.org/markup-test.php> that can make your code blocks look
more clear (like the case above). The link to this markup page is just on top
of the comment-writing box (to the left of the "Preview" button).

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/task/?15138>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]