PixInsight Forum

PixInsight => General => Topic started by: CraigNZ on 2019 February 21 18:00:19

Title: BPP Export Calibration Files missing
Post by: CraigNZ on 2019 February 21 18:00:19
I am running PI v1.8.6 and BPP v1.47.  I am trying to save my session settings and file names and I understand there is a checkbox labeled "Export Calibration Files" .. but I cannot find it.  It is not listed in Global Options and I didn't see it listed anywhere in PI Global preferences.  Where do I find this?  Or is it possible when I installed PI in the C:\windows\Program Files folder that Windows 10 is blocking BPP from saving its settings?

Craig
Title: Re: BPP Export Calibration Files missing
Post by: CraigNZ on 2019 February 22 11:24:29
Looking at the script source code, module BatchPreprocessing-GUI.js, I see this section is commented:
/*
   this.exportCalibrationFilesCheckBox = new CheckBox( this );
   this.exportCalibrationFilesCheckBox.text = "Export calibration files";
   this.exportCalibrationFilesCheckBox.toolTip = "<p>When checked, calibration file names will be exported in generated instances.</p>";
   this.exportCalibrationFilesCheckBox.onCheck = function( checked )
   {
      engine.exportCalibrationFiles = checked;
   };
   */

So it looks like this feature has been removed?  Which would explain why I cannot save the list of calibration files.

Craig
Title: Re: BPP Export Calibration Files missing
Post by: CraigNZ on 2019 February 22 13:26:12
I now have this script working.  I copied the commented section of code to an area further down where it was populating the option checkboxes and now I can save all the parameters and calibration file settings to an icon.

Not sure why this section of code has been commented out.  Maybe the developer can explain, or I am using the wrong version.

Craig
Title: Re: BPP Export Calibration Files missing
Post by: Juan Conejero on 2019 February 22 13:42:25
Hi Craig,

This option has been removed because it was confusing, unnecessary, and was causing many problems when disabled.

Click the Reset button and select the Reset all parameters to factory default values option. This will enable file exporting so you won't need to customize the script. In the next version of BPP this functionality will be completely removed so all file lists will always be exported.
Title: Re: BPP Export Calibration Files missing
Post by: CraigNZ on 2019 February 22 14:36:44
Okay, thanks for the update.

Craig