-
Notifications
You must be signed in to change notification settings - Fork 32
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
Support graph-scheduler graph structure conditions #2864
Support graph-scheduler graph structure conditions #2864
Conversation
kmantel
commented
Dec 14, 2023
- correct bug in autogenerating pnl Conditions from graph-scheduler Conditions
- modify Scheduler wrappers to support both basic and structural Conditions
- add wrappers for new graph_scheduler.Scheduler methods:
- remove_condition
- add_graph_edge
- remove_graph_edge
- update requirements to graph-scheduler<1.3.0 to include graph structure conditions release
- dependency dict must store names, not classes - must exclude own class name from dependencies (but not "alias" class names like And->All or Or->Any
This PR causes the following changes to the html docs (ubuntu-latest-3.11-x64):
See CI logs for the full diff. |
|
||
import graph_scheduler | ||
import pint | ||
|
||
import psyneulink as pnl |
Check notice
Code scanning / CodeQL
Module is imported with 'import' and 'import from' Note
@@ -23,12 +22,44 @@ | |||
from psyneulink.core.globals.mdf import MDFSerializable | |||
from psyneulink.core.globals.keywords import MODEL_SPEC_ID_TYPE, comparison_operators | |||
from psyneulink.core.globals.parameters import parse_context | |||
from psyneulink.core.globals.utilities import parse_valid_identifier | |||
from psyneulink.core.globals.utilities import parse_valid_identifier, toposort_key |
Check notice
Code scanning / CodeQL
Cyclic import Note
psyneulink.core.globals.utilities
from psyneulink import _unit_registry | ||
from psyneulink.core.globals.context import Context, handle_external_context | ||
from psyneulink.core.globals.mdf import MDFSerializable | ||
from psyneulink.core.globals.utilities import parse_valid_identifier | ||
from psyneulink.core.scheduling.condition import _create_as_pnl_condition | ||
from psyneulink.core.scheduling.condition import _create_as_pnl_condition, graph_structure_conditions_available, gsc_unavailable_message |
Check notice
Code scanning / CodeQL
Cyclic import Note
psyneulink.core.scheduling.condition
fe3dbe8
to
91b9b98
Compare
This PR causes the following changes to the html docs (ubuntu-latest-3.11-x64):
See CI logs for the full diff. |
91b9b98
to
7b1ad6d
Compare
This PR causes the following changes to the html docs (ubuntu-latest-3.11-x64):
See CI logs for the full diff. |
supports graph structure conditions automatically
function that produces a python sorting key given a dependency dictionary
- modify Scheduler wrappers to support both basic and structural Conditions - add wrappers for new graph_scheduler.Scheduler methods: - remove_condition - add_graph_edge - remove_graph_edge - update requirements to graph-scheduler<1.3.0 to include graph structure conditions release
7b1ad6d
to
1869c2e
Compare
This PR causes the following changes to the html docs (ubuntu-latest-3.11-x64):
See CI logs for the full diff. |