Skip to content

fixed imtrim for arrays input #467

fixed imtrim for arrays input

fixed imtrim for arrays input #467

Triggered via push September 29, 2024 16:49
Status Queued
Total duration
Artifacts

test.yml

on: push
Matrix: test
PyPI Deploy
PyPI Deploy
Fit to window
Zoom out
Zoom in

Annotations

109 errors and 1 warning
[flake8] niftypet/nimpa/acr/params.py#L154: niftypet/nimpa/acr/params.py#L154
W293 blank line contains whitespace
[flake8] niftypet/nimpa/acr/params.py#L163: niftypet/nimpa/acr/params.py#L163
E231 missing whitespace after ','
[flake8] niftypet/nimpa/acr/params.py#L164: niftypet/nimpa/acr/params.py#L164
W293 blank line contains whitespace
[flake8] niftypet/nimpa/acr/params.py#L191: niftypet/nimpa/acr/params.py#L191
W293 blank line contains whitespace
[flake8] niftypet/nimpa/acr/params.py#L193: niftypet/nimpa/acr/params.py#L193
W293 blank line contains whitespace
[flake8] niftypet/nimpa/acr/params.py#L202: niftypet/nimpa/acr/params.py#L202
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L202: niftypet/nimpa/acr/params.py#L202
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L203: niftypet/nimpa/acr/params.py#L203
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L203: niftypet/nimpa/acr/params.py#L203
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L204: niftypet/nimpa/acr/params.py#L204
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L204: niftypet/nimpa/acr/params.py#L204
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L205: niftypet/nimpa/acr/params.py#L205
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L205: niftypet/nimpa/acr/params.py#L205
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L206: niftypet/nimpa/acr/params.py#L206
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L206: niftypet/nimpa/acr/params.py#L206
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L207: niftypet/nimpa/acr/params.py#L207
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L207: niftypet/nimpa/acr/params.py#L207
E221 multiple spaces before operator
[flake8] niftypet/nimpa/acr/params.py#L207: niftypet/nimpa/acr/params.py#L207
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L208: niftypet/nimpa/acr/params.py#L208
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L208: niftypet/nimpa/acr/params.py#L208
E221 multiple spaces before operator
[flake8] niftypet/nimpa/acr/params.py#L208: niftypet/nimpa/acr/params.py#L208
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L209: niftypet/nimpa/acr/params.py#L209
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L209: niftypet/nimpa/acr/params.py#L209
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L210: niftypet/nimpa/acr/params.py#L210
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L211: niftypet/nimpa/acr/params.py#L211
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L211: niftypet/nimpa/acr/params.py#L211
E221 multiple spaces before operator
[flake8] niftypet/nimpa/acr/params.py#L211: niftypet/nimpa/acr/params.py#L211
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L212: niftypet/nimpa/acr/params.py#L212
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L212: niftypet/nimpa/acr/params.py#L212
E221 multiple spaces before operator
[flake8] niftypet/nimpa/acr/params.py#L212: niftypet/nimpa/acr/params.py#L212
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L223: niftypet/nimpa/acr/params.py#L223
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L223: niftypet/nimpa/acr/params.py#L223
E221 multiple spaces before operator
[flake8] niftypet/nimpa/acr/params.py#L223: niftypet/nimpa/acr/params.py#L223
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L224: niftypet/nimpa/acr/params.py#L224
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L224: niftypet/nimpa/acr/params.py#L224
E221 multiple spaces before operator
[flake8] niftypet/nimpa/acr/params.py#L224: niftypet/nimpa/acr/params.py#L224
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L225: niftypet/nimpa/acr/params.py#L225
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L225: niftypet/nimpa/acr/params.py#L225
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L226: niftypet/nimpa/acr/params.py#L226
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L226: niftypet/nimpa/acr/params.py#L226
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L231: niftypet/nimpa/acr/params.py#L231
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L231: niftypet/nimpa/acr/params.py#L231
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L232: niftypet/nimpa/acr/params.py#L232
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L232: niftypet/nimpa/acr/params.py#L232
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L233: niftypet/nimpa/acr/params.py#L233
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L234: niftypet/nimpa/acr/params.py#L234
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L234: niftypet/nimpa/acr/params.py#L234
E221 multiple spaces before operator
[flake8] niftypet/nimpa/acr/params.py#L234: niftypet/nimpa/acr/params.py#L234
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L235: niftypet/nimpa/acr/params.py#L235
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L235: niftypet/nimpa/acr/params.py#L235
E221 multiple spaces before operator
[flake8] niftypet/nimpa/acr/params.py#L235: niftypet/nimpa/acr/params.py#L235
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L236: niftypet/nimpa/acr/params.py#L236
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L236: niftypet/nimpa/acr/params.py#L236
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L237: niftypet/nimpa/acr/params.py#L237
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L237: niftypet/nimpa/acr/params.py#L237
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L238: niftypet/nimpa/acr/params.py#L238
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L238: niftypet/nimpa/acr/params.py#L238
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L239: niftypet/nimpa/acr/params.py#L239
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L239: niftypet/nimpa/acr/params.py#L239
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L240: niftypet/nimpa/acr/params.py#L240
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L240: niftypet/nimpa/acr/params.py#L240
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L249: niftypet/nimpa/acr/params.py#L249
W293 blank line contains whitespace
[flake8] niftypet/nimpa/acr/params.py#L270: niftypet/nimpa/acr/params.py#L270
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L270: niftypet/nimpa/acr/params.py#L270
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L271: niftypet/nimpa/acr/params.py#L271
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/params.py#L271: niftypet/nimpa/acr/params.py#L271
E251 unexpected spaces around keyword / parameter equals
[flake8] niftypet/nimpa/acr/templates.py#L310: niftypet/nimpa/acr/templates.py#L310
E501 line too long (102 > 99 characters)
[flake8] niftypet/nimpa/acr/templates.py#L311: niftypet/nimpa/acr/templates.py#L311
E501 line too long (102 > 99 characters)
[flake8] niftypet/nimpa/acr/templates.py#L312: niftypet/nimpa/acr/templates.py#L312
E501 line too long (102 > 99 characters)
[flake8] niftypet/nimpa/prc/imio.py#L694: niftypet/nimpa/prc/imio.py#L694
B001 Do not use bare `except:`, it also catches unexpected events like memory errors, interrupts, system exit, and so on. Prefer `except Exception:`. If you're sure what you're doing, be explicit and write `except BaseException:`.
[flake8] niftypet/nimpa/prc/imio.py#L694: niftypet/nimpa/prc/imio.py#L694
E722 do not use bare 'except'
[flake8] niftypet/nimpa/prc/imio.py#L696: niftypet/nimpa/prc/imio.py#L696
W293 blank line contains whitespace
[flake8] niftypet/nimpa/prc/imio.py#L698: niftypet/nimpa/prc/imio.py#L698
E303 too many blank lines (2)
[flake8] niftypet/nimpa/prc/imio.py#L1057: niftypet/nimpa/prc/imio.py#L1057
E231 missing whitespace after ':'
[flake8] niftypet/nimpa/prc/prc.py#L98: niftypet/nimpa/prc/prc.py#L98
E231 missing whitespace after ':'
[flake8] niftypet/nimpa/prc/prc.py#L102: niftypet/nimpa/prc/prc.py#L102
E231 missing whitespace after ':'
[flake8] niftypet/nimpa/prc/prc.py#L222: niftypet/nimpa/prc/prc.py#L222
E501 line too long (110 > 99 characters)
[flake8] niftypet/nimpa/prc/prc.py#L450: niftypet/nimpa/prc/prc.py#L450
E501 line too long (104 > 99 characters)
[flake8] niftypet/nimpa/prc/prc.py#L456: niftypet/nimpa/prc/prc.py#L456
E265 block comment should start with '# '
[flake8] niftypet/nimpa/prc/prc.py#L462: niftypet/nimpa/prc/prc.py#L462
E265 block comment should start with '# '
[flake8] niftypet/nimpa/prc/prc.py#L464: niftypet/nimpa/prc/prc.py#L464
E265 block comment should start with '# '
[flake8] niftypet/nimpa/prc/prc.py#L468: niftypet/nimpa/prc/prc.py#L468
E265 block comment should start with '# '
[flake8] niftypet/nimpa/prc/prc.py#L510: niftypet/nimpa/prc/prc.py#L510
E265 block comment should start with '# '
[flake8] niftypet/nimpa/prc/prc.py#L517: niftypet/nimpa/prc/prc.py#L517
E225 missing whitespace around operator
[flake8] niftypet/nimpa/prc/prc.py#L522: niftypet/nimpa/prc/prc.py#L522
W293 blank line contains whitespace
[flake8] niftypet/nimpa/prc/prc.py#L523: niftypet/nimpa/prc/prc.py#L523
E225 missing whitespace around operator
[flake8] niftypet/nimpa/prc/prc.py#L528: niftypet/nimpa/prc/prc.py#L528
E225 missing whitespace around operator
[flake8] niftypet/nimpa/prc/prc.py#L536: niftypet/nimpa/prc/prc.py#L536
E501 line too long (105 > 99 characters)
[flake8] niftypet/nimpa/prc/prc.py#L590: niftypet/nimpa/prc/prc.py#L590
E231 missing whitespace after ','
[flake8] niftypet/nimpa/prc/prc.py#L590: niftypet/nimpa/prc/prc.py#L590
E501 line too long (117 > 99 characters)
[flake8] niftypet/nimpa/prc/prc.py#L590: niftypet/nimpa/prc/prc.py#L590
E262 inline comment should start with '# '
[flake8] niftypet/nimpa/prc/prc.py#L599: niftypet/nimpa/prc/prc.py#L599
E262 inline comment should start with '# '
[flake8] niftypet/nimpa/prc/prc.py#L599: niftypet/nimpa/prc/prc.py#L599
E501 line too long (112 > 99 characters)
[flake8] niftypet/nimpa/prc/prc.py#L935: niftypet/nimpa/prc/prc.py#L935
E225 missing whitespace around operator
[flake8] niftypet/nimpa/prc/regseg.py#L19: niftypet/nimpa/prc/regseg.py#L19
I001 isort found an import in the wrong position
[flake8] niftypet/nimpa/prc/regseg.py#L20: niftypet/nimpa/prc/regseg.py#L20
I005 isort found an unexpected missing import
[flake8] niftypet/nimpa/prc/regseg.py#L151: niftypet/nimpa/prc/regseg.py#L151
B006 Do not use mutable data structures for argument defaults. They are created during function definition time. All calls to the function reuse this one instance of that data structure, persisting changes between them.
[flake8] niftypet/nimpa/prc/regseg.py#L242: niftypet/nimpa/prc/regseg.py#L242
E231 missing whitespace after ':'
[flake8] niftypet/nimpa/prc/regseg.py#L245: niftypet/nimpa/prc/regseg.py#L245
E231 missing whitespace after ','
[flake8] niftypet/nimpa/prc/regseg.py#L260: niftypet/nimpa/prc/regseg.py#L260
E271 multiple spaces after keyword
[flake8] niftypet/nimpa/prc/regseg.py#L380: niftypet/nimpa/prc/regseg.py#L380
E231 missing whitespace after ':'
[flake8] niftypet/nimpa/prc/regseg.py#L470: niftypet/nimpa/prc/regseg.py#L470
E231 missing whitespace after ':'
Check
Process completed with exit code 1.
Check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/