Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
singularityhub-EMBLRome
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nicolas Descostes
singularityhub-EMBLRome
Commits
1ce7debb
Commit
1ce7debb
authored
2 years ago
by
Yi Sun
Browse files
Options
Downloads
Patches
Plain Diff
cellpose-2.0.5-test
parent
083b1212
No related branches found
Branches containing commit
No related tags found
1 merge request
!26
cellpose-2.0.5-test
Pipeline
#33407
passed
2 years ago
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+6
-0
6 additions, 0 deletions
.gitlab-ci.yml
recipes/image-analysis/cellpose/Singularity.cellpose-2.0.5
+79
-0
79 additions, 0 deletions
recipes/image-analysis/cellpose/Singularity.cellpose-2.0.5
with
85 additions
and
0 deletions
.gitlab-ci.yml
+
6
−
0
View file @
1ce7debb
...
...
@@ -35,6 +35,12 @@ image:
#####################
## WRITE YOUR TEST RULE HERE AFTER BRANCHING ON SUBMISSION AND CREATE A MERGE REQUEST
cellpose-2.0.5-test
:
extends
:
.templateTest
variables
:
BASENAME
:
cellpose
TAG
:
2.0.5
RECIPE_PATH
:
recipes/image-analysis/cellpose
#####################
...
...
This diff is collapsed.
Click to expand it.
recipes/image-analysis/cellpose/Singularity.cellpose-2.0.5
0 → 100644
+
79
−
0
View file @
1ce7debb
BootStrap: docker
From: python:3.8-slim
IncludeCmd: yes
%labels
MAINTAINER=Yi Sun
Description=This receipe is used for cellpose galaxy tool
%runscript
OCI_ENTRYPOINT=''
OCI_CMD='"python3"'
CMDLINE_ARGS=""
for arg in "$@"; do
CMDLINE_ARGS="${CMDLINE_ARGS} \"$arg\""
done
if [ -z "$OCI_CMD" ] && [ -n "$OCI_ENTRYPOINT" ]; then
if [ $# -gt 0 ]; then
SINGULARITY_OCI_RUN="${OCI_ENTRYPOINT} ${CMDLINE_ARGS}"
else
SINGULARITY_OCI_RUN="${OCI_ENTRYPOINT}"
fi
fi
if [ -n "$OCI_CMD" ] && [ -z "$OCI_ENTRYPOINT" ]; then
if [ $# -gt 0 ]; then
SINGULARITY_OCI_RUN="${CMDLINE_ARGS}"
else
SINGULARITY_OCI_RUN="${OCI_CMD}"
fi
fi
if [ $# -gt 0 ]; then
SINGULARITY_OCI_RUN="${OCI_ENTRYPOINT} ${CMDLINE_ARGS}"
else
SINGULARITY_OCI_RUN="${OCI_ENTRYPOINT} ${OCI_CMD}"
fi
eval "set ${SINGULARITY_OCI_RUN}"
exec "$@"
%environment
NUMBA_CACHE_DIR=/tmp
%post
apt-get update -qq && \
apt-get install -y -q --no-install-recommends \
gcc \
python3-dev \
python3-pip \
python3-wheel \
libblas-dev \
liblapack-dev \
libatlas-base-dev \
gfortran \
apt-utils \
bzip2 \
ca-certificates \
curl \
locales \
unzip && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen
pip install -U pip
pip install numpy numba>=0.43.1
pip install wheel scipy
pip install --no-cache-dir PyQt5 PyQt5.sip torch>=1.6 opencv-python-headless pyqtgraph>=0.11.0rc0 natsort google-cloud-storage
pip install -U scikit-image matplotlib
pip install scikit-learn tqdm tifffile fastremap
pip install cellpose==2.0.5
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment