You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all thank you such an amazing package. I am writing to you regarding one of the issues I face in SModels. I generated the lhe file in MG-3.5.5 for the channel:
generate p p > bp bp~, (bp > hp2~ u, hp2~ > e- ne), (bp~ > hp2 u~, hp2 > e+ ~ne)
But, when I test the signal via ./runModels, I face the following error:
(base) hrishikesh@hrishikesh-OptiPlex-3000:~/Downloads/smodels-3.1.1$ ./runSModelS.py -f inputFiles/lhe/test.lhe -p parameters.ini -o results
INFO in databaseObj.loadBinaryFile() in 562: loading binary db file /home/hrishikesh/.cache/smodels/official311.pcl format version 214
INFO in databaseObj.loadBinaryFile() in 569: Loaded database from /home/hrishikesh/.cache/smodels/official311.pcl in 1.1 secs.
INFO in modelTester.testPoints() in 354: Running SModelS for a single file
Traceback (most recent call last):
File "/home/hrishikesh/Downloads/smodels-3.1.1/smodels/base/model.py", line 208, in getModelDataFrom
res = pyslha.readSLHAFile(inputFile)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hrishikesh/anaconda3/lib/python3.11/site-packages/pyslha.py", line 1560, in readSLHAFile
return readSLHA(_read(spcfile), **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hrishikesh/anaconda3/lib/python3.11/site-packages/pyslha.py", line 790, in readSLHA
sys.stderr.write("Ignoring unknown section type: %s\n" % line.split()[0])
^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'write'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/hrishikesh/Downloads/smodels-3.1.1/smodels/matching/modelTester.py", line 255, in runSingleFile
res = testPoint(inputFile, outputDir, parser, database)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hrishikesh/Downloads/smodels-3.1.1/smodels/matching/modelTester.py", line 126, in testPoint
model.updateParticles(inputFile=inputFile,
File "/home/hrishikesh/Downloads/smodels-3.1.1/smodels/base/model.py", line 418, in updateParticles
massDict, decaysDict, xsections = self.getModelDataFrom(inputFile)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hrishikesh/Downloads/smodels-3.1.1/smodels/base/model.py", line 220, in getModelDataFrom
massDict, decaysDict = lheReader.getDictionariesFrom(inputFile)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hrishikesh/Downloads/smodels-3.1.1/smodels/base/lheReader.py", line 248, in getDictionariesFrom
eventMass,eventDecays = getDictionariesFromEvent(event)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hrishikesh/Downloads/smodels-3.1.1/smodels/base/lheReader.py", line 355, in getDictionariesFromEvent
raise SModelSError("More than one parent particle found")
smodels.base.exceptions.SModelSBaseError: 'More than one parent particle found'
Will you please help me out how to resolve this issue?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Dear developers of SModels,
First of all thank you such an amazing package. I am writing to you regarding one of the issues I face in SModels. I generated the lhe file in MG-3.5.5 for the channel:
generate p p > bp bp~, (bp > hp2~ u, hp2~ > e-
ne), (bp~ > hp2 u~, hp2 > e+ ~ne)But, when I test the signal via ./runModels, I face the following error:
(base) hrishikesh@hrishikesh-OptiPlex-3000:~/Downloads/smodels-3.1.1$ ./runSModelS.py -f inputFiles/lhe/test.lhe -p parameters.ini -o results
INFO in databaseObj.loadBinaryFile() in 562: loading binary db file /home/hrishikesh/.cache/smodels/official311.pcl format version 214
INFO in databaseObj.loadBinaryFile() in 569: Loaded database from /home/hrishikesh/.cache/smodels/official311.pcl in 1.1 secs.
INFO in modelTester.testPoints() in 354: Running SModelS for a single file
Traceback (most recent call last):
File "/home/hrishikesh/Downloads/smodels-3.1.1/smodels/base/model.py", line 208, in getModelDataFrom
res = pyslha.readSLHAFile(inputFile)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hrishikesh/anaconda3/lib/python3.11/site-packages/pyslha.py", line 1560, in readSLHAFile
return readSLHA(_read(spcfile), **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hrishikesh/anaconda3/lib/python3.11/site-packages/pyslha.py", line 790, in readSLHA
sys.stderr.write("Ignoring unknown section type: %s\n" % line.split()[0])
^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'write'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/hrishikesh/Downloads/smodels-3.1.1/smodels/matching/modelTester.py", line 255, in runSingleFile
res = testPoint(inputFile, outputDir, parser, database)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hrishikesh/Downloads/smodels-3.1.1/smodels/matching/modelTester.py", line 126, in testPoint
model.updateParticles(inputFile=inputFile,
File "/home/hrishikesh/Downloads/smodels-3.1.1/smodels/base/model.py", line 418, in updateParticles
massDict, decaysDict, xsections = self.getModelDataFrom(inputFile)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hrishikesh/Downloads/smodels-3.1.1/smodels/base/model.py", line 220, in getModelDataFrom
massDict, decaysDict = lheReader.getDictionariesFrom(inputFile)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hrishikesh/Downloads/smodels-3.1.1/smodels/base/lheReader.py", line 248, in getDictionariesFrom
eventMass,eventDecays = getDictionariesFromEvent(event)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hrishikesh/Downloads/smodels-3.1.1/smodels/base/lheReader.py", line 355, in getDictionariesFromEvent
raise SModelSError("More than one parent particle found")
smodels.base.exceptions.SModelSBaseError: 'More than one parent particle found'
Will you please help me out how to resolve this issue?
Beta Was this translation helpful? Give feedback.
All reactions