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: 233
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 301 times)
  • Attachment: example.txt
    (Size: 0.77KB, Downloaded 184 times)
  • Attachment: reporter.py
    (Size: 1.49KB, Downloaded 305 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 Apr 18 16:54:40 CEST 2025

Total time taken to generate the page: 0.00721 seconds