Skip to content

Commit

Permalink
Added menu items for exporting both DNA and AA as FASTA TeselaGen#61
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-stackwave committed Feb 28, 2024
1 parent db5d481 commit ce6544b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/bio-parsers/src/jsonToFasta.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ export default function jsonToFasta(jsonSequence, options) {
} = cleanedData;

options = {
sequence: isProtein && proteinSequence ? proteinSequence : size,
size: isProtein && proteinSequence ? proteinSize : sequence,
sequence: isProtein && proteinSequence ? proteinSequence : sequence,
size: isProtein && proteinSequence ? proteinSize : size,
...options
};
const seqToUse = options.sequence;
Expand Down

0 comments on commit ce6544b

Please sign in to comment.