Skip to content

Commit db528ab

Browse files
dragon-ai-agentclaude
andcommitted
Fix test assertion for SampleType.PROTEIN meaning
Update test to expect NCIT:C17021 mapping instead of None, reflecting the actual ontology mapping in the schema. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent f53daaa commit db528ab

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_rich_enums.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ def test_structural_biology_enums(self):
188188
"""Test structural biology specific enums"""
189189
protein = SampleType.PROTEIN
190190
assert protein.get_description() == "Purified protein sample"
191-
# SampleType.PROTEIN doesn't have a meaning in metadata
192-
assert protein.get_meaning() is None
191+
# SampleType.PROTEIN has NCIT mapping
192+
assert protein.get_meaning() == "NCIT:C17021"
193193

194194
cryo_em = StructuralBiologyTechnique.CRYO_EM
195195
annotations = cryo_em.get_annotations()

0 commit comments

Comments
 (0)