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) (#1107)

Co-authored-by: Anand Kumar <anand.kumar@schrodinger.com>
  • Loading branch information
bffrost and iamanandkr authored Jun 29, 2023
1 parent c727830 commit f95450c
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 f95450c

Please sign in to comment.