Opened 10 years ago

Closed 10 years ago

#237 closed defect (fixed)

command "delete solvent" gives error

Reported by: Elaine Meng Owned by: Eric Pettersen
Priority: blocker Milestone:
Component: Command Line Version:
Keywords: Cc: Conrad Huang
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

open anything with solvent, use command "delete solvent"

Traceback (most recent call last):
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/cmd_line/gui.py", line 121, in on_enter
cmd.execute()
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/commands/cli.py", line 1822, in execute
results.append(ci.function(session, kw_args))
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/commands/delete.py", line 12, in delete
atoms.delete()
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/atomic/molarray.py", line 384, in delete
c_function('atom_delete', args = [ctypes.c_void_p, ctypes.c_size_t])(uptrs, len(uptrs))
ctypes.ArgumentError: argument 1: <class 'TypeError'>: wrong type

Change History (1)

comment:1 by Eric Pettersen, 10 years ago

Resolution: fixed
Status: newclosed

Removed unnecessary and buggy code that tried to get unique set of pointers

Note: See TracTickets for help on using tickets.