Skip to content

In Item.make_asset_hrefs_relative, leave relative hrefs alone.#229

Merged
lossyrob merged 1 commit into
developfrom
fix/item-asset-relative-hrefs
Oct 30, 2020
Merged

In Item.make_asset_hrefs_relative, leave relative hrefs alone.#229
lossyrob merged 1 commit into
developfrom
fix/item-asset-relative-hrefs

Conversation

@lossyrob
Copy link
Copy Markdown
Member

This fixes a bug where make_asset_hrefs_relative was modifying already relative paths, which set the HREFs to invalid locations.

This fixes a bug where make_asset_hrefs_relative was modifying already
relative paths, which set the HREFs to invalid locations.
@codecov-io
Copy link
Copy Markdown

codecov-io commented Oct 30, 2020

Codecov Report

Merging #229 into develop will increase coverage by 0.23%.
The diff coverage is 87.50%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #229      +/-   ##
===========================================
+ Coverage    93.21%   93.44%   +0.23%     
===========================================
  Files           29       29              
  Lines         3582     3586       +4     
===========================================
+ Hits          3339     3351      +12     
+ Misses         243      235       -8     
Impacted Files Coverage Δ
pystac/item.py 97.68% <87.50%> (+1.32%) ⬆️
pystac/catalog.py 95.84% <0.00%> (+0.89%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1a413d3...12e872d. Read the comment docs.

@lossyrob lossyrob merged commit 6928034 into develop Oct 30, 2020
@lossyrob lossyrob deleted the fix/item-asset-relative-hrefs branch October 30, 2020 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants