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 735d956 commit 723b08c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion niftypet/nipet/invaux.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,8 @@ def axial_lut(Cnt):
# > linear index -> ring indices
li2r = np.zeros((NLI2R,2), dtype=np.int8)

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

View workflow job for this annotation

GitHub Actions / flake8

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

E221 multiple spaces before operator
Raw output
niftypet/nipet/invaux.py:232:9: E221 multiple spaces before operator

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

View workflow job for this annotation

GitHub Actions / flake8

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

E231 missing whitespace after ','
Raw output
niftypet/nipet/invaux.py:232:29: E231 missing whitespace after ','

# > linear index -> sinogram in span-x (default 3) index
# > linear index -> sinogram in span-1 and span-x (default 3) index
li2sn1 = np.zeros((NLI2R,2), dtype=np.int16)

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

View workflow job for this annotation

GitHub Actions / flake8

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

E231 missing whitespace after ','
Raw output
niftypet/nipet/invaux.py:235:29: E231 missing whitespace after ','
li2sn = np.zeros((NLI2R,2), dtype=np.int16)

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

View workflow job for this annotation

GitHub Actions / flake8

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

E221 multiple spaces before operator
Raw output
niftypet/nipet/invaux.py:236:10: E221 multiple spaces before operator

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

View workflow job for this annotation

GitHub Actions / flake8

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

E231 missing whitespace after ','
Raw output
niftypet/nipet/invaux.py:236:29: E231 missing whitespace after ','

# > linear index -> ring axial position (z) in cm
Expand Down

0 comments on commit 723b08c

Please sign in to comment.