Author Topic: BPP Export Calibration Files missing  (Read 326 times)

Offline CraigNZ

  • PixInsight Enthusiast
  • **
  • Posts: 94
    • View Profile
BPP Export Calibration Files missing
« 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

Offline CraigNZ

  • PixInsight Enthusiast
  • **
  • Posts: 94
    • View Profile
Re: BPP Export Calibration Files missing
« Reply #1 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

Offline CraigNZ

  • PixInsight Enthusiast
  • **
  • Posts: 94
    • View Profile
Re: BPP Export Calibration Files missing
« Reply #2 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

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 6862
    • View Profile
    • http://pixinsight.com/
Re: BPP Export Calibration Files missing
« Reply #3 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.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline CraigNZ

  • PixInsight Enthusiast
  • **
  • Posts: 94
    • View Profile
Re: BPP Export Calibration Files missing
« Reply #4 on: 2019 February 22 14:36:44 »
Okay, thanks for the update.

Craig