[fluka-discuss]: Flair problem

From: James Ryan <james.ryan-4_at_postgrad.manchester.ac.uk>
Date: Thu, 27 Mar 2014 17:33:58 +0000

Dear FLUKA experts,


I've updated to the new version of flair, and when I go to load an input file I get this error (in the terminal):


[17:01:24] -bash-4.2$ Traceback (most recent call last):
  File "/samdata1/jryan/FLUKA/flair-2.0/tkFlair.py", line 1210, in __call__
    return self.func(*args)
  File "/samdata1/jryan/FLUKA/flair-2.0/flair.py", line 989, in loadInput
    self.project.loadInput(filename)
  File "/samdata1/jryan/FLUKA/flair-2.0/Project.py", line 1685, in loadInput
    self.input.read(self.inputFile)
  File "/samdata1/jryan/FLUKA/flair-2.0/Input.py", line 2817, in read
    if self.parse(): return True
  File "/samdata1/jryan/FLUKA/flair-2.0/Input.py", line 3063, in parse
    self._addCard(Card(tag, what, self._comment, extra))
  File "/samdata1/jryan/FLUKA/flair-2.0/Input.py", line 1275, in __init__
    self.changeTag(tag, False)
  File "/samdata1/jryan/FLUKA/flair-2.0/Input.py", line 1290, in changeTag
    self.info = CardInfo.get(tag)
  File "/samdata1/jryan/FLUKA/flair-2.0/Input.py", line 812, in get
    if card[0] not in ("$","#"):
IndexError: string index out of range

?If anyone could point me in the right direction it would be much appreciated!


James Ryan
Nuclear FiRST DTC
University of Manchester
james.ryan-4_at_postgrad.manchester.ac.uk
+447890 486 709
Received on Thu Mar 27 2014 - 19:38:47 CET

This archive was generated by hypermail 2.3.0 : Thu Mar 27 2014 - 19:38:48 CET