Commit d4632ad
fix: allow writing generic UHI-compatible histograms (#1128)
* Allow writing generic UHI-compatible histograms
UHI-compatible histograms should have a function variances, but are not
required to have a storage_type. Also, if the histogram is not from hist
or boost_histogram, boost_histogram is None and the storage type check
fails.
* style: pre-commit fixes
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>1 parent 8a42e7d commit d4632ad
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
| 268 | + | |
| 269 | + | |
269 | 270 | | |
270 | 271 | | |
271 | 272 | | |
| |||
293 | 294 | | |
294 | 295 | | |
295 | 296 | | |
296 | | - | |
| 297 | + | |
| 298 | + | |
297 | 299 | | |
298 | 300 | | |
299 | 301 | | |
| |||
0 commit comments