gemseo.utils.deserialize_and_run module#

Executable that deserializes a discipline and executes it.

main()[source]#

Deserialize the inputs, run the discipline and saves the output to the disk.

Takes the input parameters from sys.argv:
  • discipline_path: The path to the serialized discipline.

  • inputs_path: The path to the serialized input data.

  • outputs_path: The path to the serialized output data.

Returns:

The return code, 0 if success, 1 if failure.

Raises:

RuntimeError -- When one of the paths provided in the arguments does not exist, or an invalid number of arguments are passed.

Return type:

int