HEP-FCC / heppy

[deprecated] A python analysis framework for high energy physics
Other
11 stars 32 forks source link

restructuring for pypi #93

Closed cbernet closed 5 years ago

cbernet commented 5 years ago

That's a lot of changes, but it's just due to moving files to subdirectories. I'm not sure about the consequences for CI.

Have a nice week-end!

Colin

phsft-bot commented 5 years ago

Build or tests failed.

vvolkl commented 5 years ago

test this please

vvolkl commented 5 years ago

The context mechanism is still a headache, though. In the unittests, you have skipIf(context=="bare") but the context can now also be "root" and the fcc tests should still be skipped. Also I am not sure the fcc tests are actually still up to date and would succeed if not skipped. (but this is on my laptop with a local install of fcc software)

phsft-bot commented 5 years ago

All tests succeeded.

vvolkl commented 5 years ago

test this please

phsft-bot commented 5 years ago

Build or tests failed.

vvolkl commented 5 years ago

The CI configuration seems ok no, appears to be the tests that are failing:

======================================================================
FAIL: test_analysis_ee_ZH_mumubb (test_analysis_ee_ZH.TestAnalysis_ee_ZH)
Check for an almost perfect match with reference.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/build/jenkins/workspace/HEPPY-pullrequests/BUILDTYPE/Release/COMPILER/gcc62/LABEL/slc6/heppy/heppy/test/test_analysis_ee_ZH.py", line 65, in test_analysis_ee_ZH_mumubb
    self.assertAlmostEqual(mean, 110.87, 1)
AssertionError: 108.75454735874334 != 110.87 within 1 places

======================================================================
FAIL: test_z_clic (test_analysis_pdebug_clic.TestAnalysis_ee_Z)
Check Z mass in ee->Z->ddbar (CLIC).
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/build/jenkins/workspace/HEPPY-pullrequests/BUILDTYPE/Release/COMPILER/gcc62/LABEL/slc6/heppy/heppy/test/test_analysis_pdebug_clic.py", line 62, in test_z_clic
    self.assertEqual(0,os.system("source $HEPPY/test/data/pdebug_python_check.sh  physics_clic.txt $HEPPY/test/data/required_clic_physics_dd.txt"))
AssertionError: 0 != 256

======================================================================
FAIL: test_z_2_clic (test_analysis_ee_Z.TestAnalysis_ee_Z)
Check Z mass in ee->Z->ddbar (CLIC).
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/build/jenkins/workspace/HEPPY-pullrequests/BUILDTYPE/Release/COMPILER/gcc62/LABEL/slc6/heppy/heppy/test/test_analysis_ee_Z.py", line 110, in test_z_2_clic
    self.assertAlmostEqual(mean, 90.15, 1)
AssertionError: 90.71223590370774 != 90.15 within 1 places
vvolkl commented 5 years ago

Superseded by #96