Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python auto-complete does not understand newlines #751

Closed
ihnorton opened this issue Oct 2, 2017 · 2 comments
Closed

Python auto-complete does not understand newlines #751

ihnorton opened this issue Oct 2, 2017 · 2 comments

Comments

@ihnorton
Copy link
Contributor

ihnorton commented Oct 2, 2017

In Slicer console:

>>> for i in range(0,5):
...   n1.GetIJKToRASMatrix()
...   n1.<tab>
  File "<string>", line 1
    _ctkAbstractPythonManager_autocomplete_tmp = n1.GetIJKToRASMatrix()n1
                                                                        ^
SyntaxError: invalid syntax

cc @MayeulChassagnard

@MayeulChassagnard
Copy link
Member

Hi, I'm not available right now
@jcfr Could you please help him on that?

@ihnorton
Copy link
Contributor Author

ihnorton commented Oct 2, 2017

That's ok, looks like there are several related issues to be addressed after we move to Qt5.

ihnorton added a commit to ihnorton/CTK that referenced this issue Oct 3, 2017
Erasing whitespace doesn't make sense for any language, but especially
python.

Fixes commontk#751
ihnorton added a commit to ihnorton/CTK that referenced this issue Oct 3, 2017
Erasing whitespace doesn't make very much sense for any language,
but especially not for python.

Fixes commontk#751
@jcfr jcfr closed this as completed in #752 Oct 3, 2017
slicerbot pushed a commit to Slicer/SlicerGitSVNArchive that referenced this issue Oct 3, 2017
References:
* commontk/CTK#751
* fedorov/MultiVolumeImporter#23

List of changes:

```
$ git shortlog a83cec9..f096a15 --no-merges
Isaiah Norton (1):
      BUG: preserve whitespace in console completion

Steve Pieper (1):
      BUG: consistent return for value of uninitialized data
```

git-svn-id: http://svn.slicer.org/Slicer4/trunk@26416 3bd1e089-480b-0410-8dfb-8563597acbee
jcfr added a commit to jcfr/SlicerGitSVNArchive that referenced this issue Oct 13, 2017
References:
* commontk/CTK#751
* fedorov/MultiVolumeImporter#23

List of changes:

```
$ git shortlog a83cec9..f096a15 --no-merges
Isaiah Norton (1):
      BUG: preserve whitespace in console completion

Steve Pieper (1):
      BUG: consistent return for value of uninitialized data
```

git-svn-id: http://svn.slicer.org/Slicer4/trunk@26416 3bd1e089-480b-0410-8dfb-8563597acbee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants