cemc-oper / nwpc-workflow-model

A tree-like model for workflow using in NWPC.
MIT License
0 stars 1 forks source link

EcflowNode var's default value. #3

Closed perillaroc closed 6 years ago

perillaroc commented 6 years ago

status and node_type is None.

When calling to_dict with a default value, self.status.name will raise an exception.

perillaroc commented 6 years ago

use nwpc_workflow_model's NodeStatus and NodeType in all module.

So users must convert ecFlow's node type and status to them.