Giter Site home page Giter Site logo

nidmviewer's Introduction

Rawr! ๐Ÿ‘‹

Commit stats

nidmviewer's People

Contributors

chrisgorgo avatar cmaumet avatar vsoch avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

nidmviewer's Issues

'pyparsing<=1.5.7' distribution was not found error at start up of nidmviewer

This issue was reported through twitter by Jan-Bernard Marsman (โ€@jbcmarsman): https://twitter.com/jbcmarsman/status/744879142148128768.

Traceback of the error on mac (MBP 2015, El Capitan):
$ nidmviewer
Traceback (most recent call last):
  File "/Users/marsman/anaconda/bin/nidmviewer", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/Users/marsman/anaconda/lib/python2.7/site-packages/setuptools-19.2-py2.7.egg/pkg_resources/__init__.py", line 3138, in <module>
  File "/Users/marsman/anaconda/lib/python2.7/site-packages/setuptools-19.2-py2.7.egg/pkg_resources/__init__.py", line 3124, in _call_aside
  File "/Users/marsman/anaconda/lib/python2.7/site-packages/setuptools-19.2-py2.7.egg/pkg_resources/__init__.py", line 3151, in _initialize_master_working_set
  File "/Users/marsman/anaconda/lib/python2.7/site-packages/setuptools-19.2-py2.7.egg/pkg_resources/__init__.py", line 663, in _build_master
  File "/Users/marsman/anaconda/lib/python2.7/site-packages/setuptools-19.2-py2.7.egg/pkg_resources/__init__.py", line 676, in _build_from_requirements
  File "/Users/marsman/anaconda/lib/python2.7/site-packages/setuptools-19.2-py2.7.egg/pkg_resources/__init__.py", line 849, in resolve
pkg_resources.DistributionNotFound: The 'pyparsing<=1.5.7' distribution was not found and is required by rdfextras

More details in NIDM notes.

"RuntimeError("'%s' is not a writable dir" error at start up

This issue was reported through twitter by Jan-Bernard Marsman (โ€@jbcmarsman): https://twitter.com/jbcmarsman/status/744879142148128768.

Traceback of the error on Ubuntu (precise pengolin)
Traceback (most recent call last):
  File "/usr/local/bin/nidmviewer", line 9, in <module>
    load_entry_point('nidmviewer==0.1.3', 'console_scripts', 'nidmviewer')()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 337, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2279, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1989, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/local/lib/python2.7/dist-packages/nidmviewer/scripts.py", line 9, in <module>
    from nidmviewer.viewer import generate
  File "/usr/local/lib/python2.7/dist-packages/nidmviewer/viewer.py", line 7, in <module>
    from nidmviewer.templates import get_template, add_string, save_template, remove_resources
  File "/usr/local/lib/python2.7/dist-packages/nidmviewer/templates.py", line 8, in <module>
    import pandas
  File "/usr/local/lib/python2.7/dist-packages/pandas/__init__.py", line 41, in <module>
    from pandas.core.api import *
  File "/usr/local/lib/python2.7/dist-packages/pandas/core/api.py", line 9, in <module>
    from pandas.core.groupby import Grouper
  File "/usr/local/lib/python2.7/dist-packages/pandas/core/groupby.py", line 15, in <module>
    from pandas.core.frame import DataFrame
  File "/usr/local/lib/python2.7/dist-packages/pandas/core/frame.py", line 38, in <module>
    from pandas.core.series import Series
  File "/usr/local/lib/python2.7/dist-packages/pandas/core/series.py", line 2524, in <module>
    import pandas.tools.plotting as _gfx
  File "/usr/local/lib/python2.7/dist-packages/pandas/tools/plotting.py", line 26, in <module>
    import pandas.tseries.converter as conv
  File "/usr/local/lib/python2.7/dist-packages/pandas/tseries/converter.py", line 7, in <module>
    import matplotlib.units as units
  File "/usr/lib/pymodules/python2.7/matplotlib/__init__.py", line 774, in <module>
    rcParams = rc_params()
  File "/usr/lib/pymodules/python2.7/matplotlib/__init__.py", line 692, in rc_params
    fname = matplotlib_fname()
  File "/usr/lib/pymodules/python2.7/matplotlib/__init__.py", line 604, in matplotlib_fname
    fname = os.path.join(get_configdir(), 'matplotlibrc')
  File "/usr/lib/pymodules/python2.7/matplotlib/__init__.py", line 253, in wrapper
    ret = func(*args, **kwargs)
  File "/usr/lib/pymodules/python2.7/matplotlib/__init__.py", line 475, in _get_configdir
    raise RuntimeError("'%s' is not a writable dir; you must set %s/.matplotlib to be a writable dir.  You can also set environment variable MPLCONFIGDIR to any writable directory where you want matplotlib data stored "% (h, h))
