Sortmtz
index
/home/graeme/CVS/dna/scheduler/Scheduler/CCP4/Sortmtz.py

Sortmtz.py
# Maintained by G.Winter
# 26th January 2004
# A part of the second generation scheduler.

# This is a wrapper for the CCP4 program sortmtz, which will sort 
# the reflections in a file by the H K L etc values and may be used
# to merge a number of MTZ files into a single file, prior to scaling.

# $Id: Sortmtz.html,v 1.1 2004/10/01 12:15:56 gwin Exp $

 
Modules
       
CCP4
CCP4Translation
Driver
Exist
Output
XSD
os
sys

 
Classes
       
Driver.Driver
Sortmtz

 
class Sortmtz(Driver.Driver)
    A class to execute sortmtz
 
  Methods defined here:
__init__(self, input=None)
addHklin(self, hklin)
clearHklin(self)
setHklin(self, hklin)
setHklout(self, hklout)
setOrder(self, order)
sort(self, input=None)

Methods inherited from Driver.Driver:
close(self)
Close the connection to the child process - this will simply
close the input channels, so that we can be sure that this is
flushed - the equivalent of ^D
debug(self)
getExecutable(self)
getWorkingDirectory(self)
input(self, line, newline=1)
Print a line to the standard input channel of the child process
kill(self)
Terminate the child process - this is designed to implement the
abort type method - so will be useful if the child process gets
stuck in a tight loop, which may happen
output(self)
Read a line from the standard output of the child process
pause(self)
Stop a process in its tracks, to allow restarting later on
setExecutable(self, executableName)
setInputCopy(self, method)
setOutputCopy(self, method)
setTimeout(self, value)
setWorkingDirectory(self, directory)
start(self, command=None)
Make a connection to the child process - which involves opening
a pipe to it
unpause(self)
Restart a stopped process

 
Data
        dna = '/home/graeme/CVS/dna'