BF: do assignment properly
RF: use "tutorial_data_path" instead of "data_path"
ENH: slice indices using vectorization as required by cosmo_slice
RF: do not use message identifier in error message for consistency with other code