openmolecules.org

 
Home » DataWarrior » Functionality » Macro questions: preserving columnProperty and setting date filter
Re: Macro questions: preserving columnProperty and setting date filter [message #1224 is a reply to message #1217] Thu, 11 February 2021 11:37 Go to previous messageGo to previous message
thomas is currently offline  thomas
Messages: 663
Registered: June 2014
Senior Member
Hi Andrew,

column properties are considered to belong to the data and not to the definition of how to display the data.
Therefore, they are not part of the template. However, you may use the macro task 'Set Column Properties'
to add (or replace) column properties to a column.

When DataWarrior analyses a column, then it is rather flexible concerning data formats. It basically checks, whether it can find three different values per cell and whether they fit in the range of what could be interpreted as data value. If cell entries are plausible dates, then these are converted into float values representing the number of milliseconds since Jan 1st, 1970. This value is used internally for filtering, axis assignment, etc. And it end up in the template filter section.
(https://currentmillis.com/)

Thomas

[Updated on: Thu, 11 February 2021 11:37]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: 2D coordinates in the template
Next Topic: Confidentiality of compound structures
Goto Forum:
  


Current Time: Sun May 19 01:05:41 CEST 2024

Total time taken to generate the page: 0.00626 seconds