register_datasets module#

Module to register multiple datasets

register_datasets.execute_command_helper(command: str, print_command: bool = False) None#

Execute a shell command.

Parameters:
  • command (str) – Command that we want to execute.

  • print_command (bool) – Bool that dictates if we print the command in the console.

Raises:

CalledProcessError: – if the command could not be executed (Returned non-zero status).

register_datasets.register_datasets(path_to_datasets: str)#

Register multiple smartspim datasets using the first channel

Parameters:

path_to_datasets (str) – Path to the folder where the datasets are located