Commit 59f4da5c authored by Miguel Angel Gonzalez's avatar Miguel Angel Gonzalez
Browse files

Changes to pass all tests. Expected value for IN16B test changed slightly...

Changes to pass all tests. Expected value for IN16B test changed slightly (0.07%) because of several changes in the reading routine. D2B calibration file renamed to d2b_unittest.cal to be sure of picking the right one. Removed plotting in IN10B prox, as not needed for the test.
parent ed53d4a4
This diff is collapsed.
......@@ -50,4 +50,4 @@ w31=w30[*,1] & y_tit[31]='Intercept'
w32=w30[*,2] & y_tit[32]='Slope'
;Mean square displacement
w33=-6*w32 & e33=6*e32 & y_tit[33]='u^2'
see,w=33,/beside
......@@ -801,7 +801,7 @@ OPENW,u,'lamp_fast_unit_test.txt', /get_lun
XICUTE,'@in16b_qens_treat'
cd, mee
if !error_state.msg gt ' ' then begin & lamp_error & printf,u,!error_state.msg & nbE++ & endif
if round(total(W7)*1000) ne 679633 then begin
if round(total(W7)*1000) ne 680093 then begin
lamp_message,'!Different result' & printf,u,'!Different result' & nbE++ & endif
endelse
......@@ -978,9 +978,9 @@ printf,u, '' & printf,u,st & print,'' & print,st & message,/reset
catch,stat
if stat ne 0 then begin & lamp_error & printf,u,!error_state.msg & nbE++
endif else begin
RDSET, inst='D2B' ; therefore import DIF plugins
RDSET, inst='D2B', /noraw ; therefore import DIF plugins
cd, P_to_DATA
CALIBRATION,file='d2b.cal'
CALIBRATION, file='d2b_unittest.cal'
W = RDOPR('514500', W=30)
W = RDOPR('514501', W=31)
W = RDOPR('514500>514501', W=32)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment