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 users to specify which "main.py" to run in a computational service #141

Open
newton1985 opened this issue Sep 2, 2024 · 2 comments
Assignees

Comments

@newton1985
Copy link

Describe the user role
As an osparc user, I would like to improve the process of running computational jobs.

Describe the goal
It would be nice if users could point to the exact script they would like to run in a computational job. Going by a naming convention is a bit brittle, and it's especially difficult when there are multiple files in a repository with the name "main" in them (common enough).

Describe the benefit
Easier integration with a range of python code that will be run non-interactively.

Additional context

@calys
Copy link

calys commented Sep 2, 2024

would letting the user specify the full command be a decent solution?

> python src/my_code.py --my-arg 42

If the command is not specified, the runner would default to executing the first main.py it finds...

@newton1985
Copy link
Author

absolutely!

@pcrespov pcrespov transferred this issue from ITISFoundation/osparc-issues Sep 2, 2024
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

6 participants