Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: The openjd run command does not handle relative paths correctly #25

Open
mwiebe opened this issue Jan 2, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@mwiebe
Copy link
Contributor

mwiebe commented Jan 2, 2024

Expected Behaviour

  1. If a relative path is a default parameter to a job template, it should treat the path as relative to the location of the job template.
  2. If a relative path is provided as a job parameter (e.g. -p InputSceneFile=../path/to/car_render.blend, it should treat the path as relative to the current CWD.

Current Behaviour

The relative path is untouched in how the job is run, so it shows up as a relative path in the template substitution. That means that in both the case of a job template parameter default, and a job parameter provided externally, the path is treated as relative to whatever the CWD happens to be when the path is used inside the job template script.

Reproduction Steps

No response

Code Snippet

No response

@mwiebe mwiebe added the bug Something isn't working label Jan 2, 2024
@ddneilson ddneilson added enhancement New feature or request and removed bug Something isn't working labels Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants