You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When viewing the html generated by the _repr_html() method of a Collection or Catalog (e.g., in a notebook or browser), there are missing Target fields in some of the links. This appears to be due to invalid html. For example, something like this in a notebook...
* Switches from unittest to pytest.
* Adds pytest parametrizations in place of for loops and subTests.
* The tests directory was removed from the coverage measurement to better represent the pystac code coverage. This results in a lower coverage percentage, so the benchmark (fail_under) was lowered from 94% to 90%.
* Adds tests for the html module to get coverage over 90%. In so doing, issue #955 was revealed. Once resolved, a more complete test of the module can be implemented.
When viewing the html generated by the
_repr_html()
method of a Collection or Catalog (e.g., in a notebook or browser), there are missingTarget
fields in some of the links. This appears to be due to invalid html. For example, something like this in a notebook......will be missing some Link
Target
values:Looking at the html for that first circled link...
...the problem seems to be the invalid tag:
<Catalog id=test>
. I think the link address should replace the tag.There are a few other minor items that could be included in a fix for this issue
ID
in the example above, are in bold font.<!DOCTYPE html>
and enclosing the content in<html></html>
tags.The text was updated successfully, but these errors were encountered: