Overview
| Comment: | [build] graph builder: use str() instead of json to store graph data (json can’t store integers as keys) |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | build | rg |
| Files: | files | file ages | folders |
| SHA3-256: |
8f5e61c348b1bc5e94a7738bbde8333c |
| User & Date: | olr on 2018-09-11 20:48:44 |
| Original Comment: | [build] graph builder: use str() instead of json to store graph data (json can’t store interger as keys) |
| Other Links: | branch diff | manifest | tags |
Context
|
2018-09-11
| ||
| 20:50 | [core][js] gc engine: fix several issues check-in: 19fa3fc573 user: olr tags: core, rg | |
| 20:48 | [build] graph builder: use str() instead of json to store graph data (json can’t store integers as keys) check-in: 8f5e61c348 user: olr tags: build, rg | |
| 20:44 | [core][py] don’t ask for morphologies several times uselessly check-in: 95ac5ee834 user: olr tags: core, rg | |
Changes
Modified compile_rules_graph.py from [f07c932d26] to [f9b11563d7].
| ︙ | ︙ | |||
451 452 453 454 455 456 457 |
print(sPyCallables)
# Result
return {
"graph_callables": sPyCallables,
"graph_callablesJS": sJSCallables,
"rules_graphs": dAllGraph,
| | | | 451 452 453 454 455 456 457 458 459 460 461 |
print(sPyCallables)
# Result
return {
"graph_callables": sPyCallables,
"graph_callablesJS": sJSCallables,
"rules_graphs": dAllGraph,
"rules_graphsJS": str(dAllGraph).replace("True", "true").replace("False", "false"),
"rules_actions": dACTIONS,
"rules_actionsJS": str(dACTIONS).replace("True", "true").replace("False", "false")
}
|