mango.application.mdss.stage

mango.application.mdss.stage(files, recursive=False, wait=False, project=None)[source]

Tell the mass-data filesystem that the nominated files will be accessed soon. mdss get automatically issues a stage comamnd before retrieving the files, so the main use for this command is for those cases where you know you will need some files shortly (say, within the next half hour), but have some other processing to do first.

Parameters:
  • files (str or sequence of str) – MDSS file/directory path or sequence of file/directory paths to be staged.
  • recursive (bool) – Whether directories are staged recursively from MDSS.
  • wait (bool) – Whether to wait for the files to be completely staged before returning. If False the stage() method returns immediately.
  • project (str) – NCI project identifier string, if None, uses default project (as returned from the getDefaultProject() function).

Previous topic

mango.application.mdss.rmtree

Next topic

mango.application.mdss.setDefaultProject

This Page