magland/MEArec:v0.1.1

$ singularity pull shub://magland/MEArec:v0.1.1

Singularity Recipe

Bootstrap: docker
FROM: continuumio/miniconda3

%labels
    Maintainer Jeremy Magland

%setup
  mkdir ${SINGULARITY_ROOTFS}/working
  cp -r . ${SINGULARITY_ROOTFS}/working/src

%post
  echo "################################## Activating conda environment"
  . /opt/conda/etc/profile.d/conda.sh
  conda create -n mountainlab
  conda activate mountainlab

  echo "################################## Installing MountainLab"
  conda install -c flatiron -c conda-forge mountainlab mountainlab_pytools mlprocessors

  echo "################################## Testing installation"
  ml-list-processors

  # Install MEAutility
  git clone https://github.com/alejoe91/MEAutility /working/MEAutility
  cd /working/MEAutility && python setup.py install

  echo "################################## Installing ML package"
  pip install -r /working/src/ml_requirements.txt
  ln -s /working/src `ml-config package_directory`/ml_mearec

  echo "################################## Testing package"
  ml-spec --lock
  ml-spec -p mearec.gen_spiketrains
  ml-spec -p mearec.gen_recording

%environment
  . /opt/conda/etc/profile.d/conda.sh
  conda activate mountainlab

Collection


View on Datalad

Metrics

key value
id /containers/magland-MEArec-v0.1.1
collection name magland/MEArec
branch master
tag v0.1.1
commit 84feccc25e55801a8c6e28fc4384d54492df327a
version (container hash) da8e8408632e488a5e8039f2f8852afe
build date 2018-09-26T15:44:58.295Z
size (MB) 2591
size (bytes) 1115697183
SIF Download URL (please use pull with shub://)
Datalad URL View on Datalad
Singularity Recipe Singularity Recipe on Datalad
We cannot guarantee that all containers will still exist on GitHub.