Skip to content

Commit

Permalink
Point to new IHMCIF dictionary URL
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Jan 5, 2024
1 parent a0fd0da commit 2ee6db3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ application with a set of Python objects. This includes

Once created, this set of Python objects can be written to an mmCIF file
that is compliant with the
`IHM extension <https://github.com/ihmwg/IHM-dictionary>`_
`IHMCIF extension <https://github.com/ihmwg/IHMCIF>`_
to the `PDBx/mmCIF dictionary <http://mmcif.wwpdb.org/>`_,
suitable for deposition in the
`PDB-Dev repository <https://pdb-dev.wwpdb.org/>`_. The files are best viewed
in a viewer that supports IHM mmCIF, such as
in a viewer that supports IHMCIF, such as
`UCSF ChimeraX <https://www.cgl.ucsf.edu/chimerax/>`_, although they may be
partially viewable in regular PDBx mmCIF viewers (likely only the atomic
coordinates will be visible).
Expand Down
6 changes: 3 additions & 3 deletions ihm/dumper.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,13 @@ def dump(self, system, writer):

class _AuditConformDumper(Dumper):
URL = ("https://raw.githubusercontent.com/" +
"ihmwg/IHM-dictionary/%s/ihm-extension.dic")
"ihmwg/IHMCIF/%s/dist/mmcif_ihm.dic")

def dump(self, system, writer):
with writer.category("_audit_conform") as lp:
# Update to match the version of the IHM dictionary we support:
lp.write(dict_name="ihm-extension.dic", dict_version="1.24",
dict_location=self.URL % "9be59e1")
lp.write(dict_name="mmcif_ihm.dic", dict_version="1.25",
dict_location=self.URL % "460a278")


class _StructDumper(Dumper):
Expand Down

0 comments on commit 2ee6db3

Please sign in to comment.