Skip to content

Commit

Permalink
update freesurfer version and version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandip117 committed Apr 4, 2024
1 parent 0830033 commit 496adb4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
13 changes: 7 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@
#
# docker run -ti -e HOST_IP=$(ip route | grep -v docker | awk '{if(NF==11) print $9}') --entrypoint /bin/bash local/pl-fshack
#
# Versions of FreeSurfer post 7.3.1 weigh in at 15GB and exceed build space on
# Versions of FreeSurfer post 7.4.1 weigh in at 15GB and exceed build space on
# Github Actions. To build/push manually, do
#
# docker tag local/pl-fshack docker.io/fnndsc/pl-fshack:1.4.8
# docker push docker.io/fnndsc/pl-fshack:1.4.8
# docker tag local/pl-fshack docker.io/fnndsc/pl-fshack:1.5.0
# docker push docker.io/fnndsc/pl-fshack:1.5.0
#
# obviously changing the 1.4.8 to whatever version number is appropriate. Then,
# obviously changing the 1.5.0 to whatever version number is appropriate. Then,
# upload to the ChRIS store at https://chrisstore.co/create
#
# docker run --rm docker.io/fnndsc/pl-fshack:1.4.8 fshack.py --json > fshack.json
# docker run --rm docker.io/fnndsc/pl-fshack:1.5.0 fshack.py --json > fshack.json
#
# either manually via the web ui, or from the CLI
#
Expand All @@ -53,7 +53,7 @@ COPY ["fshack/", "requirements.txt", "license.txt", "${APPROOT}/"]

WORKDIR $APPROOT

ARG FREESURFER_VERSION=7.3.2
ARG FREESURFER_VERSION=7.4.1
RUN pip install -r requirements.txt \
&& apt-get update -q && \
apt-get -qq install bc binutils libgomp1 perl psmisc curl tar tcsh uuid-dev vim-common libjpeg62-dev \
Expand Down Expand Up @@ -88,6 +88,7 @@ ENV PATH="/usr/local/freesurfer/bin:/usr/local/freesurfer/fsfast/bin:/usr/local/
WORKDIR /usr/local/src/pl-fshack
COPY . .
RUN pip install .
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
WORKDIR $APPROOT

CMD ["fshack.py", "--help"]
2 changes: 1 addition & 1 deletion fshack/fshack.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ class Fshack(ChrisApp):
CATEGORY = ''
TYPE = 'ds'
DOCUMENTATION = 'https://github.com/FNNDSC/pl-fshack'
VERSION = '1.4.8'
VERSION = '1.5.0'
ICON = '' # url of an icon image
LICENSE = 'Opensource (MIT)'
MAX_NUMBER_OF_WORKERS = 1 # Override with integer value
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def readme():
name = 'fshack',
# for best practices make this version the same as the VERSION class variable
# defined in your ChrisApp-derived Python class
version = '1.4.8',
version = '1.5.0',
description = 'A containerized FreeSurfer, with several modes of operation accessible via specific CLI patterning',
long_description = readme(),
author = 'FNNDSC',
Expand Down

0 comments on commit 496adb4

Please sign in to comment.