Skip to content

Commit

Permalink
Numpy updates
Browse files Browse the repository at this point in the history
  • Loading branch information
kdiers committed Nov 13, 2024
1 parent 140e1f3 commit 6ee5fac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1.0
2.1.1
4 changes: 2 additions & 2 deletions fsqc/createSurfacePlots.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def createSurfacePlots(SUBJECT, SUBJECTS_DIR, SURFACES_OUTDIR, VIEWS, FASTSURFER
# check if annotation has labels that are not included in the colortable
if any(annotL[0] == -1):
# prepend colortable and update indices
ctabL = np.concatenate((np.mat([127, 127, 127]), annotL[1][:, 0:3]), axis=0)
ctabL = np.concatenate((np.asmatrix([127, 127, 127]), annotL[1][:, 0:3]), axis=0)
indsL = annotL[0] + 1
else:
ctabL = annotL[1][:, 0:3]
Expand All @@ -104,7 +104,7 @@ def createSurfacePlots(SUBJECT, SUBJECTS_DIR, SURFACES_OUTDIR, VIEWS, FASTSURFER
# check if annotation has labels that are not included in the colortable
if any(annotR[0] == -1):
# prepend colortable and update indices
ctabR = np.concatenate((np.mat([127, 127, 127]), annotR[1][:, 0:3]), axis=0)
ctabR = np.concatenate((np.asmatrix([127, 127, 127]), annotR[1][:, 0:3]), axis=0)
indsR = annotR[0] + 1
else:
ctabR = annotR[1][:, 0:3]
Expand Down

0 comments on commit 6ee5fac

Please sign in to comment.