Package omero :: Package util :: Module cleanse
[hide private]
[frames] | no frames]

Module cleanse

source code

Reconcile and cleanse where necessary an OMERO data directory of orphaned data.

Classes [hide private]
  Cleanser
Keeps file cleansing state and performs OMERO database reconciliation of files within an OMERO binary repository.
Functions [hide private]
 
usage(error)
Prints usage so that we don't have to.
source code
 
cleanse(data_dir, query_service, dry_run=False) source code
 
main()
Default main() that performs OMERO data directory cleansing.
source code
Variables [hide private]
  SEARCH_DIRECTORIES = {'Pixels': 'Pixels', 'Files': 'OriginalFi...

Imports: getpass, omero, sys, os, PermissionDeniedException, getopt, GetoptError, S_IWRITE, ST_MTIME, S_IRGRP, SF_NOUNLINK, S_IFLNK, ST_INO, S_IXOTH, ST_UID, S_ISSOCK, UF_NOUNLINK, S_ISLNK, S_IMODE, S_IXUSR, S_IRUSR, SF_ARCHIVED, ST_NLINK, S_IFBLK, UF_IMMUTABLE, S_IFDIR, ST_ATIME, S_ISFIFO, S_ISUID, UF_OPAQUE, S_IRWXU, S_IFCHR, S_ISGID, SF_APPEND, S_IFREG, S_ISREG, S_IREAD, S_IFIFO, S_IFSOCK, S_ISCHR, SF_IMMUTABLE, S_ISVTX, ST_MODE, UF_NODUMP, S_ISDIR, S_ENFMT, S_IEXEC, ST_CTIME, S_IWOTH, S_IXGRP, S_IRWXG, S_IFMT, S_IWUSR, S_ISBLK, ST_GID, S_IROTH, S_IWGRP, S_IRWXO, ST_DEV, ST_SIZE, UF_APPEND, SF_SNAPSHOT


Function Details [hide private]

usage(error)

source code 

Prints usage so that we don't have to. :)


Variables Details [hide private]

SEARCH_DIRECTORIES

Value:
{'Pixels': 'Pixels', 'Files': 'OriginalFile',}