Skip to content

Commit

Permalink
Merge pull request #316 from bento-platform/features/remove-mcode
Browse files Browse the repository at this point in the history
chore: remove mcode individual ethnicity references
  • Loading branch information
v-rocheleau authored Oct 25, 2023
2 parents e4bb778 + f3e267b commit a0aed42
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/components/explorer/IndividualOverview.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ const IndividualOverview = ({individual}) => {
<Descriptions.Item label="Date of Birth">{individual.date_of_birth || EM_DASH}</Descriptions.Item>
<Descriptions.Item label="Sex">{individual.sex || "UNKNOWN_SEX"}</Descriptions.Item>
<Descriptions.Item label="Age">{getAge(individual)}</Descriptions.Item>
<Descriptions.Item label="Ethnicity">{individual.ethnicity || "UNKNOWN_ETHNICITY"}</Descriptions.Item>
<Descriptions.Item label="Karyotypic Sex">{
individual.karyotypic_sex || "UNKNOWN_KARYOTYPE"}
</Descriptions.Item>
Expand Down
1 change: 0 additions & 1 deletion src/propTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@ export const individualPropTypesShape = PropTypes.shape({
age: PropTypes.object, // TODO: Shape
sex: PropTypes.oneOf(SEX_VALUES),
karyotypic_sex: PropTypes.oneOf(KARYOTYPIC_SEX_VALUES),
ethnicity: PropTypes.string,
taxonomy: ontologyShape,

phenopackets: PropTypes.arrayOf(PropTypes.object), // TODO
Expand Down

0 comments on commit a0aed42

Please sign in to comment.