-
Notifications
You must be signed in to change notification settings - Fork 9
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
Brainprint PyTests #19
Brainprint PyTests #19
Conversation
Codecov Report
@@ Coverage Diff @@
## main #19 +/- ##
=======================================
Coverage 26.62% 26.62%
=======================================
Files 8 8
Lines 353 353
Branches 43 43
=======================================
Hits 94 94
Misses 256 256
Partials 3 3
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Thanks, can you:
|
In this commit cd606cd only errors were resolved. The tests have not been moved to brainprint/utils/test yet. |
Apparently f8a5e9d automated tests are not possible on github as it requires FREESURFER export and subject directory as well. |
Yes, but are there any tests that can be done without FreeSurfer to be installed? We would not want to install all of FreeSurfer as that is too large and takes too long. But we can replace several of the freesurfer binaries with our own python scripts, for example mri_binarize just combines labels, and there is also code for marching-cube (to extract surfaces), that could increase the number of tests that do not need FreeSurfer. |
I think @m-reuter's comment touches the more general question how independent of FreeSurfer this software can be already. To my understanding, the only FreeSurfer binaries that we use are |
Redirecting the pull request from the previous target branch (main) to a new branch (add-tests), because the pull request still needs to be modified, but pushing to the external, forked repository is no longer desired. Will eventually merge the pull request into the new target branch, do necessary modifications, and after that create another PR back into the main branch. |
Method to run brainprint test cases using pytest:
pip install pytest
pytest filename.py