Skip to content

Commit

Permalink
ACAS-678: Use sketcher_clear API to clear structure in MaestroChemica…
Browse files Browse the repository at this point in the history
…lStructureController. (#1106)
  • Loading branch information
iamanandkr authored Jun 28, 2023
1 parent 54efec8 commit 5f019f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class MaestroChemicalStructureController extends Backbone.View
@maestro.sketcherImportText(molStr)

clear: ->
@maestro.clearSketcher()
@maestro?.sketcher_clear()

isEmptyMol: (molStr) ->
if (molStr.indexOf("M V30 COUNTS 0 0 0 0 0") > -1)
Expand Down

0 comments on commit 5f019f8

Please sign in to comment.