-
Notifications
You must be signed in to change notification settings - Fork 200
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
Migrate the type and process type string of built in calculation plugins #2308
Migrate the type and process type string of built in calculation plugins #2308
Conversation
5a9d7c3
to
d7d343c
Compare
WHERE type = 'calculation.job.simpleplugins.templatereplacer.TemplatereplacerCalculation.'; | ||
|
||
UPDATE db_dbnode SET process_type = 'aiida.calculation:arithmetic.add' | ||
WHERE process_type = 'aiida.calculation:simpleplugins.arithmetic.add' |
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.
Missing ;
?
WHERE process_type = 'aiida.calculation:simpleplugins.arithmetic.add' | ||
|
||
UPDATE db_dbnode SET process_type = 'aiida.calculation:templatereplacer' | ||
WHERE process_type = 'aiida.calculation:simpleplugins.templatereplacer' |
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.
Missing ;
?
WHERE process_type = 'aiida.calculation:simpleplugins.templatereplacer'; | ||
|
||
UPDATE db_dbattribute SET tval = 'arithmetic.add' | ||
WHERE key = 'input_plugin' AND tval = 'simpleplugins.arithmetic.add'; |
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.
Needs a Join on Db_Dbnode to do the same as SQLA
Also, there is a pre-commit thing to fix |
7c0d05c
to
95ad6b2
Compare
The built in calculation entry points were recently moved and renamed but no migration was put in. This requires renaming the node types, process types and the input plugin attribute of code instances.
95ad6b2
to
c6e5381
Compare
Fixes #2306
The built in calculation entry points were recently moved and renamed
but no migration was put in.
This requires renaming the node types, process types and the input plugin
attribute of code instances.