Skip to content

Commit

Permalink
Merge pull request #125 from brainglobe/v2.0
Browse files Browse the repository at this point in the history
V2.0
  • Loading branch information
FedeClaudi authored Nov 23, 2020
2 parents 32dd43d + 71bfd95 commit 52d7021
Show file tree
Hide file tree
Showing 254 changed files with 484,408 additions and 215,179 deletions.
Binary file added .DS_Store
Binary file not shown.
25 changes: 8 additions & 17 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,23 +1,14 @@
[RUN]
omit =
brainrender/gui/*
brainrender/gui

[report]
omit =
brainrender/ABA/volumetric/*
brainrender/atlases/custom_atlases/celegans.py
brainrender/atlases/custom_atlases/insects_brains_db.py
brainrender/gui/*
brainrender/gui


exclude_lines =
def keypress
pragma: no cover
def load_npy_from_gz
def save_npy_to_gz
def save_json
def getColor(rgb=None, hsv=None)
def hsv2rgb(hsv)
def rgb2hsv(rgb)
def rgb2int(rgb_tuple)
def colorMap
def check_colors(color)
continue
raise NotImplementedError
raise ValueError
raise FileNotFoundError
raise FileExistsError
28 changes: 19 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
# Ignored file types
.DS_Store
examples/*.mp4
tests/*.mp4

.pytest_cache
__pycache__
*.pyc
.ipynb_checkpoints
.pytest_cache/*
.pytest_cache/
__pycache__/*
__pycache__/
*/__pycache__
brainrender/atlas_specific/gene_expression/__pycache__
brainrender/atlas_specific/gene_expression/__pycache__/*
brainrender/atlas_specific/__pycache__

workspace.py
workspace.ipynb
brexport.html
*.ckpt
*.vscode
Expand All @@ -7,18 +26,9 @@ brexport.html
*.idea
*.pyc
*.vtk
*.obj
# *.stl
*.nrrd
# *.swc
*.svg
*.tdms

# These file formats are tracked
# *.avi
# *.png
# *.mp4
# *.jpg

screenshots/*
atlas_images/*
Expand Down
90 changes: 44 additions & 46 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,46 +1,44 @@
language: python
services:
- xvfb
matrix:
include:
- os: linux
python: 3.6
dist: bionic
env: PIP_CMD='pip install -e .[dev]' TEST_CMD='tests/travis/testing.sh'
- os: linux
python: 3.7
dist: bionic
env: PIP_CMD='pip install -e .[dev]' TEST_CMD='tests/travis/testing.sh'
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda info -a
install:
- conda create -n test-environment python=$TRAVIS_PYTHON_VERSION
- source activate test-environment
- $PIP_CMD
- conda info -a
script:
- travis_wait 20 bash $TEST_CMD
after_success:
- coveralls
notifications:
email:
recipients:
- [email protected]
- [email protected]
on_success: change
on_failure: always
deploy:
- provider: pypi
user: __token__
password:
secure: qf1V2vs8cO6bydWVGLUn6CbL2chNR32Nffmq+eookmjjEraCvCL7Apk64XkIKzMEm3gRrkMb4savrl4/w5MUsN43pBmywlT6UYs2PGbvtew7FiVopciNYTKWyL6ZCvUIAR1PikkFqquyTzPtJBWxSnTTWtMoTljbd7BbcoOGa+sALhMf0HOBxJngD/mPPTkqrTdgt1kYftxVRcT2vx7UsiWcBz0F/sk0vTee/ox4GG23uZ4qAYC0COJnALuODMooP7cjX3K1ImLDTFJ5mKQD3iZLhv1Fomk/AYaLKuZJtsSsS+VLuLVDp7idlaHU54Q4UKYFQT84J5b5rtHKE7huZovjUh2Iy4Rc1R6lSry9HKvYLPXmFOFhEoUxlZvRZA2+avIOODOrMIIv1ZhJf9ubl0LZIRuWe8D7mIl5b/OoFLj5HwqLMwetWx+3HWqsYOSIzzr7O4OMiI3DRnMhrilM0QbUsLzCUvamHefGe841YquzPulFBl8i3Sg43QEX3q8NHcPg+WjJQ0NbWtY9ucuWkcYPrqPDzdatnhGMhXkeCqsynPpWrYHOiDtncOOYtvsSt5gifk3bk0qPwu20/qJJrwJ7bTcKSTTJUaAWs2FobbeeKaOjtA5w+1KsJZKLefeN2fjeM4Yify2NQFc4HAjhNdsTINcAHKD9Hk636ydEx1Q=
distributions: sdist bdist_wheel
skip_existing: true
on:
branch: master
tags: true
language: python
services:
- xvfb
matrix:
include:
- os: linux
python: 3.6
dist: bionic
- os: linux
python: 3.7
dist: bionic
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda info -a
install:
- conda create -n test-environment python=$TRAVIS_PYTHON_VERSION
- source activate test-environment
- pip install -e .[dev]
- conda info -a
script:
- travis_wait 50 pytest
after_success:
- coveralls
notifications:
email:
recipients:
- [email protected]
- [email protected]
on_success: change
on_failure: always
deploy:
- provider: pypi
user: __token__
password:
secure: qf1V2vs8cO6bydWVGLUn6CbL2chNR32Nffmq+eookmjjEraCvCL7Apk64XkIKzMEm3gRrkMb4savrl4/w5MUsN43pBmywlT6UYs2PGbvtew7FiVopciNYTKWyL6ZCvUIAR1PikkFqquyTzPtJBWxSnTTWtMoTljbd7BbcoOGa+sALhMf0HOBxJngD/mPPTkqrTdgt1kYftxVRcT2vx7UsiWcBz0F/sk0vTee/ox4GG23uZ4qAYC0COJnALuODMooP7cjX3K1ImLDTFJ5mKQD3iZLhv1Fomk/AYaLKuZJtsSsS+VLuLVDp7idlaHU54Q4UKYFQT84J5b5rtHKE7huZovjUh2Iy4Rc1R6lSry9HKvYLPXmFOFhEoUxlZvRZA2+avIOODOrMIIv1ZhJf9ubl0LZIRuWe8D7mIl5b/OoFLj5HwqLMwetWx+3HWqsYOSIzzr7O4OMiI3DRnMhrilM0QbUsLzCUvamHefGe841YquzPulFBl8i3Sg43QEX3q8NHcPg+WjJQ0NbWtY9ucuWkcYPrqPDzdatnhGMhXkeCqsynPpWrYHOiDtncOOYtvsSt5gifk3bk0qPwu20/qJJrwJ7bTcKSTTJUaAWs2FobbeeKaOjtA5w+1KsJZKLefeN2fjeM4Yify2NQFc4HAjhNdsTINcAHKD9Hk636ydEx1Q=
distributions: sdist bdist_wheel
skip_existing: true
on:
branch: master
tags: true
Binary file removed Docs/Media/CA1_coronal.png
Binary file not shown.
Binary file removed Docs/Media/MOs_to_STR_mean_20200305_165259.png
Binary file not shown.
Binary file removed Docs/Media/SSp_to_STR_mean_20200305_165304.png
Binary file not shown.
Binary file removed Docs/Media/SSs_to_STR_mean_20200305_165302.png
Binary file not shown.
Binary file removed Docs/Media/TH_transparent_bg.png
Binary file not shown.
Binary file removed Docs/Media/TH_white_bg.png
Binary file not shown.
Binary file removed Docs/Media/ZI_cartoon.png
Binary file not shown.
Binary file removed Docs/Media/aba.png
Binary file not shown.
Binary file removed Docs/Media/barrel_ctx.png
Binary file not shown.
Binary file removed Docs/Media/brainregions.png
Binary file not shown.
Binary file removed Docs/Media/cannula.png
Binary file not shown.
Binary file removed Docs/Media/cannula2.png
Binary file not shown.
Binary file removed Docs/Media/cartoon.png
Binary file not shown.
Binary file removed Docs/Media/celegans_connectome.png
Binary file not shown.
Binary file removed Docs/Media/celegans_synapses.png
Binary file not shown.
Binary file removed Docs/Media/cells.gif
Binary file not shown.
Binary file removed Docs/Media/clean_screenshots/celegans.png
Binary file not shown.
Binary file removed Docs/Media/clean_screenshots/cells.png
Binary file not shown.
Binary file removed Docs/Media/clean_screenshots/gene_expr.png
Binary file not shown.
Binary file removed Docs/Media/clean_screenshots/ibdb.png
Binary file not shown.
Binary file removed Docs/Media/clean_screenshots/inj_site.png
Binary file not shown.
Binary file removed Docs/Media/clean_screenshots/neurons.png
Binary file not shown.
Binary file removed Docs/Media/clean_screenshots/neurons2.png
Binary file not shown.
Binary file removed Docs/Media/clean_screenshots/neuropixel.png
Binary file not shown.
Binary file removed Docs/Media/clean_screenshots/optic_fiber.png
Binary file not shown.
Binary file removed Docs/Media/clean_screenshots/regions.png
Diff not rendered.
Binary file removed Docs/Media/clean_screenshots/skull.png
Diff not rendered.
Binary file removed Docs/Media/clean_screenshots/streamlines.png
Diff not rendered.
Binary file removed Docs/Media/clean_screenshots/tractography.png
Diff not rendered.
Binary file removed Docs/Media/electrodes.png
Diff not rendered.
Binary file removed Docs/Media/humanbrainexp.png
Diff not rendered.
Binary file removed Docs/Media/labelled_cells.png
Diff not rendered.
Binary file removed Docs/Media/locust.png
Diff not rendered.
Binary file removed Docs/Media/logotransparent.png
Diff not rendered.
Binary file removed Docs/Media/logotransparent2.png
Diff not rendered.
Binary file removed Docs/Media/logowhite.png
Diff not rendered.
Binary file removed Docs/Media/morphology.png
Diff not rendered.
Binary file removed Docs/Media/neuron.png
Diff not rendered.
Binary file removed Docs/Media/neuron2.png
Diff not rendered.
Binary file removed Docs/Media/neuron3.png
Diff not rendered.
Binary file removed Docs/Media/neuron_gif.gif
Diff not rendered.
Binary file removed Docs/Media/neurons.png
Diff not rendered.
Binary file removed Docs/Media/neurons2.png
Diff not rendered.
Binary file removed Docs/Media/neurons3.png
Diff not rendered.
Binary file removed Docs/Media/neurons_transparent.png
Diff not rendered.
Binary file removed Docs/Media/sharp_track_probe.png
Diff not rendered.
Binary file removed Docs/Media/skull.png
Diff not rendered.
Binary file removed Docs/Media/streamlines.png
Diff not rendered.
Binary file removed Docs/Media/streamlines2.png
Diff not rendered.
Binary file removed Docs/Media/streamlines_animation.mp4
Binary file not shown.
Binary file removed Docs/Media/streamlinespretty.png
Diff not rendered.
Binary file removed Docs/Media/summary_figure.png
Diff not rendered.
Binary file removed Docs/Media/tractography.png
Diff not rendered.
85 changes: 0 additions & 85 deletions Docs/custom_atlases.md

This file was deleted.

Loading

0 comments on commit 52d7021

Please sign in to comment.