-
Notifications
You must be signed in to change notification settings - Fork 266
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
Add support to read from prefixed columns #1364
Add support to read from prefixed columns #1364
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1364 +/- ##
==========================================
+ Coverage 90.88% 90.91% +0.03%
==========================================
Files 184 184
Lines 12645 12676 +31
==========================================
+ Hits 11492 11524 +32
+ Misses 1153 1152 -1
Continue to review full report at Codecov.
|
a35f121
to
1d685ec
Compare
1d685ec
to
3f2e41c
Compare
Does anyone know why codacy is still complaining? |
Yes, you changed the signature only of the hdf table reader, not of the base class. Methods should have the same signatures for all base classes. |
I am pretty sure codacy stopped complaining the last time I visited this. |
This fixes #1360 in order to work towards a DL1EventSource.
HDF5TableReader.read()
method now has an additional, optional argumentprefix
prefix=False
: No prefix. This is the default, because per default the writer does not add a prefix as wellprefix=True
: Using the container prefixprefix="my_prefix"
: Using a custom prefixThis enables the reading of the image parameter containers, that are written by the stage1 tool, but support for reading into multiple containers at once is still missing.