Skip to content

Commit

Permalink
Merge branch 'develop' into tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmine-schoch committed Nov 3, 2023
2 parents b72e892 + 9ac814f commit f37bc56
Show file tree
Hide file tree
Showing 111 changed files with 4,166 additions and 10,792 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,18 @@ jobs:
with:
python-version-file: API/pyproject.toml
# cache: 'pip'

# 3.4.3. Install Poetry
- name: Install Poetry
run: |
pip install poetry
poetry --version
# Install dependencies (if any). They will be cached with saved for next time with the cache command above

- name: Install
run: pip install API/.

# 3.4.3. Run tests (execute arbitrary commands in shell)
# 3.4.4. Run tests (execute arbitrary commands in shell)
- name: 🏃Run tests
run: python -m unittest discover -s API
2 changes: 1 addition & 1 deletion .github/workflows/version_bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Extract current version from API/pyproject.toml
id: extract-version
run: |
version=$(python -c "import toml; print(toml.load('API/pyproject.toml')['project']['version'])")
version=$(python -c "import toml; print(toml.load('API/pyproject.toml')['tool.poetry']['version'])")
echo "Current version: $version"
echo "::set-output name=current_version::$version"
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,4 @@ UnityClient/Packages/*
editable_venv/*
API/build/*
API/oursin.egg-info/*
API/poetry.lock
4 changes: 2 additions & 2 deletions API/oursin.egg-info/requires.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
python-socketio[client]<5.10,>=5.8
python-socketio[client]>=5.8,<5.11
numpy>=1.24.3,<1.27.0
Pillow<10.1,>=9.5
Pillow>=9.5,<10.2
6 changes: 3 additions & 3 deletions API/oursin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Python library for connecting to and sending data to a Universal Renderer for Neuroscience renderer.
"""
__author__ = 'Daniel Birman'
__version__ = "0.4.7"
__version__ = "0.5.0"

# load the client
from . import client
Expand All @@ -18,8 +18,8 @@

# load the object controls
from . import lines
from . import neurons
from . import primitives
from . import meshes
from . import particles
from . import probes
from . import text
from . import volumes
Expand Down
7 changes: 5 additions & 2 deletions API/oursin/atlas/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
from . import ccf
from . import waxholm
from .ontology import *

ccf25 = Atlas('ccf25')
waxholm39 = Atlas('waxholm39')
waxholm78 = Atlas('waxholm78')
143 changes: 0 additions & 143 deletions API/oursin/atlas/ccf.py

This file was deleted.

1 change: 1 addition & 0 deletions API/oursin/atlas/data/ccf25.structures.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions API/oursin/atlas/data/waxholm39.structures.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions API/oursin/atlas/data/waxholm78.structures.json

Large diffs are not rendered by default.

Loading

0 comments on commit f37bc56

Please sign in to comment.