-
Notifications
You must be signed in to change notification settings - Fork 2
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
Enable customising orchestration #103
Conversation
The extensions consist of two addresses: (1) 'extension_file' includes the address of a script for any decorations of existing nodes/arcs/models objects; (2) 'new_classes' includes the new node name and the associated script address. It is noted that only the folder address is provided rather than the exact script address.
…rcs/models objects
-Update model: -- Add custom orchestration -- Load/save the custom orchestration -Update model_extensions.py -- Remove custom orchestration (this is now simplified) - Update settings_saved.yaml -- Add custom orchestration
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.
in principle this looks ok, but the checks are all failing. Please, fix them to make sure these changes don't break anything.
for not conflicting with test_tutorial.py
Thank you Diego! I've now reformatted the code to pass the test. However, I still get one failed, which I have no clue how to address. Any suggestions would be helpful. |
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.
There was a version obsolete preventing from things to pass, but now is fine.
I've just made a minor suggestion, but happy to go ahead.
Co-authored-by: Diego Alonso Álvarez <[email protected]>
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.
I committed @dalonsoa 's suggestion since it passes.
Otherwise fine
As requested by Enable extensions (loader) #99, this PR only keeps the customisation of orchestration from the Enable customisation pull request #54, and bins else. Another
test_customise_orchestration
function has also been added intest_model.py
with an example ymal filetest_customise_orchestration_example.yaml
.