Skip to content

Commit d36f4af

Browse files
committed
Add name display for RDKit (#75)
1 parent a866702 commit d36f4af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/core/rdkitCore.ts

+1
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ export default class RDKitCore implements ChemCore {
111111
JSON.stringify({
112112
...DEFAULT_RDKIT_OPTIONS,
113113
...this.settings.rdkitOptions,
114+
legend: mol.has_prop('_Name') ? mol.get_prop('_Name') : '',
114115
atomColourPalette: palette,
115116
queryColour: palette['6'],
116117
highlightColour: palette['6'],

0 commit comments

Comments
 (0)