From b71397d925541b38f854bf0df5bf8185203ba6ba Mon Sep 17 00:00:00 2001 From: Riley Grant Date: Tue, 22 Oct 2024 16:57:08 -0500 Subject: [PATCH] fixup(browser): clean up misc comments --- browser/src/GenePage/GenePageContainer.tsx | 57 ------------------- browser/src/GenePage/GeneTranscriptsTrack.tsx | 2 +- 2 files changed, 1 insertion(+), 58 deletions(-) diff --git a/browser/src/GenePage/GenePageContainer.tsx b/browser/src/GenePage/GenePageContainer.tsx index 4c3e84c9e..1b0cd7e47 100644 --- a/browser/src/GenePage/GenePageContainer.tsx +++ b/browser/src/GenePage/GenePageContainer.tsx @@ -162,63 +162,6 @@ query ${operationName}($geneId: String, $geneSymbol: String, $referenceGenome: R } ` -// adipose_subcutaneous -// adipose_visceral_omentum -// adrenal_gland -// artery_aorta -// artery_coronary -// artery_tibial -// bladder -// brain_amygdala -// brain_anterior_cingulate_cortex_ba24 -// brain_caudate_basal_ganglia -// brain_cerebellar_hemisphere -// brain_cerebellum -// brain_cortex -// brain_frontal_cortex_ba9 -// brain_hippocampus -// brain_hypothalamus -// brain_nucleus_accumbens_basal_ganglia -// brain_putamen_basal_ganglia -// brain_spinal_cord_cervical_c_1 -// brain_substantia_nigra -// breast_mammary_tissue -// cells_ebv_transformed_lymphocytes -// cells_cultured_fibroblasts -// cervix_ectocervix -// cervix_endocervix -// colon_sigmoid -// colon_transverse -// esophagus_gastroesophageal_junction -// esophagus_mucosa -// esophagus_muscularis -// fallopian_tube -// heart_atrial_appendage -// heart_left_ventricle -// kidney_cortex -// liver -// lung -// minor_salivary_gland -// muscle_skeletal -// nerve_tibial -// ovary -// pancreas -// pituitary -// prostate -// skin_not_sun_exposed_suprapubic -// skin_sun_exposed_lower_leg -// small_intestine_terminal_ileum -// spleen -// stomach -// testis -// thyroid -// uterus -// vagina -// whole_blood -// -// cells_transformed_fibroblasts -// cells_transformed_fibroblasts - type Props = { datasetId: DatasetId geneIdOrSymbol: string diff --git a/browser/src/GenePage/GeneTranscriptsTrack.tsx b/browser/src/GenePage/GeneTranscriptsTrack.tsx index ef75a616f..3b70f9e44 100644 --- a/browser/src/GenePage/GeneTranscriptsTrack.tsx +++ b/browser/src/GenePage/GeneTranscriptsTrack.tsx @@ -167,7 +167,7 @@ const GeneTranscriptsTrack = ({ const circleRadiusMeanContribution = meanExpression === 0 ? 0 : 0.25 const circleRadiusMaxMeanContribution = - maxMeanExpression === 0 ? 0 : meanExpression / maxMeanExpression! // if the right panel render, maxMean is defined + maxMeanExpression === 0 ? 0 : meanExpression / maxMeanExpression! const circleRadius = Math.sqrt( circleRadiusMeanContribution + 23.75 * circleRadiusMaxMeanContribution )