Skip to content

Commit

Permalink
move molfile 2000 processing from front to indigo
Browse files Browse the repository at this point in the history
  • Loading branch information
LadaYudovina committed Sep 23, 2022
1 parent 15b6987 commit 8dc94ef
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ import {
MolSerializerOptions
} from 'domain/serializers'
import { StructService, StructServiceOptions } from 'domain/services'

import { KetFormatter } from './ketFormatter'
import { MolfileV2000Formatter } from './molfileV2000Formatter'
import { RxnFormatter } from './rxnFormatter'
import { ServerFormatter } from './serverFormatter'

Expand Down Expand Up @@ -73,19 +71,14 @@ export class FormatterFactory {
formatter = new KetFormatter(new KetSerializer())
break

case 'mol':
formatter = new MolfileV2000Formatter(
new MolSerializer(molSerializerOptions)
)
break

case 'rxn':
formatter = new RxnFormatter(new MolSerializer(molSerializerOptions))
break

case 'cml':
case 'inChIAuxInfo':
case 'inChI':
case 'mol':
case 'molV3000':
case 'rxnV3000':
case 'smiles':
Expand Down

0 comments on commit 8dc94ef

Please sign in to comment.