Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Python implementation for StatisticsSurface (#669)
* Initial work * Run make format * Add brainstat to runtime dependencies * Fix typo in docstring Co-authored-by: omar-rifai <[email protected]> * Fix type mismatch warning * Fix type mismatch in function signature * Fix unresolved reference error * Fix extra hash in comment (PEP8) * Fix typo in docstring * Remove unused import * Use set literal * Use lowercase for inner function variable names * Fix typo in docstring * Add missing apostrophe * Use lowercase for inner function variable names * Fix type mismatch between plot functions * Silence broad try except warning * Ensure nilearn is installed with plotting capabilities * verbose + print -> cprint * improve docstring of clinica_surfstat * Rewrite... * fix missing Path * Start adding unit tests * Add more unit tests * Add more unit tests again * Linting... * fix * Linting... * Get rid of Templates * Typo in file name * Fix broken tests * Get rid of private call * some fixes * Fix broken test * Initial work * Run make format * Add brainstat to runtime dependencies * Fix typo in docstring Co-authored-by: omar-rifai <[email protected]> * Fix type mismatch warning * Fix type mismatch in function signature * Fix unresolved reference error * Fix extra hash in comment (PEP8) * Fix typo in docstring * Remove unused import * Use set literal * Use lowercase for inner function variable names * Fix typo in docstring * Add missing apostrophe * Use lowercase for inner function variable names * Fix type mismatch between plot functions * Silence broad try except warning * Ensure nilearn is installed with plotting capabilities * verbose + print -> cprint * improve docstring of clinica_surfstat * Rewrite... * fix missing Path * Start adding unit tests * Add more unit tests * Add more unit tests again * Linting... * fix * Linting... * Get rid of Templates * Typo in file name * Fix broken tests * Get rid of private call * some fixes * Fix broken test * Run formatter * Update lock file * Enable testing with Python 3.10 Add explicit install of a prerelease version of VTK with wheels provided for Python 3.10. * Use VTK 9.2 compatible BrainSpace * improve non regression test * update lock file * Drop version restrictions * Remove unused import * Remove unused imports * Remove self-resolving imports * Fix inconsistency between argname and docstring * Add static typing to write dispatcher * Add static typing to plot dispatcher * Fix typos and wrap docstring * Replace function call by set literal * Remove unused import * Enable passing a surface file to clinica_surfstat * use snake case style for attributes * Update clinica/pipelines/statistics_surface/_model.py Co-authored-by: Ghislain Vaillant <[email protected]> * remove comment * Turn GLM results classes into dataclasses * Refactor Results classes with better serializing API * Update clinica/pipelines/statistics_surface/clinica_surfstat.py Co-authored-by: Ghislain Vaillant <[email protected]> * Update clinica/pipelines/statistics_surface/_model.py Co-authored-by: Ghislain Vaillant <[email protected]> * Update clinica/pipelines/statistics_surface/_model.py Co-authored-by: Ghislain Vaillant <[email protected]> * Update clinica/pipelines/statistics_surface/_model.py Co-authored-by: Ghislain Vaillant <[email protected]> * Refactor _is_categorical for single responsability * Some fixes... * Replace GLMFactory class with create_glm_model function * Remove use of kwargs and pass parameters explicitely * Update minimum version of brainspace * Fix tests - reuse lambda sum aggregation * Add types to docstrings to comply with Numpydoc specs * Simplify _read_and_check_tsv_file Co-authored-by: Ghislain Vaillant <[email protected]> Co-authored-by: Ghislain Vaillant <[email protected]> Co-authored-by: omar-rifai <[email protected]>
- Loading branch information