Skip to content

Commit

Permalink
#5184 – Fix unresolved monomers bond establishing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
svvald committed Aug 8, 2024
1 parent 5e94631 commit 32c3687
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@ import { BaseMonomer } from './BaseMonomer';
import { ChemSubChain } from 'domain/entities/monomer-chains/ChemSubChain';
import { PeptideSubChain } from 'domain/entities/monomer-chains/PeptideSubChain';
import { SubChainNode } from 'domain/entities/monomer-chains/types';
import { Peptide } from 'domain/entities/Peptide';

export class UnresolvedMonomer extends BaseMonomer {
public getValidSourcePoint(_monomer?: BaseMonomer) {
return undefined;
public getValidSourcePoint(monomer?: BaseMonomer) {
return Peptide.prototype.getValidSourcePoint.call(this, monomer);
}

public getValidTargetPoint(_monomer: BaseMonomer) {
return undefined;
public getValidTargetPoint(monomer: BaseMonomer) {
return Peptide.prototype.getValidTargetPoint.call(this, monomer);
}

public get SubChainConstructor() {
Expand Down

0 comments on commit 32c3687

Please sign in to comment.