Connect mode: Difference between revisions
Jump to navigation
Jump to search
(4) |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
Values: | Values: | ||
* 0 = distance-based and CONECT records | * 0 = distance-based (excluding HETATM to HETATM) and CONECT records (default) | ||
* 1 = CONECT records | * 1 = CONECT records | ||
* 2 = distance-based, ignores CONECT records | * 2 = distance-based, ignores CONECT records | ||
* 3 = CONECT records | * 3 = distance-based (including HETATM to HETATM) and CONECT records | ||
* 4 = for loading mmCIF: use the [http://www.wwpdb.org/data/ccd chemical components dictionary] to look up bonds (''in PyMOL 1.7.4, '''components.cif''' needs to be present in the current directory, later versions have a subset of the dictionary bundled with PyMOL, and look up unknown residues from a web service'') | * 4 = for loading mmCIF: use the [http://www.wwpdb.org/data/ccd chemical components dictionary] to look up bonds (''in PyMOL 1.7.4, '''components.cif''' needs to be present in the current directory, later versions have a subset of the dictionary bundled with PyMOL, and look up unknown residues from a web service'') | ||
Line 13: | Line 13: | ||
# ignore CONECT records | # ignore CONECT records | ||
set connect_mode, 2 | set connect_mode, 2 | ||
# show current setting | |||
get connect_mode | |||
</source> | </source> |
Latest revision as of 14:08, 23 April 2018
Overview
Sets how bonds are made when loading a file.
Values:
- 0 = distance-based (excluding HETATM to HETATM) and CONECT records (default)
- 1 = CONECT records
- 2 = distance-based, ignores CONECT records
- 3 = distance-based (including HETATM to HETATM) and CONECT records
- 4 = for loading mmCIF: use the chemical components dictionary to look up bonds (in PyMOL 1.7.4, components.cif needs to be present in the current directory, later versions have a subset of the dictionary bundled with PyMOL, and look up unknown residues from a web service)
Syntax
# ignore CONECT records
set connect_mode, 2
# show current setting
get connect_mode