Skip to content

Commit

Permalink
Merge pull request #130 from loli/Release_0.5.1
Browse files Browse the repository at this point in the history
Release 0.5.1
  • Loading branch information
loli authored Apr 3, 2024
2 parents 6eb7c15 + eefb2b3 commit 91d31a7
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
3 changes: 2 additions & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
v0.5.0, 2024-04-XX -- Addressed all depreciation warnings and incompatabilities
v0.5.1, 2024-04-03 -- Hotfixes
v0.5.0, 2024-04-03 -- Addressed all depreciation warnings and incompatabilities
Updated documentation
Updated and fixed tests
Added github workflows as system
Expand Down
2 changes: 1 addition & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
# The short X.Y version.
version = "0.5"
# The full version, including alpha/beta/rc tags.
release = "0.5.0"
release = "0.5.1"

# Automatically created autosummary entries (thus no need to call sphinx-autogen)
autosummary_generate = True
Expand Down
7 changes: 4 additions & 3 deletions doc/source/installation/graphcutsupport.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ Troubleshooting
---------------

If you experience an error like `ModuleNotFoundError: No module named 'medpy.graphcut.maxflow'`, this usually means
that the `graphcut`` module has not been compiled successfully. To check the error log, try re-installing **MedPy** with:
that the `graphcut` module has not been compiled successfully. To check the error log, try re-installing **MedPy** with:

.. code-block:: bash
pip install medpy --no-cache-dir --force-reinstall -v
In the logs, you might see the following warning:

.. code-block:: bash
::

2021-06-30T11:07:32,684 ***************************************************************************
2021-06-30T11:07:32,685 WARNING: The medpy.graphcut.maxflow external C++ package could not be compiled, all graphcut functionality will be disabled. You might be missing Boost.Python or some build essentials like g++.
Expand All @@ -41,11 +41,12 @@ In the logs, you might see the following warning:

The error should be detailed in the lines just above.

Usually, it is a problem with the linking of the `(lib)boost_python3`` lib.
Usually, it is a problem with the linking of the `(lib)boost_python3` lib.
There are some inconsistent naming conventions around, rendering the file undiscoverable to **MedPy**.

On Ubuntu, you should be able to locate your *libboost_python3x.so* under `/usr/lib/x86_64-linux-gnu/`.
If your shared library file is named differently than **MedPy** expects, you might have to create a softlink like, e.g.:

.. code-block:: bash
sudo ln -s libboost_python38.so libboost_python3.so
3 changes: 2 additions & 1 deletion medpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
"""
__version__ = "0.5.0"

__version__ = "0.5.1"
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
"medpy.filter",
"medpy.graphcut",
"medpy.io",
"medpy.iterators",
"medpy.metric",
"medpy.neighbours",
"medpy.utilities",
]

Expand Down Expand Up @@ -136,7 +138,7 @@ def run_setup(with_compilation):

setup(
name="MedPy",
version="0.5.0", # major.minor.micro
version="0.5.1", # major.minor.micro
description="Medical image processing in Python",
author="Oskar Maier",
author_email="oskar.maier@gmail.com",
Expand Down

0 comments on commit 91d31a7

Please sign in to comment.