dandi / dandisets-healthstatus

Healthchecks of dandisets and support libraries (pynwb and matnwb)
0 stars 1 forks source link

Add references/URLs to specific lines in the status.yaml files #22

Closed yarikoptic closed 1 year ago

yarikoptic commented 1 year ago

As requested in https://github.com/dandi/dandisets-healthstatus/issues/18#issuecomment-1382055138 with some pointers to possible solutions presented on SO. Might be easier to implement after/along with #21 so when (re)loading results from .yaml files just keep track about location of each entry there.

jwodder commented 1 year ago

@yarikoptic Exactly which lines in status.yaml files should the README link to? (Use this file as an example if necessary.) Your comment here implies that you want the "X passed", "Y failed", and "Z timed out" strings under each test to each link to the matching assets_* fields in the matching test item, but the referenced SO link only supports adding the line number for the start of a mapping to that mapping, not assigning line numbers to string fields in mappings.

yarikoptic commented 1 year ago

3 passed , 0 failed, 0 timeout

so -- yes - to the matching assets_ fields. If that top level SO doesn't give a complete solution, please have a look below e.g. at https://stackoverflow.com/a/70679131/1265472 or mentioned solution there using ruaml.yaml.