RuntimeError: '/home/marsman' is not a writable dir; you must set /home/marsman/.matplotlib to be a writable dir.  You can also set environment variable MPLCONFIGDIR to any writable directory where you want matplotlib data stored
marsman@nicserver:/data/local_dir2/marsman$ nidmviewer
Traceback (most recent call last):
  File "/usr/local/bin/nidmviewer", line 9, in <module>
    load_entry_point('nidmviewer==0.1.3', 'console_scripts', 'nidmviewer')()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 337, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2279, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1989, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/local/lib/python2.7/dist-packages/nidmviewer/scripts.py", line 9, in <module>
    from nidmviewer.viewer import generate
  File "/usr/local/lib/python2.7/dist-packages/nidmviewer/viewer.py", line 7, in <module>
    from nidmviewer.templates import get_template, add_string, save_template, remove_resources
  File "/usr/local/lib/python2.7/dist-packages/nidmviewer/templates.py", line 8, in <module>
    import pandas
  File "/usr/local/lib/python2.7/dist-packages/pandas/__init__.py", line 41, in <module>
    from pandas.core.api import *
  File "/usr/local/lib/python2.7/dist-packages/pandas/core/api.py", line 9, in <module>
    from pandas.core.groupby import Grouper
  File "/usr/local/lib/python2.7/dist-packages/pandas/core/groupby.py", line 15, in <module>
    from pandas.core.frame import DataFrame
  File "/usr/local/lib/python2.7/dist-packages/pandas/core/frame.py", line 38, in <module>
    from pandas.core.series import Series
  File "/usr/local/lib/python2.7/dist-packages/pandas/core/series.py", line 2524, in <module>
    import pandas.tools.plotting as _gfx
  File "/usr/local/lib/python2.7/dist-packages/pandas/tools/plotting.py", line 26, in <module>
    import pandas.tseries.converter as conv
  File "/usr/local/lib/python2.7/dist-packages/pandas/tseries/converter.py", line 7, in <module>
    import matplotlib.units as units
  File "/usr/lib/pymodules/python2.7/matplotlib/__init__.py", line 774, in <module>
    rcParams = rc_params()
  File "/usr/lib/pymodules/python2.7/matplotlib/__init__.py", line 692, in rc_params
    fname = matplotlib_fname()
  File "/usr/lib/pymodules/python2.7/matplotlib/__init__.py", line 604, in matplotlib_fname
    fname = os.path.join(get_configdir(), 'matplotlibrc')
  File "/usr/lib/pymodules/python2.7/matplotlib/__init__.py", line 253, in wrapper
    ret = func(*args, **kwargs)
  File "/usr/lib/pymodules/python2.7/matplotlib/__init__.py", line 475, in _get_configdir
    raise RuntimeError("'%s' is not a writable dir; you must set %s/.matplotlib to be a writable dir.  You can also set environment variable MPLCONFIGDIR to any writable directory where you want matplotlib data stored "% (h, h))
RuntimeError: '/home/marsman' is not a writable dir; you must set /home/marsman/.matplotlib to be a writable dir.  You can also set environment variable MPLCONFIGDIR to any writable directory where you want matplotlib data stored

More details in NIDM notes.

Use statistic label as a title for each brain map

Currently the "BRAIN" button in the nidmviewer displays a temporary file name:
image

Could we use the label of the corresponding statistic map to have something more meaningful? I can update the query accordingly if that's useful. Let me know!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.