Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pjmark committed May 7, 2024
1 parent 723b08c commit 2cefb91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions niftypet/nipet/invaux.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def axial_lut(Cnt):
Mnos[Mtmp == uq[u]] = np.sum(Mtmp == uq[u])
i += 1

axlut['M'] = {'Msn':Msn, 'Mnos':Mnos}
axlut.update({'Msn':Msn, 'Mnos':Mnos})

Check failure on line 174 in niftypet/nipet/invaux.py

View workflow job for this annotation

GitHub Actions / flake8

[flake8] niftypet/nipet/invaux.py#L174

E231 missing whitespace after ':'
Raw output
niftypet/nipet/invaux.py:174:24: E231 missing whitespace after ':'

Check failure on line 174 in niftypet/nipet/invaux.py

View workflow job for this annotation

GitHub Actions / flake8

[flake8] niftypet/nipet/invaux.py#L174

E231 missing whitespace after ':'
Raw output
niftypet/nipet/invaux.py:174:36: E231 missing whitespace after ':'
#=================== SPAN-X =====================

Check failure on line 175 in niftypet/nipet/invaux.py

View workflow job for this annotation

GitHub Actions / flake8

[flake8] niftypet/nipet/invaux.py#L175

E265 block comment should start with '# '
Raw output
niftypet/nipet/invaux.py:175:5: E265 block comment should start with '# '

Check failure on line 176 in niftypet/nipet/invaux.py

View workflow job for this annotation

GitHub Actions / flake8

[flake8] niftypet/nipet/invaux.py#L176

W293 blank line contains whitespace
Raw output
niftypet/nipet/invaux.py:176:1: W293 blank line contains whitespace

Expand Down Expand Up @@ -218,7 +218,7 @@ def axial_lut(Cnt):
sn_ssrno[sn1_ssrb[i]] += 1
sn_ssrno = sn_ssrno[np.unique(sn1_ssrb)]

Check failure on line 219 in niftypet/nipet/invaux.py

View workflow job for this annotation

GitHub Actions / flake8

[flake8] niftypet/nipet/invaux.py#L219

E221 multiple spaces before operator
Raw output
niftypet/nipet/invaux.py:219:13: E221 multiple spaces before operator

Check failure on line 219 in niftypet/nipet/invaux.py

View workflow job for this annotation

GitHub Actions / flake8

[flake8] niftypet/nipet/invaux.py#L219

E222 multiple spaces after operator
Raw output
niftypet/nipet/invaux.py:219:16: E222 multiple spaces after operator

axlut['M']['Msn1'] = Msn1
axlut['Msn1'] = Msn1
#=================== SPAN-1 =====================

Check failure on line 222 in niftypet/nipet/invaux.py

View workflow job for this annotation

GitHub Actions / flake8

[flake8] niftypet/nipet/invaux.py#L222

E265 block comment should start with '# '
Raw output
niftypet/nipet/invaux.py:222:5: E265 block comment should start with '# '


Expand Down

0 comments on commit 2cefb91

Please sign in to comment.