-
Notifications
You must be signed in to change notification settings - Fork 18
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
Adding support for orm.Containerized
codes
#617
Adding support for orm.Containerized
codes
#617
Conversation
This is obtained using the AiidaCodeSetup().code_setup attribute. I am not sure is the right way, as we should also provide the possibility to change the `image_name` and the `engine_command` via the GUI.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #617 +/- ##
==========================================
- Coverage 83.65% 83.62% -0.03%
==========================================
Files 16 16
Lines 3511 3517 +6
==========================================
+ Hits 2937 2941 +4
- Misses 574 576 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @mikibonacci, some minor requests.
codes -> code Co-authored-by: Jusong Yu <[email protected]>
…esources.py Using orm.AbstractCode instead of (orm.InstalledCode, orm.ContainerizedCode), so we automatically provide support for all the Code classes Co-authored-by: Jusong Yu <[email protected]>
there was still one `codes` left behind
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
This is obtained using the AiidaCodeSetup().code_setup attribute.
I am not sure is the better way, as we should also provide the possibility to change the
image_name
and theengine_command
via the GUI. However, I think that for now this is acceptable, as the containerized codes are mainlyset up by using the information on the
aiida-resource-registry
repo. Actually, it is a really new thing and for now only thephonopy@merlin-cpu
is defined.