Closed larsoner closed 10 years ago
Correction, I mean the build now passes:
FYI I was able to activate the service hook for Travis (I guess I have enough permissions to do so?). But I don't think I can setup coveralls
, though.
I think I got coveralls working, see:
https://coveralls.io/r/nipy/PySurfer
So now we just need to sort out where to host the fsaverage_min.tar.gz
file, and this should be good to go.
nice
I am just a bit -1 on the “surfer/data". It was nice to have the data for the examples in the examples data.
also the surfer/data should not be installed with pip. Check manifest.in
Okay, I cam change that back
I never thought I'd see the day. This is awesome!
As for the examples, I'd just keep in mind that it seems a common thing for beginners to copy the examples (I guess from the website) and try to run them, then modify for their specific task. So we should make sure the changes aren't going to interfere with that process/confuse people who give no thought to the constraints of CI, etc.
If people pip install PySurfer and then try to use surfer.data_path
are they going to get a confusing error? I might lean towards using a function that makes it a little bit more explicit that you're trying to fetch built-in data, with more informative failure modes when the data don't exist locally.
@mwaskom I think I'll just revert the changes for now, leaving reorganization for another PR if necessary (probably not)
Okay, surfer/data
changes reverted, should be ready for review @mwaskom @agramfort
perfect
@mwaskom please merge if you're happy
thanks @Eric89GXL !
Very happy to merge, this is awesome.
Travis builds pass, see below, and coveralls has coverage info.
Getting Travis to work required moving the
example_data
(~2.8 MB) into the package (assurfer/data
), which I think is a welcome change anyway. I also fixed a fewpep8
issues.Also, the
fsaverage_min.tar.gz
file is currently hosted on my space at UW, which is not a tenable long-term solution. @mwaskom do you have somewhere you could host it? If not, @agramfort would it be possible to upload it to Martino's space somewhere? It's <30MB.