Skip to content

Commit

Permalink
Merge pull request #66 from Deep-MI/dev
Browse files Browse the repository at this point in the history
Update for compatibility with Numpy 2.
  • Loading branch information
kdiers authored Nov 14, 2024
2 parents 071ec97 + 6ee5fac commit 7e15d57
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,7 @@ A list of changes is available [here](CHANGES.md).
This repository contains multiple branches, reflecting the ongoing
development of the toolbox. The two primary branches are the main branch
(`stable`) and the development branch (`dev`). New features will first be added
to the development branch, and eventually be merged with the main branch. You
are currently on the main branch. To go to the development branch, select it
from the drop-down menu on the top left, or [click here](https://github.com/Deep-MI/fsqc/tree/dev).
to the development branch, and eventually be merged with the main branch.

### Roadmap

Expand Down
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 7e15d57

Please sign in to comment.