cedadev / checksit

File-checking made simple
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

checksit show-specs to print out specs within folders #40

Closed joshua-hampton closed 9 months ago

joshua-hampton commented 1 year ago

Previously, checksit show-specs ncas-amof-2.0.0/amof-global-attrs ceda-base would not print out the specs in the specs/groups/ncas-amof-2.0.0/amof-global-attrs.yml, but would print out those in specs/groups/ceda-base.yml.

The show_specs function in specs.py now matches spec_id between the key in the spec file and a list of spec_ids that removes the spec group folder (e.g. ncas-amof-2.0.0/amof-global-attrs becomes amof-global-attrs), but still prints out ncas-amof-2.0.0/amof-global-attrs.

joshua-hampton commented 12 months ago

Also made a few changes to the formatting of some errors for compact log mode

agstephens commented 9 months ago

@joshua-hampton: All looks good to me. 👍