Skip to content

Commit

Permalink
Hotfix: #2245 Settings: Terminal and Hetero is not selected as defaul…
Browse files Browse the repository at this point in the history
…t and on option is not working (#2531)
  • Loading branch information
KonstantinEpam23 authored Apr 26, 2023
1 parent 1acc643 commit aaa2ebb
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/ketcher-core/src/domain/entities/atom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -342,12 +342,8 @@ export class Atom {
return true
}
const element = Elements.get(label)
if (!element) {
this.implicitH = 0
return true
}

const groupno = element.group
const groupno = element?.group
const radicalCount = radicalElectrons(this.radical)
let valence = connectionCount
let hydrogenCount: any = 0
Expand Down

0 comments on commit aaa2ebb

Please sign in to comment.