#965 closed defect (nonchimerax)
Jupyter lists all properties of an object twice
Reported by: | Tristan Croll | Owned by: | Tom Goddard |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Core | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
Probably just another PyQt bug? Lately, doing:
object.<tab>
for any given Python object in the Jupyter console lists all its properties twice over. Cosmetic only.
Change History (4)
comment:1 by , 8 years ago
follow-up: 2 comment:2 by , 8 years ago
Possible, but just to double-check/clarify: on my machine, the *list* is repeated twice - that is, it goes through all the attributes from 0-Z before listing them all over again. Not specific to ChimeraX objects - I get the same behaviour for a NumPy array. Tristan Croll Research Fellow Cambridge Institute for Medical Research University of Cambridge CB2 0XY
comment:3 by , 8 years ago
Resolution: | → nonchimerax |
---|---|
Status: | assigned → closed |
I see no double listing.
a = []
a.<tab>
lists the attributes only once (there are 11 attributes and the are listed in the shell). Jupyter QtConsole 4.3.1
Jupyter QtConsole 4.3.1
You'd have to report this bug the jupyter/qtconsole developers if you wanted it fixed or if you wanted people to be aware of it.
follow-up: 4 comment:4 by , 8 years ago
No worries. Doesn’t particularly bother me, but I might put in a bug report. Tristan Croll Research Fellow Cambridge Institute for Medical Research University of Cambridge CB2 0XY
Note:
See TracTickets
for help on using tickets.
Tab completion in the ChimeraX shell does not list the properties twice for me (Mac OS 10.13.2). Maybe this is just on Linux.
m = session.models.list()[0]
m.<tab>
lists attributes only once.