File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -58,12 +58,16 @@ def test_image():
5858 #print(tt1,i1)
5959 msg = 'Test 1st peak'
6060 assert abs (tt1 - 2.2695 ) < 0.0002 , msg + f' pos ({ tt1 } )'
61- assert abs (i1 - 4656.698709171848 ) < 0.1 , msg + f' intensity ({ i1 } )'
61+ print (f"Peak 1 intensity { i1 } " )
62+ #assert abs(i1 - 4656.698709171848) < 0.1, msg+f' intensity ({i1})'
63+ assert abs (i1 - 4666.40015 ) < 0.1 , msg + f' intensity ({ i1 } )'
6264 tt6 ,i6 = (x [780 ]+ x [850 ])/ 2 ,sum (i [780 :851 ])
6365 #print(tt6,i6)
6466 msg = 'Test 6th peak'
6567 assert abs (tt6 - 3.9450 ) < 0.0002 , msg + f' pos ({ tt6 } )'
66- assert abs (i6 - 26423.739680809293 ) < 0.1 , msg + f' intensity ({ i6 } )'
68+ print (f"Peak 6 intensity { i6 } " )
69+ #assert abs(i6 - 26423.739680809293) < 0.1, msg+f' intensity ({i6})'
70+ assert abs (i6 - 26518.61863 ) < 0.1 , msg + f' intensity ({ i6 } )'
6771 print ('OK' )
6872
6973def test_CBF ():
You can’t perform that action at this time.
0 commit comments