Commit 17ded39
authored
Refactors logging and display architecture (#107)
* Converts print statements to logging
* Refactors plotting module to display module
* Refines parameter handling and logging functionality
* Refines CIF serialization and updates docs
* Refines renderer architecture and error handling
* Refines logging and utils import structure
* Refines table rendering and error handling logic
* Enhances logging with customizable rich formatting
* Refactors plotting modules and updates test expectations
* Refactors logger and environment detection functions
* Switches logging from log to console
* Improves axis scaling for asciichartpy
* Refactors logging utility with enhanced features
* Renames utils module for clarity
* Enhances display and tracking in analysis module
* Disable Jupyter notebook output scrolling
* Rename environment checks for clarity
* Remove redundant type ignores and streamline exception handling
* Improves console width detection for flexible environments
* Refactors logging modes and console output methods
* Enhances logging utilities with improved docs
* Removes unused imports and obsolete functions
* Refactors logging architecture for clarity
* Removes unused show_index parameter
* Refactors logger configuration setup
* Reorders render_table arguments for clarity
* Refactors parameter table rendering and identity handling
* Removes redundant header handling in render_table
* Adds structure refinement example scripts
* Refactors test environment detection logic
* Enhances table styling with padding and font size
* Refactors logger imports and removes lazy loading
* Suppresses user warnings in pytest configuration
* Adds SPDX license headers to utils.py
* Reorganizes display and logging structure
* Refines logging initialization and aliases
* Activates commented pre-commit hooks
* Adds SPDX license identifiers to init files
* Enhances Pandas table styling
* Removes Jupyter-specific logic from CIF renderer
* Updates deps
* Temporarily disable Jupyter scroll in MkDocs
* Improves table styling for enhanced readability
* Add conditional doc build for branch environments1 parent 0b21681 commit 17ded39
File tree
86 files changed
+5303
-2117
lines changed- .github/workflows
- docs
- api-reference
- architecture
- src/easydiffraction
- analysis
- calculators
- categories
- fit_helpers
- minimizers
- core
- crystallography
- display
- plotters
- tablers
- experiments
- categories
- background
- instrument
- experiment
- io
- cif
- plotting
- project
- sample_models
- categories
- sample_model
- summary
- utils
- tests/unit/easydiffraction
- analysis
- fit_helpers
- display
- plotters
- experiments/experiment
- plotting/plotters
- project
- utils
- tmp
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
86 files changed
+5303
-2117
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
141 | 148 | | |
142 | 149 | | |
143 | 150 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
96 | 128 | | |
97 | 129 | | |
98 | 130 | | |
| |||
192 | 224 | | |
193 | 225 | | |
194 | 226 | | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | 227 | | |
209 | 228 | | |
210 | 229 | | |
| |||
236 | 255 | | |
237 | 256 | | |
238 | 257 | | |
239 | | - | |
| 258 | + | |
240 | 259 | | |
241 | | - | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
242 | 266 | | |
243 | 267 | | |
244 | 268 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
49 | 65 | | |
50 | 66 | | |
51 | 67 | | |
| |||
96 | 112 | | |
97 | 113 | | |
98 | 114 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | 115 | | |
108 | 116 | | |
109 | 117 | | |
| |||
125 | 133 | | |
126 | 134 | | |
127 | 135 | | |
128 | | - | |
| 136 | + | |
129 | 137 | | |
130 | 138 | | |
131 | 139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
89 | 90 | | |
90 | 91 | | |
91 | | - | |
92 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
93 | 95 | | |
94 | 96 | | |
95 | | - | |
96 | | - | |
97 | 97 | | |
| 98 | + | |
0 commit comments