openmolecules.org

 
Home » DataWarrior » Functionality » Macro questions: preserving columnProperty and setting date filter
Macro questions: preserving columnProperty and setting date filter [message #1217] Fri, 05 February 2021 16:36 Go to previous message
Andrew0
Messages: 19
Registered: August 2015
Junior Member
Hello Thomas,

I have a macro that has the following basic workflow:

  1. Open a text file
  2. Apply a template from an existing .dwar file
  3. Update some filters

I recently discovered the columnProperty field from http://openmolecules.org/forum/index.php?t=msg&goto=765, and am making use of this to link to source data. It seems that when I apply a template that has defined columnProperty values, they are not carried into the new file. Is this expected behavior, or is there a way I can carry these columnProperty values over?

Secondly, one of the filters I update at the conclusion of the macro is a date filter. Does DataWarrior use a standard date format? In the macro the date appears as a float value, which doesn't correspond to date formats that I'm familiar with.

Thank you for your continued development of this tool - it's a huge benefit to the community!

Andrew
 
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 05 18:35:38 CEST 2024

Total time taken to generate the page: 0.03340 seconds