openmolecules.org

 
Home » DataWarrior » Functionality » Loop over columns for calculations
Loop over columns for calculations [message #1161] Fri, 04 December 2020 14:41 Go to next message
amorrison
Messages: 38
Registered: March 2016
Member
Hi,
Is it possible to loop over a set of columns and carry out an operation without having to do each column individually. I have two use cases;

Case 1 - After a core based SAR analysis find all structure columns and create the corresponding smiles code.

Case 2 - Find all numerical columns and do a round function.

Many thanks in advance,

Angus

Re: Loop over columns for calculations [message #1164 is a reply to message #1161] Fri, 04 December 2020 16:36 Go to previous message
thomas is currently offline  thomas
Messages: 715
Registered: June 2014
Senior Member
Hi Angus,

while I see the use of it, I regret to say, this cannot be done currently. It would need improved looping and variable handling in macros.

Thomas
Previous Topic: Similarity heatmap
Next Topic: Variables in Macros
Goto Forum:
  


Current Time: Sat Nov 23 13:41:52 CET 2024

Total time taken to generate the page: 0.03571 seconds