cidgoh / DataHarmonizer

A standardized browser-based spreadsheet editor and validator that can be run offline and locally, and which includes templates for SARS-CoV-2 and Monkeypox sampling data. This project, created by the Centre for Infectious Disease Genomics and One Health (CIDGOH), at Simon Fraser University, is now an open-source collaboration with contributions from the National Microbiome Data Collaborative (NMDC), the LinkML development team, and others.
MIT License
91 stars 23 forks source link

Let required attribute to take precedence over recommended for header style #428

Closed pkalita-lbl closed 3 months ago

pkalita-lbl commented 3 months ago

I was doing a test integration of the latest unreleased DataHarmonizer changes into NMDC, and I noticed this minor issue. In our schema we have a number of slots that have both required: true and recommended: true. It's a bit of a quirk of how we build our schema that both of those get set. Regardless, it seems reasonable to me to present these with the "required" column header style, rather than the "recommended" style.