chemcoord.xyz_functions.view¶
-
chemcoord.xyz_functions.
view
(molecule, viewer='gv.exe', use_curr_dir=False)[source]¶ View your molecule or list of molecules.
Note
This function writes a temporary file and opens it with an external viewer. If you modify your molecule afterwards you have to recall view in order to see the changes.
Parameters: - molecule – Can be a cartesian, or a list of cartesians.
- viewer (str) – The external viewer to use. The default is specified in settings.viewer
- use_curr_dir (bool) – If True, the temporary file is written to the current diretory. Otherwise it gets written to the OS dependendent temporary directory.
Returns: Return type: None