-
Notifications
You must be signed in to change notification settings - Fork 3
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
Viewer updated for FSL 5.0.10 #28
base: master
Are you sure you want to change the base?
Conversation
Hello @TomMaullin! Thanks for submitting the PR.
|
In this PR I have made the following changes:
|
Hi @cmaumet , This PR is now ready for review and all remaining tests pass! Please let me know what you think of the changes I have made! |
Hi @TomMaullin, thanks for this update!
We should always be cautious when updating the ground truth of a test and make sure that we understand why this has to be done. I'm not convinced that the "rethreshold" is the reason here. Looking back at the original code (thanks a lot for pointing to it in your comment) the "rethreshold" was only used to compute the cluster label maps image and it was liberal and applied to the excursion set. To me this was a trick to get the cluster label maps (that should have been documented) but it does not affect the results.
Excellent! Thanks!
Okay. This could be related to Tom's comment the other day about how the contrast vector looking blurry. Can you double check what tool is used? This might help us understanding better what is happening here. |
Hmm yes, this would make sense as, for two of the tests which failed, all that had changed were the cluster labels (see Three other tests did fail and I apologize because I misunderstood the cause of one of them before. This was a test which looked for the contrast name (e.g. The only other tests which failed were
These images were created using matplotlib by the python FSL nidmresults viewer (see here). These were different contrast images to those Tom mentioned as those were the matlab SPM nidmresults viewer generated contrast images. I am unsure why they no longer give the same image on each run but looking at them they seem correct (see below). |
Hi @cmaumet , I was just wondering is this is now okay to merge? I am not sure what else can be done about the 2 above tests which I could not find the cause for the changes for. |
Hi @TomMaullin! Sorry for the delayed reply.
We had updated the code to make sure that cluster labels would remain the same (incf-nidash/nidmresults-fsl#134) and in fact it was the case when testing in incf-nidash/nidmresults-fsl#134. Do you have any sense of why cluster ids are changing here? I am wondering if it simply could be the case that in FSL 5.0.10 the cluster ids changed compared to the version we had before? Can you check or do you have another possible explanation?
It sounds like we do not have a strong assumption as to what should be the ground truth here. My take on this is that we should remove the test on the hexadecimal values of the images rather than modifying the ground truth to match the current output. Does that sound reasonable? |
@TomMaullin: Have you had the time to look into this since we talk last week? I've just checked and I can confirm that the peaks reported by FSL have changed between the New version of nidmresults-examples (with FSL 5.0.10):
Old version of nidmresults-examples (with our custom FSL-dev):
This means that the excursion sets are slightly different and it explains both the change in the table coordinates and the change in the slice images. Are you okay with this explanation? If you are, I suggest that we:
Will you have time to dedicate to this? Or should I get started with 1.? |
Hi @cmaumet , Hmm okay yes! I will do this and ping you when it's done! |
Hi @cmaumet , Just to confirm, did you mean the ground truth used in the tests on this repository or on |
Yes, that's right, I meant ground truth of the viewer. Unless it also impacts the ground truth we have for nidmresults-fsl? |
This PR aims to address any issues caused by displaying the new export from FSL 5.0.10 (see here).