{"action":"opened","issue":{"url":"https://api.github.com/repos/Mouse-Imaging-Centre/pydpiper/issues/297","repository_url":"https://api.github.com/repos/Mouse-Imaging-Centre/pydpiper","labels_url":"https://api.github.com/repos/Mouse-Imaging-Centre/pydpiper/issues/297/labels{/name}","comments_url":"https://api.github.com/repos/Mouse-Imaging-Centre/pydpiper/issues/297/comments","events_url":"https://api.github.com/repos/Mouse-Imaging-Centre/pydpiper/issues/297/events","html_url":"https://github.com/Mouse-Imaging-Centre/pydpiper/issues/297","id":192083397,"number":297,"title":"--lsq12-max-pairs doesn't work as expected","user":{"login":"gdevenyi","id":3001850,"avatar_url":"https://avatars.githubusercontent.com/u/3001850?v=3","gravatar_id":"","url":"https://api.github.com/users/gdevenyi","html_url":"https://github.com/gdevenyi","followers_url":"https://api.github.com/users/gdevenyi/followers","following_url":"https://api.github.com/users/gdevenyi/following{/other_user}","gists_url":"https://api.github.com/users/gdevenyi/gists{/gist_id}","starred_url":"https://api.github.com/users/gdevenyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdevenyi/subscriptions","organizations_url":"https://api.github.com/users/gdevenyi/orgs","repos_url":"https://api.github.com/users/gdevenyi/repos","events_url":"https://api.github.com/users/gdevenyi/events{/privacy}","received_events_url":"https://api.github.com/users/gdevenyi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-28T18:36:44Z","updated_at":"2016-11-28T18:36:44Z","closed_at":null,"body":"Help:\r\n```sh\r\n --lsq12-max-pairs MAX_PAIRS\r\n                        Maximum number of pairs to register together ('None'\r\n                        implies all pairs). [Default = 25]\r\n```\r\n\r\nMy call:\r\n```sh\r\n--lsq12-max-pairs None\r\n#or\r\n--lsq12-max-pairs 'None'\r\n#or\r\n--lsq12-max-pairs=None\r\n```\r\n\r\nResult:\r\n```python\r\nTraceback (most recent call last):\r\n  File \"/opt/quarantine/pydpiper/2.0.5/build/bin/MBM.py\", line 4, in <module>\r\n    __import__('pkg_resources').run_script('pydpiper==2.0.5', 'MBM.py')\r\n  File \"/opt/quarantine/anaconda/4.2.0-python3/build/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg/pkg_resources/__init__.py\", line 744, in run_script\r\n    self.require(requires)[0].run_script(script_name, ns)\r\n  File \"/opt/quarantine/anaconda/4.2.0-python3/build/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg/pkg_resources/__init__.py\", line 1499, in run_script\r\n    exec(code, namespace, namespace)\r\n  File \"/opt/quarantine/pydpiper/2.0.5/build/lib/python3.5/site-packages/pydpiper-2.0.5-py3.5.egg/EGG-INFO/scripts/MBM.py\", line 286, in <module>\r\n    mbm_application()\r\n  File \"/opt/quarantine/pydpiper/2.0.5/build/lib/python3.5/site-packages/pydpiper-2.0.5-py3.5.egg/pydpiper/execution/application.py\", line 173, in f\r\n    execute(pipeline(options).stages, options)\r\n  File \"/opt/quarantine/pydpiper/2.0.5/build/lib/python3.5/site-packages/pydpiper-2.0.5-py3.5.egg/EGG-INFO/scripts/MBM.py\", line 51, in mbm_pipeline\r\n    output_dir=options.application.output_directory))\r\n  File \"/opt/quarantine/pydpiper/2.0.5/build/lib/python3.5/site-packages/pydpiper-2.0.5-py3.5.egg/EGG-INFO/scripts/MBM.py\", line 137, in mbm\r\n    nlin_conf=full_hierarchy))\r\n  File \"/opt/quarantine/pydpiper/2.0.5/build/lib/python3.5/site-packages/pydpiper-2.0.5-py3.5.egg/pydpiper/minc/registration.py\", line 2069, in lsq12_nlin_build_model\r\n    lsq12_dir=lsq12_dir))\r\n  File \"/opt/quarantine/pydpiper/2.0.5/build/lib/python3.5/site-packages/pydpiper-2.0.5-py3.5.egg/pydpiper/minc/registration.py\", line 1993, in lsq12_pairwise\r\n    max_pairs=lsq12_conf.max_pairs))\r\n  File \"/opt/quarantine/pydpiper/2.0.5/build/lib/python3.5/site-packages/pydpiper-2.0.5-py3.5.egg/pydpiper/minc/registration.py\", line 1892, in multilevel_pairwise_minctracc\r\n    if max_pairs < 2:\r\nTypeError: unorderable types: NoneType() < int()\r\n\r\n```\r\n"}}
{"actor":{"display_login":"gdevenyi"}}