tar_cubelets

Attributes

TQDM_OUT

parser

Functions

main(casda_dir)

Find cublets with unique prefixes and tar them.

tar_cubelets(→ None)

Find and tar cubelets for a given source with a given prefix.

Module Contents

tar_cubelets.main(casda_dir: str)[source]

Find cublets with unique prefixes and tar them.

Parameters:

casda_dir (str) – CASDA directory containing cubelets/

Raises:

FileNotFoundError – If casda_dir does not exist or does not contain cubelets/

tar_cubelets.tar_cubelets(out_dir: str, casda_dir: str, prefix: str) None[source]

Find and tar cubelets for a given source with a given prefix.

Parameters:
  • out_dir (str) – Output directory

  • casda_dir (str) – CASDA directory containing cubelets/

  • prefix (str) – Prefix of cubelets to tar

tar_cubelets.TQDM_OUT[source]
tar_cubelets.parser[source]