Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pywwt/layers.py: have add_data_layer() fallback to add_table_layer() #201

Merged
merged 3 commits into from
Apr 24, 2019

Conversation

pkgw
Copy link
Contributor

@pkgw pkgw commented Apr 23, 2019

The method name add_data_layer() may be deprecated, but to maintain compatibility we should still actually do something. So, fall back to add_table_layer() when called. This fixes glue-wwt, which hasn't been updated to the new API yet.

The method name `add_data_layer()` may be deprecated, but to maintain
compatibility we should still actually do something. So, fall back to
`add_table_layer()` when called. This fixes glue-wwt, which hasn't been
updated to the new API yet.
@codecov
Copy link

codecov bot commented Apr 23, 2019

Codecov Report

Merging #201 into master will increase coverage by 0.08%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #201      +/-   ##
==========================================
+ Coverage   58.66%   58.75%   +0.08%     
==========================================
  Files          24       24              
  Lines        1633     1634       +1     
==========================================
+ Hits          958      960       +2     
+ Misses        675      674       -1
Impacted Files Coverage Δ
pywwt/layers.py 89.52% <100%> (+0.35%) ⬆️

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 9e39419...258bdd1. Read the comment docs.

Copy link
Member

@astrofrog astrofrog left a comment

Choose a reason for hiding this comment

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

Oops, this was an oversight, thanks!

@astrofrog astrofrog merged commit b74b2b8 into WorldWideTelescope:master Apr 24, 2019
@pkgw pkgw deleted the data-layer-fallback branch May 6, 2019 18:51
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