MosflmInterface
index
/home/graeme/CVS/dna/scheduler/Scheduler/Mosflm/MosflmInterface.py

##################################################
# MosflmInterface.py Version 2 for the new Scheduler
# Maintained by G.Winter
# 5th March 2004

##################################################

# import all of the things which are used from the
# Mosflm class side of things - this is in this directory

 
Modules
       
BEST
Expert
LABELITInterface
Mosflm
ResultWebPages
XSD
dna_httplib
exceptions
math
os
pprint
pyxie
re
shutil
string
sys
traceback

 
Functions
       
GetMosflmInterfaceLog()
Returns the current MOSFLM log as a string
InitMessenger(ES_host, ES_port)
MosflmInterfaceFileWrite(line)
Actually copy the output to this file
MoveMosflmInterfaceFile(new_filename)
Moves the log file to the given directory and starts a new log file
RestartMosflm(debug=0)
Restart the mosflm object
SetMosflmExecutable(newExec)
Set the executable which is run for mosflm
SetMosflmInterfaceFile(filename)
Set a log file to echo the mosflm output to
SetWorkingDirectory(newDir)
do_best_strategy_calculation(strategy_request, strategy_response)
do_best_strategy_request(strategy_request)
do_index_request(index_request, jpeg=0)
do_integrate_request(integrate_request)
Perform a basic integration job and simply return a status
so that we can get things rolling with this part of the DNA
project
do_refine_cell_request(cell_refinement_request)
do_single_integrate_request(single_integrate_request)
do_strategy_request(strategy_request)
get_commands()
get_results_directory()
make_image_name(template, number)

 
Data
        Messenger = <Messenger.Messenger instance>
MosflmDatabase = <MosflmDatabase.MosflmDatabaseClass instance>
SchedulerDNAConfig = <SchedulerDNAConfig.SchedulerDNAConfig instance>
Somewhere = <Somewhere.Somewhere instance>
XML_utils = <XML_utils.XML_utils instance>
dna = '/home/graeme/CVS/dna'
do = '__nothing__'
mosflm = <Mosflm.Mosflm instance>
mosflmInterfaceFile = None
mosflmInterfaceFileName = None
use_labelit = False