Connect mode: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
(0 vs. 3)
No edit summary
 
Line 3: Line 3:


Values:
Values:
* 0 = distance-based (excluding HETATM to HETATM) 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
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 15: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

See Also

Load, Connect_cutoff, Connect_bonded