Skip to content

Commit

Permalink
fix(ncbi_type_material): Update the column used for determining NCBI …
Browse files Browse the repository at this point in the history
…type material.
  • Loading branch information
aaronmussig committed Sep 3, 2024
1 parent b1b6a5a commit e913132
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions assets/api/genome.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export interface GenomeMetadataTaxonomy {
gtdbSpecies: string
gtdb_representative: boolean
gtdb_genome_representative: string

ncbi_type_material_designation: string | null,
}

export interface GenomeNcbiTaxon {
Expand Down Expand Up @@ -146,7 +146,6 @@ export interface GenomeMetadataNcbi {
ncbi_total_gap_length: number
ncbi_translation_table: number
ncbi_trna_count: number
ncbi_type_material_designation: string
ncbi_unspanned_gaps: number
ncbi_version_status: string
ncbi_wgs_master: string
Expand Down
4 changes: 2 additions & 2 deletions components/genome/GenomeNcbiMetadata.vue
Original file line number Diff line number Diff line change
Expand Up @@ -358,11 +358,11 @@
<tr>
<td class="gtdb-green-bg-table first-table-col">Type Material</td>
<td>
<template v-if="genomeCard.metadata_ncbi.ncbi_type_material_designation == null">
<template v-if="genomeCard.metadataTaxonomy.ncbi_type_material_designation == null">
<NullChip/>
</template>
<template v-else>
{{ genomeCard.metadata_ncbi.ncbi_type_material_designation }}
{{ genomeCard.metadataTaxonomy.ncbi_type_material_designation }}
</template>
</td>
</tr>
Expand Down

0 comments on commit e913132

Please sign in to comment.