Opened 8 years ago

Closed 6 years ago

#1071 closed defect (fixed)

vseries failure: list index out of range

Reported by: sshakeel@… Owned by: Tom Goddard
Priority: normal Milestone:
Component: Volume Data Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Hi,
I am trying to run vseries on ChimeraX latest dailybuild on Mac OS. It is giving me the following error:
vseries play <help:user/commands/vseries.html#play> #1
Traceback (most recent call last):
  File "/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/cmd_line/tool.py", line 205, in execute
    cmd.run(cmd_text)
  File "/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/commands/cli.py", line 2569, in run
    result = ci.function(session, **kw_args)
  File "/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/map/series/vseries_command.py", line 105, in vseries_play
    rendering_cache_size = cache_frames)
  File "/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/map/series/play.py", line 30, in __init__
    self.time_range = r = (0, len(series[0].maps)-1, 1) if range is None else range
IndexError: list index out of range

IndexError: list index out of range

File "/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/map/series/play.py", line 30, in __init__
self.time_range = r = (0, len(series[0].maps)-1, 1) if range is None else range


Thanks.

Regards,
Shabih

Change History (3)

comment:1 by pett, 8 years ago

Component: UnassignedVolume Data
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: Error while running seriesvseries failure: list index out of range

Reported by Shabih Shakeel

comment:2 by Tom Goddard, 8 years ago

The error from your ChimeraX command "vseries play #1" means that model #1 is not a map series. It should give a clearer error message instead of a traceback. When you open a map series it will say in the log that it opened a series. You may have to at to the open command the option "vseries true" to have it recognized as a map series, for example

open myfiles*.mrc vseries true

comment:3 by Tom Goddard, 6 years ago

Resolution: fixed
Status: assignedclosed

Made ChimeraX give a user-friendly error message "No volume series specified" if command does not specify a volume series.

Note: See TracTickets for help on using tickets.