schrodinger.pipeline.input module¶
Classes for writing Pipeline input files.
Copyright Schrodinger, LLC. All rights reserved.
- class schrodinger.pipeline.input.Writer(filename=None, comment=None)¶
Bases:
objectClass for writing pipeline input files.
- __init__(filename=None, comment=None)¶
- write(filename=None)¶
Serialize the job parameters to a file.
- addVar(vname, vclass, data, comment=None)¶
Add a variable of name
vnameand classvclass. Forvclassof “PhaseDB” and “Grid”,datashould be a single path; forvclassof “Structures”,datashould be a list of files.The argument
commentis ignored.
- userOutput(varname)¶
Append output parameter descriptors to
self.userouts.
- setStructureOutput(varname)¶
Set structure output to
varname(overwriting the previous one, if any). The structures from this variable will be imported into Maestro when incorporating.
- addStage(sname, sclass, inputs, outputs, keywords=None, comment=None)¶
Add a stage.
The
commentargument is ignored.
- class schrodinger.pipeline.input.LinearWriter(filename, comment=None)¶
Bases:
schrodinger.pipeline.input.WriterClass for writing linear stage maps (ones with no branches).
- __init__(filename, comment=None)¶
- addVar(vname, vclass, files, comment=None)¶
- addStage(sname, sclass, output, keywords=None, comment=None)¶
- setStructureOutput(varname)¶
Set structure output to
varname(overwriting the previous one, if any). The structures from this variable will be imported into Maestro when incorporating.
- userOutput(varname)¶
Append output parameter descriptors to
self.userouts.
- write(filename=None)¶
Serialize the job parameters to a file.