rise_warning

nrv.backend.rise_warning(*args, abort=False, **kwargs)[source]

Rises a warning to the log and to the prompt for the master process (process ID 0) in case of parallel computing. This function can exit the programm.

Parameters:
  • *args – anything to pass as warning message

  • abort (boolean) – if true, the programm exits with the value O (no error) and further computation are avoided, by default set to False.