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

AiiDA code registry for code/computer setup having template yml support #482

Closed
unkcpz opened this issue May 17, 2023 · 2 comments · Fixed by #511
Closed

AiiDA code registry for code/computer setup having template yml support #482

unkcpz opened this issue May 17, 2023 · 2 comments · Fixed by #511
Assignees

Comments

@unkcpz
Copy link
Member

unkcpz commented May 17, 2023

See aiidateam/team-compass#4, the concept can be quickly implemented to be used in AiiDAlab code setup widget.
For the widget, the template in the remote repo (or from gh-page) is read and prompts the field for the set.

@danielhollas
Copy link
Contributor

Big plus on this in general, but could you please elaborate a bit more what you're proposing here?

For the widget, the template in the remote repo (or from gh-page) is read and prompts the field for the set.

Specifically, I don't understand how the widget would determine where it should read the template from? Would the user pass a URL? What remote repo are we talking about here?

@unkcpz
Copy link
Member Author

unkcpz commented May 19, 2023

Here is a demo to show the proof of concept, the registry is host in my fork repository https://unkcpz.github.io/aiida-code-registry/database_v2_1.json
Changes for the aiida-code-registry can be found in aiidateam/aiida-code-registry#83

Peek 2023-05-19 12-43

@unkcpz unkcpz self-assigned this Jun 21, 2023
@unkcpz unkcpz mentioned this issue Sep 14, 2023
26 tasks
unkcpz added a commit that referenced this issue Oct 20, 2023
fixes #482
also fixes aiidalab/aiidalab-qe#240

The `ComputerResourceSetupWidget` is renewed with using https://github.com/aiidateam/aiida-resource-registry. It supports having template strings in the resources (computer/code) setup config files. 
After the computer/code is selected, the template variables will pop up and ask the user to fill up. This makes the resource setup straightforward and intuitive.

- bugs are fixed for SSH setup 
- The layout of the widget is tuned. 

---------

Co-authored-by: Aliaksandr Yakutovich <[email protected]>
unkcpz added a commit to unkcpz/aiidalab-widgets-base that referenced this issue Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants