openmolecules.org

 
Home » DataWarrior » Functionality » Filter out nasty functions (to design a macro to filter all nasty functions their names should be included )
Re: Filter out nasty functions [message #1915 is a reply to message #1914] Wed, 07 June 2023 00:01 Go to previous messageGo to previous message
nbehrnd is currently offline  nbehrnd
Messages: 224
Registered: June 2019
Senior Member
Dear Julio,

the report about the number of columns in DataWarrior's spreadsheet arguably is better kept separate as a (meta) analysis outside the program. It is possible to export the data (File -> Save Special -> Textfile) as a .txt with tabulator separated columns, which then is more accessible to other programs and can be queried e.g., by other programs, or home written scripts. AWK and Python can be handy for this; their report to the command line e.g. by the example below

python reporter.py example.txt
equally can be redirected into a permanent record (a choice at time of running the script).

Norwid
  • Attachment: example.dwar
    (Size: 3.88KB, Downloaded 255 times)
  • Attachment: example.txt
    (Size: 0.77KB, Downloaded 146 times)
  • Attachment: reporter.py
    (Size: 1.49KB, Downloaded 254 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Previous Topic: Color a Row
Next Topic: handling ultra large space
Goto Forum:
  


Current Time: Fri Nov 22 02:58:05 CET 2024

Total time taken to generate the page: 0.03910 seconds