ewoksid22.dirutils.prepare_outdirs#

ewoksid22.dirutils.prepare_outdirs(outdirs, primary_outdir)[source]#
Parameters:
  • outdirs (Dict[str, str]) – maps names to local directories (/users/opid22/data1/) or remote directories (opid22@diffract22new:/users/opid22/data1/)

  • primary_outdir (str) – “primary” directory or if there is already, “processed”, “processed1”, “processed2”, etc.

Raises:
  • KeyError – no “primary” file.

  • ValueError – “primary” file is not local.

Return type:

Dict[str, Tuple[Optional[str], str]]