Skip to content

Broken import CDXML #3

@Biondilbiondo

Description

@Biondilbiondo

When trying to import a CDXML file, i get this error:

Error: 3
<type 'exceptions.IndexError'> Exception in Tk callback
  Function: <function <lambda> at 0x7fcae6f74848> (type: <type 'function'>)
  Args: ()
Traceback (innermost last):
  File "/usr/lib/python2.7/site-packages/Pmw/Pmw_1_3_3/lib/PmwBase.py", line 1753, in __call__
    return apply(self.func, args)
  File "/usr/lib/python2.7/site-packages/bkchem/misc.py", line 116, in <lambda>
    return lambda: function( *arguments, **attrs)
  File "/usr/lib/python2.7/site-packages/bkchem/main.py", line 1023, in plugin_import
    doc = importer.get_molecules( filename)
  File "/usr/lib/python2.7/site-packages/bkchem/plugins/CDXML.py", line 229, in get_molecules
    point2 = map( float, sipka[2].split())
<type 'exceptions.IndexError'>: list index out of range

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions