[fluka-discuss]: RE: Flair problem

From: Vasilis Vlachoudis <Vasilis.Vlachoudis_at_cern.ch>
Date: Thu, 27 Mar 2014 20:51:21 +0000

Hi James,

can you send the input that causes the problem?

Vasilis

________________________________
From: owner-fluka-discuss_at_mi.infn.it [owner-fluka-discuss_at_mi.infn.it] on behalf of James Ryan [james.ryan-4_at_postgrad.manchester.ac.uk]
Sent: 27 March 2014 18:33
To: fluka-discuss_at_fluka.org
Subject: [fluka-discuss]: Flair problem


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 - 23:00:56 CET

This archive was generated by hypermail 2.3.0 : Thu Mar 27 2014 - 23:00:57 CET