Questions and Answers

0 Like 0 Dislike

Zheng Kang

IndexError: list assignment index out of range

Hi All,

I uploaded a monomer to build up an chain for Polyimide.

The chain built up ok but then there was an error: IndexError: list assignment index out of range.

======================== ERROR ========================

Traceback (most recent call last):
  File "/apps/polymod/r460/bin/main.py", line 12, in <module>
    datafile=data4Lammps.createDatafile(forcefield, structureName, sys.argv[1])
  File "/apps/polymod/r460/bin/data4Lammps.py", line 297, in createDatafile
    atomlinks=handleAtoms.AtomLink(baseatoms,basebonds)
  File "/apps/polymod/r460/bin/handleAtoms.py", line 115, in AtomLink
    atomlinktable[atom2-1][m2]=atom1
IndexError: list assignment index out of range

Report abuse

The table below shows the current "market value" of the question and estimated amount of points that you can earn, when the question is closed.

Points Breakdown points Details
* Activity points are calculated based on summing up the weighted number of answers, recommendations and answer votes. Read further details.
Activity* 35
Bonus 10
Total market value 45 total
Asker will earn 12 1/3 of activity points
Asker will pay 10 Reward for best answer assigned by asker
Best answer may earn 22 — 33 Up to 2/3 of activity points plus the bonus

0 Responses

No other responses made.