-
Notifications
You must be signed in to change notification settings - Fork 13
Fixes #834 Major flavor testing revamp #835
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
Up-to-date exemplary output of bugs 🐛 |
jan-petr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fixed two small bugs. All references are now correctly pushed. It all runs through without issues.
But:
- When comparing Legacy with reference. Can we skip log files? Cause I didn't upload logs to reference.
Missing: /ExploreASL/xASL_module_Import.log - At the end - the log returned
no errors or warnings- which is strange or have we removed all the errors and warnings already?!
Other than that - ready to merge this one in the current state and do more changes elsewhere. Because we need to be able to work with new Flavors and Testing to fix other issues.
Yeah, there are two solutions. Easiest is to create an optional input to ignore all .log files. The other method would be to return all differences in a struct and remove the log file differences there. Wasn't sure which one would be optimal. I definitely agree that this is necessary though. I removed the import logs as well when I was uploading the references.
I think the BIDS comparison does not work 100% correctly. Don't know if we should work on this here though. I saw for one text file that they were not the same, it did report it, but the "identical" value was still "identical". I want to integrate this in a nicer way anyway, so maybe we do this later on. I just thought we need an initial new running script for all of this. Maybe we also delete
Agree, that's why this was the first thing I wanted to work on 👍 |
Example with subset of flavorsExemplary JSON file{
"pathExploreASL": "...//ExploreASL",
"pathFlavorDatabase": "...//FlavorDatabase",
"cmdCloneFlavors": "git clone git@github.com:ExploreASL/FlavorDatabase.git",
"flavorList": ["GE_PCASL_3Dspiral_14.0LX_1", "Philips_PCASL_2DEPI_3.2.1.1_1", "Siemens_PASL_3DGRASE_E11_1"]
}Test errors in import and processing |
b595630 to
c2607ae
Compare
jan-petr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor header stuff. I will do the testing now...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deleted comment :)
|
@MichaelStritt the system call on line 82 in
|
jan-petr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some more tiny issues, but other than that - it's smoothly running...
I personally never used that option. I have my local flavor database that works nicely as is. Feel free to change this, but IMHO this is not part of this issue.
There are detailed explanations now AND those variables have been there before. This issue is not about optimizing the naming. It's about getting the flavor testing running again.
Yes, that's what the new implementation does.
I made a comment about that in the corresponding issue. I'm against that and/or don't want to implement that.
This is done step by step. Jan & I are getting rid of as much of the specific configurations as possible. Next steps here are to add
Minor merge conflict incoming, but I think you'll be able to deal with this. |
jan-petr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK.
This change was on my to-do for a long time now. Especially while testing the different code bugs, we can see that this is required. The CreateFileReport script is not run within a try-catch statement. This is a main reason why it should never crash. Therefore we need proper checks here.
Originally I had 10 separate commits here, but it was getting a bit ugly. I squashed them together. I am mainly revamping xASL_bids_CompareStructures here and I created a unit test for it. There is also an update for the testing scripts related to the flavor testing and I moved a lot of functions to separate scripts.
We export nice tables now :)
fd2fa55 to
487052e
Compare
Linked issue
Read description in #834.
How to test
Check testing description in #834.
Comments
Let's improve this step by step.