Clean up ``util`` module, move internal utilities to ``imod.common.utilities``
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by reading imod.util and the listed modules: dims, expand_repetitions, imports, nested_dict, regrid, time, and path, then search their usages. Determine which developer utilities belong in imod.common.utilities while keeping the public namespaces for functions that are still API; done means internal utilities are relocated without breaking those namespaces.
索引モデルが issue の本文から書いたものです。
説明
The util module is a legacy utility module, also containing some convenience functions that are public API. These are still used every-so-often, and some of them are very useful (e.g. empty_2d).
Over the past years, we've created a lot more internal utility functions, which are grouped in imod.common.utilities, or imod.msw.utilities/imod.mf6.utilities if they are tailored to these kernels.
However, developer utilities have landed in imod.util, partly because I was being sloppy myself (possibly to work around some circular dependencies):
imod.util.dimsimod.util.expand_repetitionsimod.util.importsimod.util.nested_dict
I think it is better to move these dev utilities into imod.common.utilities. Modules that can possible moved as well:
imod.util.regridimod.util.timeimod.util.path
Though these contain some minor parts of the public API, so the namespaces of these utils need to remain available.
- 主要言語
- Python
- スター
- 41
- フォーク
- 11
- 平均マージ
- 2日 23時間
- マージ済み PR(30日)
- 13
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Deltares/imod-python のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Deltares/imod-python#1940 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Deltares enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
Deltares/imod-python#1843 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
Deltares/imod-python#1684 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 半日 初心者へのやさしさ 50/100
Deltares/imod-python#1939 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug] - Weekly user acceptance test broken because of some missing kotlin config対応中かも @JoerivanEngelen が 5 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 56/100
Deltares/imod-python#1934 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
Deltares/imod-python の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Graphify-Labs/graphify#4524 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
topoteretes/cognee#5982 ·
メンテナーはふだん 1 日以内に返信
-
Patches of derivations with `__structuredAttrs` are ignored対応中かも @KiaraGrouwstra が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 81/100
nix-community/vulnix#184 ·
-
New Internshipオープンnew_internship
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
aws-samples/sample-per-model-bedrock#295 ·
メンテナーはふだん 1 日以内に返信