openmolecules.org

 
Home » DataWarrior » Functionality » update/recalculation of all computed array data
update/recalculation of all computed array data [message #1736] Tue, 13 September 2022 11:38 Go to next message
nbehrnd is currently offline  nbehrnd
Messages: 141
Registered: June 2019
Senior Member
Dear Thomas,

DW offers integrated functions to compute, e.g. the molecular formula for a structure in the first column. In a current installation, I observe one can change the structure formula, yet this does not not affect Hill formula. This contrasts with user-defined calculations where the program offers to recalculate
the result of the selected column in question. In the illustrative example below, I use a macro which reads-out a string -- so there is an update of the third column possible, yet it appears to be constrained to this column only:

/forum/index.php?t=getfile&id=598&private=0

Assuming the first column contains the data used for computations in all subsequent columns, does DW offer assistance to re-run/update the computations all across the the data sheet by single click to ensure consistency of the data?

Norwid

Observations refer to a native installation of DW 5.5.0 for Linux including updates packaged by 2022-09-02 15:00 running in Linux Debian 12/bookworm (branch testing).
Re: update/recalculation of all computed array data [message #1739 is a reply to message #1736] Tue, 13 September 2022 22:02 Go to previous message
thomas is currently offline  thomas
Messages: 537
Registered: June 2014
Senior Member
Dear Norwid,

originally, DataWarrior did not allow to change any cell content, just deleting rows and columns or adding calculated columns or adding columns from merging. Its file format does not include life-links or the complete history of columns created, calculated, updated, merged, etc, which would be needed to recalculate the chain of sometimes dependent calculations in the original order. Recalculating one column is a convenient feature that can/must be triggered by the user. For DataWarrior a column containing molecular formulas is just a text column. There is no link to a parent structure column not does DataWarrior know that the content was generated by creating a molecular formula. Of course, I can add that automatism, but this will never be complete, especially in regard to multi-step calculations. Invisible columns are different: descriptors are kept up-to-date automatically.

Thomas
Previous Topic: Macro for evolutionary library (EL) in Datwarrior (DW)
Goto Forum:
  


Current Time: Sun Sep 25 14:15:27 CEST 2022

Total time taken to generate the page: 0.01904 seconds