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

allow specifying base path that is subtracted from abspath in upload_to_server #501

Open
lukasheinrich opened this issue Apr 23, 2021 · 0 comments

Comments

@lukasheinrich
Copy link
Member

lukasheinrich commented Apr 23, 2021

partially related to #491

upload_to_server does some calculation on what the final path should be by substractiing the current working directory.
This hampers the ability to submit workflows form a different directory

It would be great to be able to specify the "file root" in upload_to_server (which can very well default to os.getcwd())

save_path = path.replace(os.getcwd(), "")

@lukasheinrich lukasheinrich changed the title allow speicfying base path that is subtracted from abspath in upload_to_server allow specifying base path that is subtracted from abspath in upload_to_server Apr 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant