diff --git a/README.rst b/README.rst index a5de04daf436eaa30c983d4def8e3eee38d6c4a7..2c3a7bb4470caa91d4afe208df90e29695afbd69 100644 --- a/README.rst +++ b/README.rst @@ -1,9 +1,11 @@ fslpy ===== +.. image:: https://img.shields.io/pypi/v/fslpy.svg + :target: https://pypi.python.org/pypi/fslpy/ -.. image:: https://git.fmrib.ox.ac.uk/fsl/fslpy/badges/master/build.svg - :target: https://git.fmrib.ox.ac.uk/fsl/fslpy/commits/master/ +.. image:: https://anaconda.org/conda-forge/fslpy/badges/version.svg + :target: https://anaconda.org/conda-forge/fslpy .. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.1470750.svg :target: https://doi.org/10.5281/zenodo.1470750 @@ -11,12 +13,6 @@ fslpy .. image:: https://git.fmrib.ox.ac.uk/fsl/fslpy/badges/master/coverage.svg :target: https://git.fmrib.ox.ac.uk/fsl/fslpy/commits/master/ -.. image:: https://img.shields.io/pypi/v/fslpy.svg - :target: https://pypi.python.org/pypi/fslpy/ - -.. image:: https://anaconda.org/conda-forge/fslpy/badges/version.svg - :target: https://anaconda.org/conda-forge/fslpy - The ``fslpy`` project is a `FSL <http://fsl.fmrib.ox.ac.uk/fsl/fslwiki/>`_ programming library written in Python. It is used by `FSLeyes @@ -68,10 +64,6 @@ not available on PyPI. Change the URL for your specific platform:: pip install -f https://extras.wxpython.org/wxPython4/extras/linux/gtk2/ubuntu-16.04/ wxpython -The ``rtree`` library also assumes that ``libspatialindex`` is installed on -your system. - - Once wxPython has been installed, you can simply type the following to install the rest of the extra dependencies:: @@ -90,6 +82,10 @@ The ``fsl.data.dicom`` module requires the presence of Chris Rorden's `dcm2niix <https://github.com/rordenlab/dcm2niix>`_ program. +The ``rtree`` library assumes that ``libspatialindex`` is installed on +your system. + + Documentation ------------- diff --git a/fsl/utils/platform.py b/fsl/utils/platform.py index 26706f31814ba805062fc04fdbc49abd205bda6f..1d33d80b111fdc06536c015455a4d010335f4e89 100644 --- a/fsl/utils/platform.py +++ b/fsl/utils/platform.py @@ -129,7 +129,6 @@ class Platform(notifier.Notifier): import wx self.__canHaveGui = wx.App.IsDisplayAvailable() except ImportError: - log.warning('Could not import wx', exc_info=True) self.__canHaveGui = False # If one of the SSH_/VNC environment