Skip to content

Commit

Permalink
fix enum
Browse files Browse the repository at this point in the history
  • Loading branch information
bchu1 committed Sep 24, 2024
1 parent d61d47f commit 58578f3
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ import {
GetRunByIdQuery,
Tiltseries,
} from 'app/__generated__/graphql'
import { Tomogram } from 'app/__generated_v2__/graphql'
import {
Fiducial_Alignment_Status_Enum,
Tomogram,
} from 'app/__generated_v2__/graphql'
import { getDatasetById } from 'app/graphql/getDatasetById.server'
import { getRunById } from 'app/graphql/getRunById.server'
import { getRunByIdV2 } from 'app/graphql/getRunByIdV2.server'
Expand Down Expand Up @@ -187,7 +190,8 @@ function getTomogramDrawerTestMetadata(
`(${tomogram.sizeX}, ${tomogram.sizeY}, ${tomogram.sizeZ})px`,
],
fiducialAlignmentStatus: getBoolString(
tomogram.fiducialAlignmentStatus === 'FIDUCIAL',
tomogram.fiducialAlignmentStatus ===
Fiducial_Alignment_Status_Enum.Fiducial,
),
ctfCorrected: tomogram.ctfCorrected ? 'Yes' : 'No',
alignmentId: '--',
Expand Down

0 comments on commit 58578f3

Please sign in to comment.