Skip to content

Commit

Permalink
Merge pull request #5 from AllenNeuralDynamics/feat-partition-smartsp…
Browse files Browse the repository at this point in the history
…im-job

Feat partition smartspim job
  • Loading branch information
camilolaiton authored Aug 16, 2024
2 parents c063564 + bed9369 commit d296db3
Show file tree
Hide file tree
Showing 23 changed files with 3,186 additions and 1,636 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "aind-smartspim-data-transformation"
description = "Generated from aind-library-template"
license = {text = "MIT"}
requires-python = ">=3.9"
requires-python = ">=3.9.2"
authors = [
{name = "Allen Institute for Neural Dynamics"}
]
Expand Down Expand Up @@ -49,7 +49,7 @@ version = {attr = "aind_smartspim_data_transformation.__version__"}

[tool.black]
line-length = 79
target_version = ['py36']
target_version = ['py39']
exclude = '''
(
Expand Down
17 changes: 5 additions & 12 deletions scripts/singularity_build.def
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,10 @@ From: python:3.10-bullseye
cp -R . ${SINGULARITY_ROOTFS}/aind-smartspim-data-transformation

%post
# Installing dask mpi
wget https://www.mpich.org/static/downloads/3.2/mpich-3.2.tar.gz
tar xfz mpich-3.2.tar.gz
rm mpich-3.2.tar.gz
mkdir mpich-build
cd mpich-build
../mpich-3.2/configure --disable-fortran 2>&1 | tee c.txt
make 2>&1 | tee m.txt
make install 2>&1 | tee mi.txt
cd ..

curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
rm awscliv2.zip
./aws/install
cd ${SINGULARITY_ROOTFS}/aind-smartspim-data-transformation
pip install . mpi4py dask_mpi --no-cache-dir
pip install . --no-cache-dir
rm -rf ${SINGULARITY_ROOTFS}/aind-smartspim-data-transformation
3 changes: 0 additions & 3 deletions src/aind_smartspim_data_transformation/_shared/__init__.py

This file was deleted.

12 changes: 0 additions & 12 deletions src/aind_smartspim_data_transformation/_shared/types.py

This file was deleted.

174 changes: 0 additions & 174 deletions src/aind_smartspim_data_transformation/compress/dask_utils.py

This file was deleted.

Loading

0 comments on commit d296db3

Please sign in to comment.