-
Notifications
You must be signed in to change notification settings - Fork 51
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
Fix #331 #340
Fix #331 #340
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #340 +/- ##
=======================================
Coverage 98.70% 98.71%
=======================================
Files 28 28
Lines 1860 1869 +9
Branches 402 403 +1
=======================================
+ Hits 1836 1845 +9
Misses 2 2
Partials 22 22 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small changes/suggestions, otherwise looking sensible.
src/alchemlyb/parsing/parquet.py
Outdated
|
||
from . import _init_attrs | ||
|
||
|
||
@_init_attrs | ||
def _check_metadata(path: str, T: float) -> pd.DataFrame: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The name is a bit misleading because it does not only check but also return a df. I would choose a name such as _read_parquet_with_metadata
or similar.
e7d5897
to
7f6d90e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your changes. It looks as if parquet is the way to go!
RTD fails https://readthedocs.org/projects/alchemlyb/builds/23006311/ because PR #338 is not merged yet. I'll merge nevertheless. |
Allow metadata to be loaded from the serialised parquet file.