openmolecules.org

 
Home » DataWarrior » Bug Reports » Change default structure copy option (Change default structure copy option)
Re: Change default structure copy option [message #2054 is a reply to message #2052] Tue, 19 December 2023 23:20 Go to previous messageGo to previous message
nbehrnd is currently offline  nbehrnd
Messages: 211
Registered: June 2019
Senior Member
Hello,

if a SMILES string is sufficient to serve as an «anchor» for your work after DW, Chemistry -> From Chemical Structure -> Add SMILE Code allows you to assign all entries in the array this descriptor. (It is an action you equally can store in a DW marco file, file extension .dwam). Export then the array via File -> Save Special -> Text File as a plain ASCII text file with one header line and columns separated by tabulators. This will transfer the whole array into the new format.

Though one can alter the sequence of columns in a dwar array by drag-and-drop, the export as text file always starts by the column about the structure / ID as the first one. At level of the text file, this can be changed by a script (e.g., AWK), or a spread sheet (gnumeric, LibreOffice Calc, etc.). The later however can impose some limitations (e.g., 65000 rows maximum in MS Excel) not every time visible.

Regards,

Norwid
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Font Scale Not Adjusting
Next Topic: > and < signs not interpreted in 6.0.0
Goto Forum:
  


Current Time: Tue May 28 21:21:58 CEST 2024

Total time taken to generate the page: 0.06222 seconds