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

fixed examples that use pandas to read hdf5 #940

Merged
merged 3 commits into from
Jan 28, 2019

Conversation

kosack
Copy link
Contributor

@kosack kosack commented Jan 28, 2019

changed read_hdf(filename) to read_hdf(filename, key='xxx') everywhere. This avoids bug in latest pandas where finding the first dataset automatically fails.

Fixes #938 (with workaround to avoid using automatic dataset detection)

changed `read_hdf(filename)` to `read_hdf(filename, key='xxx') everywhere`.  This avoids bug in latest pandas where finding the first dataset automatically fails.
@kosack
Copy link
Contributor Author

kosack commented Jan 28, 2019

Oh, I also made a small edit to the LST bootcamp notebook: in it the single-tel parameters were labeled as DL2, but that is actually DL1, following the CTA definitions. Doesn't change the code at all though.

@codecov
Copy link

codecov bot commented Jan 28, 2019

Codecov Report

Merging #940 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #940   +/-   ##
=======================================
  Coverage   78.57%   78.57%           
=======================================
  Files         191      191           
  Lines       10867    10867           
=======================================
  Hits         8539     8539           
  Misses       2328     2328
Impacted Files Coverage Δ
ctapipe/io/tests/test_hdf5.py 93.08% <100%> (ø) ⬆️

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 51bc274...62ed6ad. Read the comment docs.

@dneise dneise merged commit c1f9931 into cta-observatory:master Jan 28, 2019
@kosack kosack deleted the fix/broken_pandas_hdf5_Read branch May 20, 2019 14:03
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.

3 participants