Skip to content

Commit

Permalink
bug fixes and changed default mr_program from phaser to molrep
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Simkovic committed May 5, 2017
1 parent da05222 commit bc046bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion simbad/command_line/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def _argparse_mr_options(p):
help='Path to file containing keywords for the refinement program')
sg.add_argument('-amore_exe', type=str, default=os.path.join(os.environ["CCP4"], 'bin', 'amoreCCB2.exe'),
help='Path to amore executable')
sg.add_argument('-mr_program', type=str, default="phaser",
sg.add_argument('-mr_program', type=str, default="molrep",
help='Path to the MR program to use. Options: < molrep | phaser >')
sg.add_argument('-refine_program', type=str, default="refmac5",
help='Path to the refinement program to use. Options: < refmac5 >')
Expand Down
4 changes: 2 additions & 2 deletions simbad/util/simbad_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def run_job(cmd, logfile=None, directory=None, stdin=None):
return p.returncode


def molecular_weight(self, model):
def molecular_weight(model):
"""Function to run ``rwcontents`` to get the molecular weight of a model
Parameters
Expand All @@ -131,7 +131,7 @@ def molecular_weight(self, model):
"""
cmd = ['rwcontents', 'xyzin', model]
logfile = 'rwcontents_{0}.log'.format(self.name)
logfile = 'rwcontents.log'.format()
run_job(cmd, logfile=logfile)

# Exctract molecular weight from log file
Expand Down

0 comments on commit bc046bd

Please sign in to comment.