made stats functions consistent with BaseParser #42
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In this PR,
Made all four rs.cc functions compatible with the BaseParser (see also https://github.com/rs-station/careless/blob/main/careless/stats/parser.py), itself taken from careless.stats without modification. This provides the user with a uniform interface and makes it easier to integrate the functions in code that just saves the results as CSV files and figure files by virtue of the
-i
,-o
, and '-s` flags introduced by the BaseParser. I did not modify any calculations.Changed datatypes from MTZInt to int32 in the
results
DataFrame as introduced by Kevin in the careless.stats functions. This locally addresses the issueseaborn 0.12.x
breaks plotting functionality #36In sns.lineplot calls I replaced the
ci
keyword witherrorbar
Made the analyze_...() functions compatible with both MTZ path and rs.DataSet input to facilitate use as function calls within notebooks. I do so using the following: