-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3596de5
commit 55a9a11
Showing
5 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,3 +102,4 @@ ignore = "D105" | |
|
||
[tool.ruff] | ||
ignore = ["E501"] | ||
per-file-ignores = {"__init__.py" = ["E402", "F401"]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import os | ||
|
||
import dask.config | ||
import yaml | ||
|
||
config = dask.config.config | ||
|
||
fn = os.path.join(os.path.dirname(__file__), "histogram.yaml") | ||
with open(fn) as f: | ||
defaults = yaml.safe_load(f) | ||
|
||
dask.config.update_defaults(defaults) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
histogram: | ||
|
||
# Aggregation specific configuration table | ||
aggregation: | ||
|
||
# When converting from a partitioned histogram to a single | ||
# aggregated histogram this parameter controls how the tree | ||
# reduction is handled; this number of nodes will be combined at a | ||
# time as a new dask task. | ||
split_every: 8 |