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 when --cwd --folder and --script are given. #1160

Closed
dimidagd opened this issue Nov 21, 2023 · 0 comments · Fixed by #1161
Closed

Bug when --cwd --folder and --script are given. #1160

dimidagd opened this issue Nov 21, 2023 · 0 comments · Fixed by #1161
Labels
bug Something isn't working

Comments

@dimidagd
Copy link
Contributor

Describe the bug

A clear and concise description of what the bug is.

The logic in calculating relative paths appears to be flawed.

To reproduce

Given a tree structure

project_root
        ├── notebooks
        │   ├── run_clearml.py
clearml-task --project testing --name test_run --script notebooks/run_clearml.py --task-type testing  --folder $PWD --queue default --cwd notebooks

Expected behaviour

Error: 'notebooks' does not start with $PWD...

Environment

  • Ubuntu 22.04
  • ClearML SDK Version
  • clearml 1.13.2
  • python 3.10.12
  • OS Linux

Related Discussion

If this continues a slack thread, please provide a link to the original slack thread.

@dimidagd dimidagd added the bug Something isn't working label Nov 21, 2023
jkhenning pushed a commit that referenced this issue Feb 9, 2024
Fixes bug when using --cwd and --file with clearml-task

Co-authored-by: dimda <dimda@dtu.dk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant