ewoksxrdct.tasks.create_nxxrdct.CreateNxxrdct#

class ewoksxrdct.tasks.create_nxxrdct.CreateNxxrdct(inputs=None, varinfo=None, node_id=None, node_attrs=None, execinfo=None, profile_directory=None)[source]#

Bases: Task

Parameters:
  • inputs (Optional[Mapping])

  • varinfo (Optional[dict])

  • node_id (Union[str, int, tuple, None])

  • node_attrs (Optional[dict])

  • execinfo (Optional[dict])

  • profile_directory (Optional[dict])

build_nx_object()[source]#

Create the NX object.

Return type:

NXxrdct

run()[source]#

Execute the task to create an NX file from the given inputs.

Return type:

None

save_nx_file(nx, save_path)[source]#

Save the NX object at the specified file path.

Parameters:
  • nx (NXxrdct)

  • save_path (str)

Return type:

None