Skip to content

Commit

Permalink
use the executable
Browse files Browse the repository at this point in the history
  • Loading branch information
leoschwarz committed Jan 20, 2025
1 parent aab22c6 commit 62930e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app_runner/src/app_runner/bfabric_app/wrapper_creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def get_data(self) -> WorkunitWrapperData:
"""Returns the data to be written to WORKUNIT context executable."""
workunit_definition = WorkunitDefinition.from_workunit(workunit=self._workunit)
# TODO could this be made more robust in the future, e.g. by specifying the root path somehow?
path = Path(self._workunit.application["program"])
path = Path(self._workunit.application.executable["program"])
application_definition = AppSpecTemplate.model_validate(yaml.safe_load(path.read_text()))
return WorkunitWrapperData(workunit=workunit_definition, app=application_definition)

Expand Down

0 comments on commit 62930e2

Please sign in to comment.