-
Notifications
You must be signed in to change notification settings - Fork 265
ecat image importer #46
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
Conversation
Sorry to come to this so late. I had only a quick look at the code, but it looks nicely and carefully done. I suggest that I just merge, and have a look soon, with pull requests for you to look at, as they come to me. The things that came to me at a very quick look are:
http://nipy.sourceforge.net/devel/guidelines/testing.html#many-tests-in-one-test-function with the parametric decorator also apply to the ParametricTestCase, but if they do, then we should probably try and move away from it, by just using assert_true(True) without the yields. |
Hi Matthew.. Thanks for getting to this... On Fri, Sep 9, 2011 at 1:10 PM, Matthew Brett <
Sounds good....
True...its up to you...I could also find another solution to avoid Analyze
probably..ill double check and clean
thats a reasonable point...I started this code a while back..Ill revisit
Cindee Madison |
I'll have a go at fleshing out the binary header idea in another branch, will let you know. In the meantime, I see that the doctests are failing - would you mind taking a look?
|
You probably saw my planned refactoring in #50 Let me know if it makes ECAT harder. I see that I used to use ParametricTestCase and parametric a lot, but I refactored them out gradually since your original fork. In fact those testing utilities don't exist any more in trunk... Sorry, I should have announced that more obviously a while ago. |
On Mon, Sep 12, 2011 at 11:17 AM, Matthew Brett <
Ill try to review....(might be a day or two if I can avoid my users)
no worries...should be easy to clean up...again just give me a couple days --C
Cindee Madison |
Any interest in working on top of the wrapstruct changes? |
to work on top of wrapstruct changes....would you recommend rebasing on master? and will add suggested change for windows-friendly file reference |
On Tue, Sep 27, 2011 at 2:44 PM, cindeem
Yes, if you can bear it. I was hoping that it would be useful for you The current trunk doesn't have the parametric tests anymore - but
Thanks for that. |
On Wed, Sep 28, 2011 at 12:29 AM, Matthew Brett <
Ill finish fixing parametric tests. and push that. im hoping to get to this today..but might be this weekend
Cindee Madison |
refactored to remove parametric tests. if you pull in this ecat, Ill for a new branch to work in the wrapstruct to avoid rebase issues. thanks! |
OK - merging - thanks |
thanks.. Ill look at integrating your wrapstruct changes...try to get this updated in On Wed, Oct 19, 2011 at 1:29 PM, Matthew Brett <
Cindee Madison |
On Wed, Oct 19, 2011 at 1:32 PM, cindeem
Test failure on PPC - endian issues maybe? http://nipy.bic.berkeley.edu/builders/nibabel-py2.6-osx-10.4/builds/16/steps/shell_1/logs/stdio Do you have access to a big-endian machine somewhere for testing? |
On Wed, Oct 19, 2011 at 6:05 PM, Matthew Brett matthew.brett@gmail.com wrote:
@cindeem - any progress? Can I help with a login? |
I sent an email a few days ago.. On Tue, Oct 25, 2011 at 7:31 PM, Matthew Brett <
Cindee Madison |
Huh - I didn't get it. I'll make you a login tomorrow. Can you send me your public ssh key somehow? |
On Tue, Oct 25, 2011 at 8:59 PM, Matthew Brett <
it is odd...but no worries
Ill send you one tmr.. C
Cindee Madison |
Here is my public key, or if you have access to the BIC raid, we could set up a passwd (tmp) and I --C On Tue, Oct 25, 2011 at 9:02 PM, Cindee Madison cindee@berkeley.edu wrote:
Cindee Madison |
Any progress on this one? I'm hoping to do a release fairly soon. |
I fixed this a while back and did a new pull request....sorry our communication seems to not be working...let me know if you cannot find the pull request |
On Fri, Nov 4, 2011 at 3:25 PM, cindeem
Should it be here: https://github.com/nipy/nibabel/pulls ? |
sorry, not sure why its not there... On Fri, Nov 4, 2011 at 3:30 PM, Matthew Brett <
Cindee Madison |
On Fri, Nov 4, 2011 at 3:49 PM, cindeem
Thanks - that would be very helpful. |
Hi all..
I finally found the time to refactor/rework some old ecat code to work with latest nibabel master.
It can load data either by frame (the ecat format can hold more than one frame)
Or
will load all the data into a 4D volume (in which case it will check validity of the affine)
It currently only reads Ecat7 files, and is not set up to write files to this format (due to complexity of writing the header, mlist, subheaders, and data blocks). Though I generally think most people will want to just import this file type and access the data.
I have added a very tiny (artificial) 2.1K tinypet.v file in the tests/data directory for running a subset of my tests.
Comments always welcome
--Cindee