I've enjoyed the EZ suite for a while but there are a few things that have been annoying. The most annoying is after loading any of the EZ scripts I can no longer run the MaskGen script. Sometimes this is helpful to build a star map and layer into a star mask for EZ Decon.
But I have figured it out! There are 2 functions added to interfaces that MaskGen blows up on. And there's a simple 2 line fix. In EZ_Common.js add the following near the end. I put them just before the call to onExit();
// clear added functions which breaks some scripts like MaskGen
delete Array.prototype.removeItem;
delete Object.prototype.printPropertiesDebug;
This removes 2 functions that were added, one to Array, one to Object. Each time a script is run it'll add it again so no worries. Best of both worlds.
One other thing I wanted was to have the view automatically populated with the active view. Again in the main function in EZ_Common.js after creating the "dialog" object, add the following:
dialog.mainViewSelector.currentView = ImageWindow.activeWindow.currentView;
dialog.mainViewSelector.onViewSelected(ImageWindow.activeWindow.currentView);
Thanks for the great work!
Naveen
The auto populate is great. Also for further pimping of EZ_Common.js I suggest revising showWarning as follows
var showWarning = false;
Rod
Is there any change in new Pix version, which would block EZ suite?
updates.xri
file of our official update repository for version 1.8.8-10: <platform os="all" arch="noarch" version="1.8.8-10:1.8.8-10">
<package fileName="20211118-script.zip"
sha1="a509dedcd10f627577497b7ec8b6b56ca60d8d17"
type="script"
releaseDate="20211118">
<remove> <!-- ### WARNING ### DO NOT PROPAGATE ### -->
src/scripts/JohnMurphy
</remove>
<title>
PhotometricMosaic version 3.4.1 / NormalizeScaleGradient version 1.4.4 (update/bugfix)
</title>
<description>
<p>
This update installs new versions of the PhotometricMosaic and NormalizeScaleGradient scripts, written by John Murphy. This is a cumulative update/bugfix release for PixInsight 1.8.8-10:
</p>
<p>
<b>PhotometricMosaic</b>
</p>
<ul>
<li>
Color image star detection is now three times faster.
</li>
<li>
Option to replace reference image instead of creating new image. This helps preserve the process history.
</li>
<li>
Removed Trim warning messages if using the 'Replace Region' option.
</li>
<li>
Replace Region is now mask aware.
</li>
</ul>
<p>
<b>NormalizeScaleGradient</b>
</p>
<ul>
<li>
Enable process history and add target file count.
</li>
</ul>
<p>
________________________________________________________________
</p>
<p>
Copyright © 2019-2021 John Murphy<br/>
Copyright © 2003-2021 Pleiades Astrophoto.
</p>
</description>
</package>
</platform>
platform
XML element should be:<platform os="all" arch="noarch" version="1.8.8-11:1.8.8-11">
<platform os="all" arch="noarch" version="1.8.8-8:1.8.8-11">
This probably happens because the repository at https://darkarchon.internet-box.ch:8443/ is not advertising updates for the new 1.8.8-11 version. For example, this is a fragment of theupdates.xri
file of our official update repository for version 1.8.8-10:
Does anybody else have issues opening up EZ Processing after the recent PI update? It was fine until today and now the suite seems to be removed from PI.
Thank you pfile - I located the scripts in the src directory and have added them back to the script list. Not sure why they disappeared from the featured list.Script > Feature Scripts, click Add, click Open on the file dialog. inspect the Feature Scripts dialog to make sure the existing scripts were not doubled up (listed twice each.) if not, click OK and EZScripts should be back in the menus.
rob