oneibl.registration

class oneibl.registration.RegistrationClient(one=None)

Object that keeps the ONE instance and provides method to create sessions and register data.

create_sessions(root_data_folder, dry=False)

Create sessions looking recursively for flag files

Parameters:
  • root_data_folder – folder to look for create_me.flag
  • dry – bool. Dry run if True
Returns:

None

register_sync(root_data_folder, dry=False)

Register sessions looking recursively for flag files

Parameters:
  • root_data_folder – folder to look for register_me.flag
  • dry – bool. Dry run if True
Returns: