openmolecules.org

 
Home » DataWarrior » Functionality » Suggestion: add molecular weight calculation for individual compound
Re: Suggestion: add molecular weight calculation for individual compound [message #2471 is a reply to message #2465] Sun, 22 March 2026 11:45 Go to previous message
thomas is currently offline  thomas
Messages: 745
Registered: June 2014
Senior Member
Hello Laurent and Norvid,

I indeed see the usefulness of an automatic re-calculation of values, structures, descriptors, SMILES, etc. whenever an interactive change of a value or structure occurs that was used as input to a formula, descriptor calculation, SAR-table generation, docking, ...

That would, however, require to change the DataWarrior architecture and its file format substantially, because all operations that take table data as input to calculate something out of it, would need to be traced. The total history would need to be part of any dwar files. Merging and appending of files would break this mechanism. Some algorithms (e.g. chemical space visualisations) need to know and process the entire table before calculating the position of an individual compound. An interactive change of a structure could cause a cascade of potentially expensive re-calculations of order-dependent calculations, which still would fail in certain cases, e.g. if rows have been deleted. Thus, the complete solution is impossible.

Currently, there is an event mechanism that triggers recalculation of structure descriptors when a structure is changed. This could be extended to also trigger repeating some other simple 'from chemical structure' tasks like property calculations. This would already require extending the file format, because DataWarrior currently does not know, whether a numerical value column contains calculated compound properties nor which structure column was used to create it. I will look into this...

Thomas
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Viewing 3D confs with protein
Next Topic: R-Decomp doesnt show R1
Goto Forum:
  


Current Time: Wed Apr 29 01:13:00 CEST 2026

Total time taken to generate the page: 0.00695 seconds