edtools.autoindex

Functions:

clear_files(path)

Clear LP files

connect(payload)

Try to connect to instamatic indexing server

main()

parse_xds(path[, sequence])

Parse XDS output (CORRECT.LP) and print summary about indexing progress to the screen.

xds_index(path[, sequence, clear, parallel])

Run XDS at given path.

edtools.autoindex.clear_files(path: str) None

Clear LP files

edtools.autoindex.connect(payload: str) None

Try to connect to instamatic indexing server

Parameters

payload (str) – Directory where XDS should be run.

edtools.autoindex.main()
edtools.autoindex.parse_xds(path: str, sequence: int = 0) None

Parse XDS output (CORRECT.LP) and print summary about indexing progress to the screen.

Parameters
  • path (str) – Path in which XDS has been run

  • sequence (int) – Sequence number, needed for output and house-keeping

edtools.autoindex.xds_index(path: str, sequence: int = 0, clear: bool = True, parallel: bool = True) None

Run XDS at given path.

Parameters
  • path (str) – Run XDS in this directory, expects XDS.INP in this directory

  • sequence (int) – Sequence number, needed for output and house-keeping

  • clear (bool) – Clear some LP files before running XDS

  • parallel (bool) – Call xds_par rather than xds