dials.import no longer reads file names from STDIN

オープン
#3,132 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
cli

調査の方向性

Reproduce the regression by piping the two examples from the issue into dials.import and confirm that the file list is ignored. Then find where the command gathers its positional arguments and compare that with the STDIN text in its help message. Done when both the find | dials.import pipe and the heredoc form list the expected image files again.

索引モデルが issue の本文から書いたものです。

説明

dials.import

Although the help message shows examples of reading file names from STDIN,

find . -name "image_*.cbf" | dials.import

dials.import << EOF
image_1.cbf
image_2.cbf
EOF

this no longer works.

echo $(dials.data get -q centroid_test_data)/centroid_0001.cbf | dials.import

This is problematic for datasets from RIGAKU in-house diffractometers, because they often produce > 10K files and result in Argument list too long. Because the dataset consists of many (> 50) wedges, it is not practical to use template=.

主要言語
Python
スター
107
フォーク
61
平均マージ
2日 15時間
マージ済み PR(30日)
12

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

dials/dials のほかの issue

dials/dials の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。