Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
shashankbrgowda committed Aug 19, 2024
1 parent 6e5c92b commit 30b9fb3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/apollo-shared/src/Checks/CDSCheck.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,11 @@ export class CDSCheck extends Check {

const checkResults: CheckResultSnapshot[] = []
for (const mRNA of mRNAs) {
const { _id, cdsLocations } = mRNA
const { cdsLocations } = mRNA

if (cdsLocations.length === 0) {
throw new Error(`mRNA "${_id}" has no CDS children`)
// move to next mRNA
continue
}
for (const cds of cdsLocations) {
let cdsSequence = ''
Expand Down

0 comments on commit 30b9fb3

Please sign in to comment.