Bug #1265

preproc_batch_tops_esd deletes baseline table.dat

Added by Eric 12 months ago.

Status:NewStart date:2018-08-23
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Affected version:all Platform:

Description

in preproc_batch_tops, the following check is done:

if($mode == 1) then                                                                                       
   rm baseline_table.dat                                                                                   
endif       

However, in preproc_batch_tops_esd, it simply does

if (-f baseline_table.dat) rm baseline_table.dat

This will cause the baseline_table to be deleted even when the mode is set to 2, which results in no baseline_table.dat existing after the alignment is run. I suggest adding the test for mode==1.

Also available in: Atom PDF