Skip to content
Snippets Groups Projects

Got EVLA CMS restores working via casa_envoy, using casa_restorepipescript.py when it exists

Merged Sam Kagan requested to merge use-casa-version-pipescript-in-casa-envoy into 2.8.4-DEVELOPMENT
1 unresolved thread
1 file
+ 4
0
Compare changes
  • Side-by-side
  • Inline
@@ -173,6 +173,10 @@ class CalibrationLauncher(LauncherIF):
if self.parameters["product_type"] == ProductType.RESTORE.value:
restore_foundation = RestoreFoundation(self.parameters, self.metadata)
restore_foundation.data_foundation()
# This won't do anything,
# unless parameters["ppr"] wasn't set from casa_envoy's arguments,
# in which case it'll set it with the PPR.xml in the tarball
self.parameters["ppr"] = str(restore_foundation.parameters["ppr"])
if restore_foundation.piperestorescript_path:
# Need to make this available to the Runner if it exists
self.parameters["piperestorescript_path"] = restore_foundation.piperestorescript_path
Loading