openmolecules.org

 
Home » DataWarrior » Functionality » Updating Merged Columns
Re: Updating Merged Columns [message #1126 is a reply to message #1125] Thu, 19 November 2020 17:48 Go to previous messageGo to previous message
nbehrnd is currently offline  nbehrnd
Messages: 224
Registered: June 2019
Senior Member
I would suggest to continue on the path mentioned by you, i.e. starting with two columns of raw data and a third column based on calculated data offering the quick re-calculate option (yielding the update).

To illustrate, I set up a small set of molecules and randomly attributed data. To simulate data missing, I kept some of the cells empty, or used as entries the strings "0" .or. "NaN". The column to pick data from either one of the two previous columns then used the if-clause

if((vendor_1!=0), vendor_1,vendor_2)

which works reasonably well in terms of an update in the new column.

index.php?t=getfile&id=291&private=0

This however assumes the absence of a row, where both columns contain disagreeing entries ...
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Copy and paste from Chemdraw to Datawarrior structure
Next Topic: pchembl values
Goto Forum:
  


Current Time: Fri Nov 22 15:14:03 CET 2024

Total time taken to generate the page: 0.03793 seconds