Better documentation / naming for `eliminate_sys_absent`
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 半日
- 初心者へのやさしさ
- 40/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 領域
- backend, documentation
調査の方向性
Start with eliminate_sys_absent in src/dials/algorithms/symmetry/init.py, around lines 431-449, and its callers near lines 706-709 in the same file, which is where the comment says it only removes centring-related absences. Follow the space group checks there (n_ltr() and build_derived_reflection_intensity_group) to confirm what the function does. Done means a clearer function name, a docstring that explains the centring logic, and a stated answer, or a documented limitation, for the non-Sohncke space groups raised in the issue.
索引モデルが issue の本文から書いたものです。
説明
dials.symmetry and dials.cosym both call this function during the preparation of data sets for symmetry analysis:
This seems an odd thing to do - why would you eliminate the systematic absences prior to symmetry testing! However, the comment above where the function is called suggests this is only to remove systematic absences due to centring:
How do we know this is true? Well, first of all the function only does anything if expt.crystal.get_space_group().n_ltr() > 1. Hmmm. That's not particularly helpful in and of itself, but digging into the source code one finds out it is the number of lattice translations
//! Number of lattice translations.
std::size_t
n_ltr() const { return ltr_.size(); }
and this is only > 1 for a centred cell. The additional bit of magic is expt.crystal.get_space_group().build_derived_reflection_intensity_group(anomalous_flag=True). While I haven't figured out exactly what this is for yet, I do know that if you feed it a space group with a screw axis, like $I\ 2_1\ 3$ then it returns one without ($I\ 2\ 3$ in this case).
It would be really helpful if this function was better documented, and had a better name. Also, is this guaranteed to do this right thing for the 165 non-Sohncke space groups?
- 主要言語
- Python
- スター
- 107
- フォーク
- 61
- 平均マージ
- 2日 15時間
- マージ済み PR(30日)
- 12
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
dials/dials のほかの issue
-
Clear params.inputs in dials.index対応中かも @phyy-nx が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
dials.generate_mask silently ignores masking options when given only mask files対応中かも @CAOShurong が 5 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
dials.reindex reference.file= refuses a reference in the enantiomorphic space group, contrary to help text対応中かも @spmeisburger が 3 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
search beam position fail対応中かも @mpks が 3 日前に担当しました。 オープン
dials/dials#3352 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
bug(operator): VolterraOperator built inside jax.jit with a concrete decay raises TracerBoolConversionError対応中かも @jejjohnson が今日担当しました。 オープンtype:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
jejjohnson/integrix#144 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
finos/ai-governance-framework#459 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
autowarefoundation/autoware_carla_scenario#2963 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
freelawproject/litigant-portal#1307 ·
メンテナーはふだん 2 日以内に返信
-
type/bug
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
h2oai/h2o-llmstudio#1163 ·
メンテナーはふだん 1 日以内に返信