How to select centers in a tree and then add a new column to the table named ‘Center’ and value ‘Yes‘ for the selected centers and ‘No’

4 views
Skip to first unread message

Andrew Orry

unread,
Aug 17, 2023, 11:39:02 AM8/17/23
to MolSoft ICM Knowledge Base
Q How to select centers in a tree and then add a new column to the table named ‘Center’ and value ‘Yes‘ for the selected centers and ‘No’

A

To select the "center" representative compound or value from a cluster.

  • In the GUI right click in the free area (white) of the tree and select the option "Select Centers" or Select Centers by if you want to choose by a particular property in the table e.g. lowest score.


To add column with 'yes' and 'no' depending on selection

(Replace 't' with your table name)

 add column t Sarray(Nof(Xdict),"No") name="center"
 t.center [Index( t selection )] = "Yes"

Reply all
Reply to author
Forward
0 new messages