Home » DataWarrior » Functionality » Saving 2D-structure with labels
|
|
|
Re: Saving 2D-structure with labels [message #1629 is a reply to message #1624] |
Mon, 06 June 2022 19:14   |
nbehrnd
Messages: 233 Registered: June 2019
|
Senior Member |
|
|
Dear Vijay,
lacking access to Windows 11, I'm unable to replicate your findings. Thus, the operation system, or/and the executable of DW specifically released for Windows might contribute to this.
However, because DW* does not provide a progress bar when generating a .png or .svg from the array / structure view, a (perhaps hasty) perception may be anywhere between «the request to export the table wasn't yet launched» and «because of the computational load, the computer froze». In my case, it takes some time i) before an icon about the new file is displayed in the file browser, ii) the CPU monitor records a significant increase in computation, iii) the new file starts to be written, iv) writing all the data into the new file is completed. Do you consider a library of 5k random molecules DW generated a lager one (attached below)? The annotated structure array, exported as .svg is larger than 100 MB; for inkscape, this represents a larger file.
Difficult to tell if a sequential generation of these small illustrations (one frame with one molecular structure & selected description) as individual .png/.svg in a pattern like 001.png, 002.png, 003.png, etc. (or their .svg analogues) would be an advantage for you.
Norwid
*) tested with DW 5.5.0 for Linux including the update by 2022-06-04 in Debian 12/bookworm (branch testing)
|
|
|
|
|
Re: Saving 2D-structure with labels [message #1632 is a reply to message #1631] |
Tue, 07 June 2022 19:30   |
nbehrnd
Messages: 233 Registered: June 2019
|
Senior Member |
|
|
Dear Vijay,
indeed, the «print to pdf» is an attractive alternative. Not only that the depictions don't pixelate as in the .png bitmap, the .pdf retains a searchable text layer. This then allows to identify /the/ entry of particular interest by a label set (SMILES string, catalogue number, etc.) after the document was exported.
Norwid
[Updated on: Tue, 07 June 2022 19:30] Report message to a moderator
|
|
|
|
|
Re: Saving 2D-structure with labels [message #1663 is a reply to message #1657] |
Thu, 30 June 2022 20:03   |
nbehrnd
Messages: 233 Registered: June 2019
|
Senior Member |
|
|
Dear Vijay,
congratulations to your publication.
Note, table 1 includes some examples of «counting patterns» which indeed exceed DW's set of pre-set statistics (e.g., counting small saturated carbon-only cycles) available via chemistry -> from chemical structure -> calculate properties. However, the development version of DW offers an additional functionality via chemistry -> from chemical structure -> add substructure count. Assisted by the program's sketcher, you may define countable pattern matching your needs like «excluding S of sulfone, the eighth atom should be an aromatic carbon atom»

By selection (lasso) and double click, the properties of the atoms in question may be specified further. The documentation calls this «substructure count»,[1] just prior to the section header «The Structure Filter».
With best regards,
Norwid
[1] https://openmolecules.org/help/chemistry.html#StructureFilte r
|
|
|
|
Goto Forum:
Current Time: Sun Apr 06 19:36:34 CEST 2025
Total time taken to generate the page: 0.04454 seconds
|