Skip to content

Conversation

felliott
Copy link
Member

@felliott felliott commented Sep 1, 2016

This PR removes deps on IPython and rpy2 in favor of lighter-weight alternatives.

 * The converter and formatter modules MFR uses to render IPython notebooks have been split out into their own distributions, nbconvert and nbformat. Update the renderer to use these and drop the dependency on IPython as a whole.
 * rpy2 was only being used to convert SPSS .sav files to a format pandas can handle. pspp-convert is a program that can convert .sav to .csv. Update the tabular renderer to use that instead. As a side effect, it turns out the standard csv library is better at detecting data types than pandas is, so use that to render the resulting csv file
@mfraezz
Copy link
Member

mfraezz commented Sep 6, 2016

LGTM, manual testing revealed no issues ⭐

Consider adding something to the docs about configuring mfr-test.json for pspp, but otherwise RTM.

@felliott felliott merged commit 8d3c485 into CenterForOpenScience:develop Sep 7, 2016
@felliott felliott deleted the feature/slimmer-deps branch September 7, 2016 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants