Skip to content

Commit

Permalink
might already work
Browse files Browse the repository at this point in the history
  • Loading branch information
vnm-neurodesk committed Nov 19, 2024
1 parent c77503a commit dfe2d29
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 0 deletions.
20 changes: 20 additions & 0 deletions recipes/palmettobug/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

----------------------------------
## palmettobug/0.0.1 ##
CIPHER is a pure-python GUI in customtinker that, along with its sister package isoSegDenoise, can preprocess, segment, and analyze high-dimensional image or flow cytometry data, especially mass cytometry / imaging mass cytometry data

Example:
```
palmettobug
```

More documentation can be found here: https://github.com/immunecells/CIPHER/tree/main

Citation:
```
TBD
```

To run container outside of this environment: ml palmettobug/0.0.1

----------------------------------
41 changes: 41 additions & 0 deletions recipes/palmettobug/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#!/usr/bin/env bash
set -e

# this template file builds tools required for dicom conversion to bids
export toolName='palmettobug'
export toolVersion='0.0.1' # Don't forget to update version change in README.md!!!!!


if [ "$1" != "" ]; then
echo "Entering Debug mode"
export debug=$1
fi

source ../main_setup.sh --reinstall_neurodocker=false

neurodocker generate ${neurodocker_buildMode} \
--pkg-manager apt \
--base-image ubuntu:24.04 \
--env DEBIAN_FRONTEND=noninteractive \
--run="printf '#!/bin/bash\nls -la' > /usr/bin/ll" \
--run="chmod +x /usr/bin/ll" \
--run="mkdir -p ${mountPointList}" \
--install ca-certificates wget unzip libx11-6 fontconfig libgles2 \
--workdir /opt \
--miniconda version=latest \
conda_install="python=3.9" \
--run="wget https://object-store.rc.nectar.org.au/v1/AUTH_dead991e1fa847e3afcca2d3a7041f5d/build/CIPHER-main.zip \
&& unzip CIPHER-main.zip \
&& rm -rf CIPHER-main.zip \
&& cd CIPHER-main \
&& pip install . \
&& cd .. \
&& rm -rf CIPHER-main" \
--env DEPLOY_BINS=palmettobug \
--copy README.md /README.md \
> ${imageName}.${neurodocker_buildExt}


if [ "$1" != "" ]; then
./../main_build.sh
fi
2 changes: 2 additions & 0 deletions recipes/palmettobug/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
python3 --version #should be 3.9
palmettobug

0 comments on commit dfe2d29

Please sign in to comment.