Skip to content

Commit

Permalink
#5972 - Export to three letter amino acid codes cause convert error
Browse files Browse the repository at this point in the history
  • Loading branch information
rrodionov91 committed Nov 26, 2024
1 parent 1357487 commit a883c93
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export enum SupportedFormat {
SDF = 'sdf',
FASTA = 'fasta',
SEQUENCE = 'sequence',
SEQUENCE_3_LETTER = 'peptide-sequence-3-letter',
IDT = 'idt',
HELM = 'helm',
RDF = 'rdf',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ function convertMimeTypeToOutputFormat(
format = SupportedFormat.SEQUENCE;
break;
}
case ChemicalMimeType.PeptideSequenceThreeLetter: {
format = SupportedFormat.SEQUENCE_3_LETTER;
break;
}
case ChemicalMimeType.IDT: {
format = SupportedFormat.IDT;
break;
Expand Down

0 comments on commit a883c93

Please sign in to comment.