Skip to content

Commit

Permalink
Generate anode.map with shelx2map
Browse files Browse the repository at this point in the history
Useful e.g. for input to uglymol or pymol
  • Loading branch information
rjgildea committed Mar 30, 2023
1 parent 0b18a20 commit 5bb4c6d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ def dimple(wf, opt):
comment(_anode_anom_peak_lines(anode_job.data))
coot_script = _generate_scripts_and_pictures(
wf, opt, anode_job.data, pha=anode_name+'.pha')
wf.shelx2map(anode_name+'.pha', anode_name+'.map', opt.xyzout).run()

def _find_i_sigi_columns(mtz_meta, opt):
if opt.icolumn:
Expand Down
5 changes: 5 additions & 0 deletions workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -909,6 +909,11 @@ def anode(self, name):
job.parser = '_anode_parser'
return job

def shelx2map(self, hklin, mapout, symmetry):
job = Job(self, utils.syspath('shelx2map'))
job.args += [hklin, "-o", mapout, "-s", symmetry]
return job

def rwcontents(self, xyzin):
return ccp4_job(self, 'rwcontents', logical=dict(xyzin=xyzin),
parser='_rwcontents_parser')
Expand Down

0 comments on commit 5bb4c6d

Please sign in to comment.