Skip to content
Snippets Groups Projects
Commit dacaa59f authored by Daniel Nemergut's avatar Daniel Nemergut
Browse files

Had the wrong CAPO keys (still)

parent 29f2bb14
No related branches found
No related tags found
2 merge requests!1706merge 2.8.4 to main,!1670WS-1405 CASA matrix service
Pipeline #16083 passed
......@@ -22,8 +22,8 @@ DEFAULT_CASA_CAPO_KEYS = {
"std_calibration": "homeForReprocessing",
"restore_cms": "homeForVlaRestore|homeForAlmaRestore",
"restore_basic_ms": "homeForDownloads",
"std_cms_imaging": "homeForVlaUserDrivenImaging|homeForAlmaUserDrivenImaging",
"std_restore_imaging": "homeForVlaUserDrivenImaging|homeForAlmaUserDrivenImaging",
"std_cms_imaging": "homeForReprocessing",
"std_restore_imaging": "homeForReprocessing",
}
......
......@@ -207,7 +207,7 @@ class CasaMatrixService(CasaMatrixServiceIF):
self,
version: str | None = None,
capability: str | None = None,
telescope: str | None = None,
telescope: str | None = None
) -> dict[str, str]:
"""
Returns the CASA version that is valid for processing.
......@@ -227,7 +227,7 @@ class CasaMatrixService(CasaMatrixServiceIF):
self,
version: str | None = None,
capability: str | None = None,
telescope: str | None = None,
telescope: str | None = None
) -> list[dict[str, str]]:
"""
Returns the CASA versions that are valid for processing as a dict.
......@@ -270,9 +270,7 @@ class CasaMatrixService(CasaMatrixServiceIF):
return versions
def get_default_version(
self, capability: str | None, telescope: str | None
) -> str | None:
def get_default_version(self, capability: str | None, telescope: str | None) -> str | None:
"""
Gets the default CASA version from CAPO for the given capability (the std_calibration capability is default).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment