Skip to content

Commit

Permalink
fix: adaptor wheel override
Browse files Browse the repository at this point in the history
  • Loading branch information
Leon Li committed Jun 28, 2024
1 parent 86c318a commit ee90a35
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/deadline/maya_submitter/maya_render_submitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,12 +291,6 @@ def _get_job_template(
+ f"Actual: {wheels_path_package_names}"
)

override_adaptor_wheels_param = [
param
for param in override_environment["parameterDefinitions"]
if param["name"] == "OverrideAdaptorWheels"
][0]
override_adaptor_wheels_param["default"] = str(wheels_path)
override_adaptor_name_param = [
param
for param in override_environment["parameterDefinitions"]
Expand Down Expand Up @@ -418,6 +412,9 @@ def _get_parameter_values(

# If we're overriding the adaptor with wheels, remove the adaptor from the Packages parameters
if settings.include_adaptor_wheels:
wheels_path = str(Path(__file__).parent.parent.parent.parent / "wheels")
parameter_values.append({"name": "OverrideAdaptorWheels", "value": wheels_path})

rez_param = {}
conda_param = {}
# Find the Packages parameter definition
Expand Down

0 comments on commit ee90a35

Please sign in to comment.