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

Creating a template should allow setting script name #297

Open
MorganRodgers opened this issue Apr 25, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@MorganRodgers
Copy link
Contributor

commented Apr 25, 2019

The create template dialog only allows entry of the code path, but not the script to use by default. At the moment it appears to pick a random executable for the dir you specify. The only way I can see to fix this is to edit the manifest file after template creation.

Steps to recreate:

  • New template
  • Enter a code path
  • Enter a name
  • Hit save

New template is now shown with a job dialog on the right with a Script Name that was somehow chosen and is not changeable.

Thanks,
Louis

Copied from Discourse.

@MorganRodgers

This comment has been minimized.

Copy link
Contributor Author

commented Apr 25, 2019

Currently setting the script file is the responsibility of the Manifest#default_script, and it is not possible to set it in Manifest#initialize.

A good first step would be to add an input to the new Template view for script selection. A better experience would be to offer a select with all of the files in the root of the selected directory as options. Currently we just take the first *.pbs or *.sh which isn't very intuitive and is PBS/Torque favoritism.

@zPianodude

This comment has been minimized.

Copy link

commented Apr 26, 2019

An input on the new Template view would be great and the selection pulldown even better. In general, it would be nice to add the file selection pulldown for any path or file selection across the board.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.