Skip to content

Commit

Permalink
Merge pull request #345 from favreau/master
Browse files Browse the repository at this point in the history
Version 1.7.1
  • Loading branch information
favreau authored Dec 12, 2023
2 parents eed52c5 + 657816f commit 9849d31
Show file tree
Hide file tree
Showing 9,248 changed files with 161,900 additions and 137,134 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .github/workflows/pypi_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
run: |
cd bioexplorer/pythonsdk
python -m pip install --upgrade pip
pip install -r requirements_dev.txt
pip install --no-deps -r requirements_dev.txt
python setup.py sdist
- name: Publish Python package to PyPI (test)
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ set(NAME BIOEXPLORER)
set(PACKAGE_VERSION_ABI 1)
set(PACKAGE_VERSION_MAJOR 1)
set(PACKAGE_VERSION_MINOR 7)
set(PACKAGE_VERSION_PATCH 0)
set(PACKAGE_VERSION_PATCH 1)

# Get the Git revision using the git command
execute_process(
Expand Down
2 changes: 1 addition & 1 deletion bioexplorer/pythonsdk/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ unexport DISPLAY
# Test coverage pass threshold (percent)
MIN_COV?=45
VENV_INSTALLED=.installed
PIP_INSTALL_OPTIONS=--ignore-installed
PIP_INSTALL_OPTIONS=--ignore-installed --no-deps

FIND_LINT_PY=`find bioexplorer -name "*.py" -not -path "*/*test*"`
LINT_PYFILES := $(shell find $(FIND_LINT_PY))
Expand Down
18 changes: 16 additions & 2 deletions bioexplorer/pythonsdk/bioexplorer/bio_explorer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3040,7 +3040,14 @@ def add_sdf_demo(self):

return self._invoke_and_check("add-sdf-demo")

def add_torus(self, name, position, outer_radius, inner_radius, displacement_parameters=Vector3()):
def add_torus(
self,
name,
position,
outer_radius,
inner_radius,
displacement_parameters=Vector3(),
):
"""
Add a torus to the scene
Expand All @@ -3063,7 +3070,14 @@ def add_torus(self, name, position, outer_radius, inner_radius, displacement_par
params["displacement"] = displacement_parameters.to_list()
return self._invoke_and_check("add-torus", params)

def add_vesica(self, name, source_position, target_position, radius, displacement_parameters=Vector3()):
def add_vesica(
self,
name,
source_position,
target_position,
radius,
displacement_parameters=Vector3(),
):
"""
Add a vesica to the scene
Expand Down
2 changes: 1 addition & 1 deletion bioexplorer/pythonsdk/bioexplorer/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
# You should have received a copy of the GNU General Public License along with
# this program. If not, see <https://www.gnu.org/licenses/>.

VERSION = "1.7.0"
VERSION = "1.7.1"
11 changes: 0 additions & 11 deletions bioexplorer/pythonsdk/notebooks/widgets/BioExplorer_widgets.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,6 @@
"w.display_focal_distance(with_preview=True)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"scrolled": false
},
"outputs": [],
"source": [
"w.display_palette_for_models()"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down
2 changes: 1 addition & 1 deletion bioexplorer/pythonsdk/requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pygments~=2.4.1
pylint~=2.6.0
pycodestyle~=2.7.0
pydocstyle~=3.0.0
nose~=1.3.7
nose~=1.2.1
coverage~=7.1.0
nosexcover~=1.0.11
tox~=3.6.1
Expand Down
2 changes: 1 addition & 1 deletion bioexplorer/pythonsdk/setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[metadata]
version = 1.7.0
version = 1.7.1
name = bioexplorer
summary = Blue Brain BioExplorer python API
long_description = file: README.md
Expand Down
7 changes: 5 additions & 2 deletions bioexplorer/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bioexplorer-ui",
"version": "0.1.0",
"version": "1.7.1",
"license": "LGPL-3.0+",
"private": true,
"scripts": {
Expand All @@ -26,5 +26,8 @@
"workspaces": [
"apps/*",
"packages/*"
]
],
"dependencies": {
"yarn": "^1.22.21"
}
}
Loading

0 comments on commit 9849d31

Please sign in to comment.