Source code for schrodinger.trajectory.trajectory_gui_dir.export_structure_enums
from enum import IntFlag
[docs]class ExportToOption(IntFlag):
"""
Defines export option either to project table or external file.
"""
PROJECT_TABLE = 0,
EXTERNAL_FILE = 1
[docs]class ExportFrameOption(IntFlag):
"""
Defines frame export option all in range, per step or only current frame,
current frame with component cts, snapshot frames in the list.
"""
ONE_PER_STEP_IN_RANGE = 0,
ALL_IN_RANGE = 1,
ONLY_CURRENT_FRAME = 2,
CURRENT_FRAME_WITH_COMPONENT_CTS = 3
SNAPSHOT_FRAMES = 4,
ALL_IN_LIMITED_RANGE = 5
[docs]class ExportMode(IntFlag):
"""
Defines export mode indicating whether export operation is being
performed from trajectory viewer or snapshot panel.
"""
TRAJECTORY_VIEWER = 0,
SNAPSHOT_VIEWER = 1