hbat 2.2.14.dev32__tar.gz → 2.2.15__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {hbat-2.2.14.dev32 → hbat-2.2.15}/PKG-INFO +1 -1
- hbat-2.2.15/docs/source/api/gui/index.rst +176 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/development.rst +1 -1
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/index.rst +1 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/parameters.rst +227 -178
- hbat-2.2.15/docs/source/presets.rst +310 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/example_presets/drug_design_strict.hbat +22 -3
- {hbat-2.2.14.dev32 → hbat-2.2.15}/example_presets/high_resolution.hbat +22 -3
- {hbat-2.2.14.dev32 → hbat-2.2.15}/example_presets/low_resolution.hbat +22 -3
- {hbat-2.2.14.dev32 → hbat-2.2.15}/example_presets/membrane_proteins.hbat +22 -3
- {hbat-2.2.14.dev32 → hbat-2.2.15}/example_presets/nmr_structures.hbat +22 -3
- {hbat-2.2.14.dev32 → hbat-2.2.15}/example_presets/standard_resolution.hbat +22 -3
- {hbat-2.2.14.dev32 → hbat-2.2.15}/example_presets/strong_interactions_only.hbat +22 -3
- {hbat-2.2.14.dev32 → hbat-2.2.15}/example_presets/weak_interactions_permissive.hbat +22 -3
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/_version.py +2 -2
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/cli/main.py +227 -4
- hbat-2.2.15/hbat/constants/parameters.py +764 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/constants/pdb_constants.py +67 -50
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/core/interactions.py +40 -19
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/core/np_analyzer.py +171 -43
- hbat-2.2.15/hbat/gui/geometry_cutoffs_dialog.py +918 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/gui/graphviz_renderer.py +2 -1
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/gui/main_window.py +1 -1
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/gui/preset_manager_dialog.py +19 -3
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat.egg-info/SOURCES.txt +2 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/tests/cli/test_cli_main.py +1 -1
- {hbat-2.2.14.dev32 → hbat-2.2.15}/tests/e2e/test_cli_workflows.py +2 -2
- hbat-2.2.15/tests/gui/test_gui_components.py +904 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/tests/integration/test_analyzer_components.py +13 -3
- {hbat-2.2.14.dev32 → hbat-2.2.15}/tests/integration/test_cli_integration.py +24 -3
- {hbat-2.2.14.dev32 → hbat-2.2.15}/tests/integration/test_graphviz_renderer.py +2 -2
- {hbat-2.2.14.dev32 → hbat-2.2.15}/tests/unit/test_cli_parsing.py +118 -1
- {hbat-2.2.14.dev32 → hbat-2.2.15}/tests/unit/test_gui_components.py +200 -2
- hbat-2.2.15/tests/unit/test_halogen_bonds.py +485 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/tests/unit/test_interactions.py +362 -1
- {hbat-2.2.14.dev32 → hbat-2.2.15}/tests/unit/test_parameters.py +117 -0
- hbat-2.2.14.dev32/docs/source/api/gui/index.rst +0 -81
- hbat-2.2.14.dev32/hbat/constants/parameters.py +0 -310
- hbat-2.2.14.dev32/hbat/gui/geometry_cutoffs_dialog.py +0 -475
- hbat-2.2.14.dev32/tests/gui/test_gui_components.py +0 -406
- {hbat-2.2.14.dev32 → hbat-2.2.15}/.github/workflows/cleanup-prereleases.yml +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/.github/workflows/joss-paper.yml +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/.github/workflows/release.yml +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/.github/workflows/test.yml +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/CITATION.cff +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/CODE_OF_CONDUCT.md +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/CONTRIBUTING.md +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/LICENSE +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/MANIFEST.in +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/Makefile +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/README.md +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/build_standalone.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/build_standalone_linux.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/build_standalone_windows.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/conda/meta.yaml +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/Makefile +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/requirements.txt +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/_static/custom.css +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/_static/light-theme.css +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/api/ccd/ccd_analyzer.rst +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/api/ccd/constants_generator.rst +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/api/ccd/generate_ccd_constants.rst +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/api/ccd/index.rst +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/api/cli/index.rst +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/api/constants/app.rst +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/api/constants/atomic_data.rst +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/api/constants/index.rst +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/api/constants/misc.rst +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/api/constants/parameters.rst +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/api/constants/pdb_constants.rst +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/api/core/index.rst +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/api/core/interactions.rst +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/api/core/np_analyzer.rst +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/api/core/np_vector.rst +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/api/core/pdb_fixer.rst +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/api/core/pdb_parser.rst +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/api/core/structure.rst +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/api/examples/index.rst +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/api/index.rst +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/api/utilities/atom_utils.rst +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/api/utilities/graphviz_utils.rst +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/api/utilities/index.rst +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/cli.rst +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/conf.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/installation.rst +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/license.rst +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/logic.rst +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/pdbfixing.rst +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/docs/source/quickstart.rst +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/example_pdb_files/1bhl.pdb +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/example_pdb_files/1gai.pdb +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/example_pdb_files/1ubi.pdb +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/example_pdb_files/2izf.pdb +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/example_pdb_files/4jsv.pdb +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/example_pdb_files/4laz.pdb +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/example_pdb_files/4ub7.pdb +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/example_pdb_files/4x21.pdb +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/example_pdb_files/6rsa.pdb +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/__init__.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/ccd/__init__.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/ccd/ccd_analyzer.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/ccd/constants_generator.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/ccd/generate_ccd_constants.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/cli/__init__.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/constants/__init__.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/constants/app.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/constants/atomic_data.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/constants/misc.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/constants/residue_bonds.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/core/__init__.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/core/analysis.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/core/analyzer.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/core/app_config.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/core/atom_classifier.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/core/np_vector.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/core/pdb_fixer.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/core/pdb_parser.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/core/structure.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/gui/__init__.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/gui/chain_visualization.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/gui/export_manager.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/gui/graphviz_preferences_dialog.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/gui/matplotlib_renderer.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/gui/pdb_fixing_dialog.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/gui/results_panel.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/gui/visualization_renderer.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/utilities/__init__.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/utilities/atom_utils.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat/utilities/graphviz_utils.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat.icns +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat.ico +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat.png +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat.svg +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat_cli.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/hbat_gui.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/paper/paper.bib +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/paper/paper.md +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/pyproject.toml +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/pytest.ini +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/requirements-dev.txt +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/requirements.txt +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/setup.cfg +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/tests/README.md +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/tests/__init__.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/tests/cli/__init__.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/tests/cli/test_cli_output_formats.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/tests/conftest.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/tests/e2e/__init__.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/tests/e2e/test_complete_workflows.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/tests/e2e/test_graphviz_workflows.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/tests/e2e/test_gui_workflows.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/tests/gui/__init__.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/tests/integration/__init__.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/tests/integration/test_molecular_validation.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/tests/integration/test_pdb_parsing.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/tests/performance/__init__.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/tests/performance/test_ccd_performance.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/tests/performance/test_performance_workflows.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/tests/run_tests.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/tests/unit/__init__.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/tests/unit/test_graphviz_utils.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/tests/unit/test_scrollable_canvas.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/tests/unit/test_structures.py +0 -0
- {hbat-2.2.14.dev32 → hbat-2.2.15}/tests/unit/test_vector_math.py +0 -0
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
Graphical User Interface
|
|
2
|
+
------------------------
|
|
3
|
+
|
|
4
|
+
The GUI module provides graphical interface components for HBAT, including comprehensive parameter management, preset handling, and advanced visualization capabilities with support for both NetworkX/matplotlib and GraphViz renderers.
|
|
5
|
+
|
|
6
|
+
**Key Features:**
|
|
7
|
+
|
|
8
|
+
- **Parameter Management**: Comprehensive geometry cutoffs dialog with tabbed interface for different interaction types
|
|
9
|
+
- **Preset System**: Full preset management with Settings → Manage Presets interface
|
|
10
|
+
- **PDB Fixing**: Integrated structure enhancement dialog with OpenBabel and PDBFixer support
|
|
11
|
+
- **Visualization**: Advanced graph rendering with multiple backend support
|
|
12
|
+
|
|
13
|
+
Core Components
|
|
14
|
+
===============
|
|
15
|
+
|
|
16
|
+
Main Window
|
|
17
|
+
-----------
|
|
18
|
+
|
|
19
|
+
The primary GUI window with updated menu structure:
|
|
20
|
+
|
|
21
|
+
- **File Menu**: PDB file operations and recent files
|
|
22
|
+
- **Settings Menu**:
|
|
23
|
+
- **Geometry Cutoffs**: Configure interaction parameters
|
|
24
|
+
- **Manage Presets**: Access preset management system
|
|
25
|
+
- **PDB Fixing Options**: Structure enhancement settings
|
|
26
|
+
- **GraphViz Preferences**: Visualization settings
|
|
27
|
+
- **Analysis Tools**: Run analysis and view results
|
|
28
|
+
- **Visualization**: Integrated graph rendering and export
|
|
29
|
+
|
|
30
|
+
.. automodule:: hbat.gui.main_window
|
|
31
|
+
:members:
|
|
32
|
+
:undoc-members:
|
|
33
|
+
:show-inheritance:
|
|
34
|
+
|
|
35
|
+
Dialog Components
|
|
36
|
+
=================
|
|
37
|
+
|
|
38
|
+
HBAT provides specialized dialog components for comprehensive parameter management and configuration.
|
|
39
|
+
|
|
40
|
+
Geometry Cutoffs Dialog
|
|
41
|
+
-----------------------
|
|
42
|
+
|
|
43
|
+
Provides tabbed interface for configuring molecular interaction parameters including:
|
|
44
|
+
|
|
45
|
+
- **Hydrogen Bonds**: Classical strong interactions (N/O-H···O/N)
|
|
46
|
+
- **Weak Hydrogen Bonds**: C-H···O interactions for binding analysis
|
|
47
|
+
- **Halogen Bonds**: C-X···A interactions with 150° default angle
|
|
48
|
+
- **π Interactions**: Multiple subtypes including hydrogen-π and halogen-π interactions
|
|
49
|
+
- **General Parameters**: Analysis mode and covalent bond detection
|
|
50
|
+
|
|
51
|
+
.. automodule:: hbat.gui.geometry_cutoffs_dialog
|
|
52
|
+
:members:
|
|
53
|
+
:undoc-members:
|
|
54
|
+
:show-inheritance:
|
|
55
|
+
|
|
56
|
+
Preset Manager Dialog
|
|
57
|
+
---------------------
|
|
58
|
+
|
|
59
|
+
Manages parameter presets through **Settings → Manage Presets** menu:
|
|
60
|
+
|
|
61
|
+
- **Load Presets**: Apply built-in or custom parameter sets
|
|
62
|
+
- **Save Presets**: Store current parameter configurations
|
|
63
|
+
- **Delete Presets**: Remove custom presets (built-in presets protected)
|
|
64
|
+
- **Preset Validation**: Automatic parameter validation and error checking
|
|
65
|
+
|
|
66
|
+
.. automodule:: hbat.gui.preset_manager_dialog
|
|
67
|
+
:members:
|
|
68
|
+
:undoc-members:
|
|
69
|
+
:show-inheritance:
|
|
70
|
+
|
|
71
|
+
PDB Fixing Dialog
|
|
72
|
+
-----------------
|
|
73
|
+
|
|
74
|
+
Configures structure enhancement options:
|
|
75
|
+
|
|
76
|
+
- **Method Selection**: OpenBabel vs PDBFixer (default: PDBFixer)
|
|
77
|
+
- **Hydrogen Addition**: Add missing hydrogen atoms
|
|
78
|
+
- **Heavy Atom Completion**: Add missing heavy atoms (PDBFixer only)
|
|
79
|
+
- **Structure Cleaning**: Handle non-standard residues and heterogens
|
|
80
|
+
|
|
81
|
+
.. automodule:: hbat.gui.pdb_fixing_dialog
|
|
82
|
+
:members:
|
|
83
|
+
:undoc-members:
|
|
84
|
+
:show-inheritance:
|
|
85
|
+
|
|
86
|
+
Results Panel
|
|
87
|
+
-------------
|
|
88
|
+
|
|
89
|
+
Displays comprehensive analysis results with enhanced interaction type support:
|
|
90
|
+
|
|
91
|
+
- **Hydrogen Bonds**: Classical and weak (C-H···O) interactions
|
|
92
|
+
- **Halogen Bonds**: With updated 150° default angle detection
|
|
93
|
+
- **π Interactions**: All subtypes (C-H···π, N-H···π, O-H···π, S-H···π, C-Cl···π, C-Br···π, C-I···π)
|
|
94
|
+
- **Cooperativity Chains**: Linked interaction networks
|
|
95
|
+
- **Export Options**: CSV, JSON, and formatted text output
|
|
96
|
+
|
|
97
|
+
.. automodule:: hbat.gui.results_panel
|
|
98
|
+
:members:
|
|
99
|
+
:undoc-members:
|
|
100
|
+
:show-inheritance:
|
|
101
|
+
|
|
102
|
+
Chain Visualization
|
|
103
|
+
-------------------
|
|
104
|
+
|
|
105
|
+
Visualization of cooperativity chains and interaction networks with support for the expanded interaction types.
|
|
106
|
+
|
|
107
|
+
.. automodule:: hbat.gui.chain_visualization
|
|
108
|
+
:members:
|
|
109
|
+
:undoc-members:
|
|
110
|
+
:show-inheritance:
|
|
111
|
+
|
|
112
|
+
Visualization System
|
|
113
|
+
====================
|
|
114
|
+
|
|
115
|
+
The visualization system provides a flexible renderer architecture with support for multiple backends, enhanced to handle the expanded set of molecular interactions including π interaction subtypes and weak hydrogen bonds.
|
|
116
|
+
|
|
117
|
+
Visualization Renderer Protocol
|
|
118
|
+
-------------------------------
|
|
119
|
+
|
|
120
|
+
.. automodule:: hbat.gui.visualization_renderer
|
|
121
|
+
:members:
|
|
122
|
+
:undoc-members:
|
|
123
|
+
:show-inheritance:
|
|
124
|
+
|
|
125
|
+
GraphViz Renderer
|
|
126
|
+
-----------------
|
|
127
|
+
|
|
128
|
+
Advanced graph rendering with support for all interaction types and enhanced visual styling:
|
|
129
|
+
|
|
130
|
+
- **Node Styling**: Residue-based coloring and labeling
|
|
131
|
+
- **Edge Types**: Different styles for hydrogen bonds, halogen bonds, π interactions
|
|
132
|
+
- **Interaction Labeling**: Display interaction types (C-H···π, C-Cl···π, etc.)
|
|
133
|
+
- **Export Formats**: PNG, SVG, PDF with configurable DPI
|
|
134
|
+
|
|
135
|
+
.. automodule:: hbat.gui.graphviz_renderer
|
|
136
|
+
:members:
|
|
137
|
+
:undoc-members:
|
|
138
|
+
:show-inheritance:
|
|
139
|
+
|
|
140
|
+
Matplotlib Renderer
|
|
141
|
+
--------------------
|
|
142
|
+
|
|
143
|
+
.. automodule:: hbat.gui.matplotlib_renderer
|
|
144
|
+
:members:
|
|
145
|
+
:undoc-members:
|
|
146
|
+
:show-inheritance:
|
|
147
|
+
|
|
148
|
+
Export Manager
|
|
149
|
+
--------------
|
|
150
|
+
|
|
151
|
+
Handles export of analysis results and visualizations with support for new interaction types:
|
|
152
|
+
|
|
153
|
+
- **Data Export**: CSV, JSON formats with all interaction subtypes
|
|
154
|
+
- **Graph Export**: Multiple image formats via GraphViz
|
|
155
|
+
- **Batch Export**: Automatic file generation for each interaction type
|
|
156
|
+
- **Format Options**: Configurable output parameters
|
|
157
|
+
|
|
158
|
+
.. automodule:: hbat.gui.export_manager
|
|
159
|
+
:members:
|
|
160
|
+
:undoc-members:
|
|
161
|
+
:show-inheritance:
|
|
162
|
+
|
|
163
|
+
GraphViz Preferences Dialog
|
|
164
|
+
---------------------------
|
|
165
|
+
|
|
166
|
+
Configures GraphViz rendering options accessible via **Settings → GraphViz Preferences**:
|
|
167
|
+
|
|
168
|
+
- **Engine Selection**: Choose GraphViz layout engine (dot, neato, circo, etc.)
|
|
169
|
+
- **Output Format**: PNG, SVG, PDF export options
|
|
170
|
+
- **DPI Settings**: Configure resolution for image exports
|
|
171
|
+
- **Visual Styling**: Node and edge appearance options
|
|
172
|
+
|
|
173
|
+
.. automodule:: hbat.gui.graphviz_preferences_dialog
|
|
174
|
+
:members:
|
|
175
|
+
:undoc-members:
|
|
176
|
+
:show-inheritance:
|