Problem
The as_markdown() function lowercases attribute names when generating markdown headers. This causes acronyms like "ICV" to appear as "icv" in the generated text files.
For example, an attribute named whole brain % of ICV in the JSON definition renders as:
### Whole brain % of icv—`OIFMA_MSFT_399051`
instead of:
### Whole brain % of ICV—`OIFMA_MSFT_399051`
Similarly affects left % of ICV and right % of ICV in hippocampal_asymmetry_metrics.
Expected behavior
Acronyms (or at minimum, the original casing of attribute names) should be preserved in generated markdown headers.
Found via Copilot review on openimagingdata/findingmodels#48.
🤖 Generated with Claude Code
Problem
The
as_markdown()function lowercases attribute names when generating markdown headers. This causes acronyms like "ICV" to appear as "icv" in the generated text files.For example, an attribute named
whole brain % of ICVin the JSON definition renders as:### Whole brain % of icv—`OIFMA_MSFT_399051`instead of:
### Whole brain % of ICV—`OIFMA_MSFT_399051`Similarly affects
left % of ICVandright % of ICVinhippocampal_asymmetry_metrics.Expected behavior
Acronyms (or at minimum, the original casing of attribute names) should be preserved in generated markdown headers.
Found via Copilot review on openimagingdata/findingmodels#48.
🤖 Generated with Claude Code