Skip to content
This repository was archived by the owner on Aug 21, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/python_deploy_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ concurrency:
jobs:
call-workflow-conda-release:
name: Publish production Conda package on JFrog Artifactory
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-release_conda_assets.yml@main
if: ${{ github.event_name == 'release' || github.event.inputs.publish-conda == 'true' }}
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-release_conda_assets.yml@main
with:
virtual-repo-names: '["public-conda-prod"]'
virtual-repo-names: '["public-noremote-conda-prod"]'
release-tag: ${{ github.event.release.tag_name || github.event.inputs.release-tag }}
secrets:
JFROG_ARTIFACTORY_URL: ${{ secrets.JFROG_ARTIFACTORY_URL }}
Expand Down
7 changes: 5 additions & 2 deletions param_sweeps/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,9 @@ def update_lookup(self, lookup: dict, gather_first: bool = False):
def write_files(self, lookup):
"""Write ui.geoh5 and ui.json files for sweep trials."""

if self.params.worker_uijson is None:
raise ValueError("Worker ui.json file path must be specified.")

ifile = InputFile.read_ui_json(self.params.worker_uijson)
with ifile.data["geoh5"].open(mode="r") as workspace:
for name, trial in lookup.items():
Expand All @@ -162,10 +165,10 @@ def write_files(self, lookup):
iter_h5file = str(Path(workspace.h5file).parent / f"{name}.ui.geoh5")
shutil.copy(workspace.h5file, iter_h5file)

ifile.data.update(
ifile.update_ui_values(
dict(
{key: val for key, val in trial.items() if key != "status"},
**{"geoh5": iter_h5file},
**{"geoh5": Workspace(iter_h5file)},
)
)

Expand Down
Loading