Skip to content

Allow top-level metadata type to be union of null, object #659 - #730

Merged
mergify[bot] merged 1 commit into
tskit-dev:masterfrom
benjeffery:top-level-metadata-null-union
Jul 23, 2020
Merged

mergify[bot] merged 1 commit into
tskit-dev:masterfrom
benjeffery:top-level-metadata-null-union

Conversation

@benjeffery

Copy link
Copy Markdown
Member

Fixes #659

@benjeffery
benjeffery marked this pull request as ready for review July 23, 2020 13:41
@codecov

codecov Bot commented Jul 23, 2020 •

Copy link
Copy Markdown

Codecov Report

Merging #730 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #730   +/-   ##
=======================================
  Coverage   87.69%   87.70%           
=======================================
  Files          24       24           
  Lines       19313    19328   +15     
  Branches     3611     3618    +7     
=======================================
+ Hits        16936    16951   +15     
  Misses       1292     1292           
  Partials     1085     1085           
Flag Coverage Δ
#c_tests 85.33% <ø> (ø)
#python_c_tests 90.12% <100.00%> (+0.01%) ⬆️
#python_tests 99.01% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
python/tskit/metadata.py 98.42% <100.00%> (+0.09%) ⬆️

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 c612017...ce99131. Read the comment docs.

@jeromekelleher jeromekelleher left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, one query about the schema type though.

Comment thread python/tskit/metadata.py Resolved
@AdminBot-tskit
AdminBot-tskit force-pushed the top-level-metadata-null-union branch from cae857c to ce99131 Compare July 23, 2020 21:10
@mergify
mergify Bot merged commit 9398b9a into tskit-dev:master Jul 23, 2020
@benjeffery
benjeffery deleted the top-level-metadata-null-union branch August 27, 2020 14:28
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.

Allow top-level metadata type to be a union of null, object.

3 participants