Commit dc5a4558 authored by Zolnierczuk, Piotr's avatar Zolnierczuk, Piotr
Browse files

fixing issue #31:

Do not raise an error when phase offset determination fails.
Changed error to warning.
parent c125f5af
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@ export PROJECT=drspine

export VERSION_MAJOR=1
export VERSION_MINOR=4
export VERSION_RELEASE=2
export VERSION_RELEASE=3

export PROJLIB=lib$(PROJECT).a
export PROJARCH=$(PROJECT)-$(VERSION_MAJOR).$(VERSION_MINOR)
+2 −2
Original line number Diff line number Diff line
@@ -439,9 +439,9 @@ contains
       if(abs(djoffset-xof2) < reduction_parameters%symmetry_phase_min_offset) exit xprt
       if(xprange > MAX_PHASE_RANGE ) then
            djoffset = 0.0d0
            call msg_error('get_phase_offset', pixel=cpixel(datpix), point=cpoint(datpix),&
            call msg_warning('get_phase_offset', pixel=cpixel(datpix), point=cpoint(datpix),&
                msg='phase offset determination failed',&
                extra=msg_fmt("('max phase range exceeded ',i0)", xprange), err=ERROR_DATA_PROCESSING)
                extra=msg_fmt("('max phase range exceeded ',i0)", xprange))
            return
       end if
       xprange  = xprange * 2