Windows: ai.vina and ai.xtb run the ecce-docksplit binary, untested on a Windows client (#1335)

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

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

評価

難易度
4/5
見積もり時間
1〜2日
初心者へのやさしさ
30/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
cpp, perl
領域
testing-qa

調査の方向性

Start with scripts/parsers/docking.pl and the ai.vina and ai.xtb entry points that now exec the ecce-docksplit binary, then compare with how scripts/gensub (lines 133, 1160, 1270) launches ecce-pdbqt. Check the existence and executable check the branch adds. Done means a Windows client run that generates a Vina deck with ligand atoms chosen, notes shown in Verify, and an install path containing a space working. A Windows machine is required, so this needs a maintainer or tester who has one.

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

説明

wip/1335-docksplit-cpp moves the docking receptor/ligand split out of
scripts/parsers/docking.pl into C++ and has ai.vina and ai.xtb call the
new ecce-docksplit binary. That makes them the first Perl scripts in this
tree to exec a bin/ binary directly
.

The existing precedent is different: ecce-pdbqt is launched from the
generated job shell script, where gensub handles Windows paths and quoting
explicitly (scripts/gensub:133,1160,1270). Nothing has run the new path on
Windows.

Three risks, none yet tested:

  1. No .exe extension. The scripts build $ENV{ECCE_HOME}/bin/ecce-docksplit
    with no extension. Whether Perl's Win32 spawn appends .exe for an explicit
    path depends on the CRT spawn path and should not be relied on.
  2. List-form piped open (open($fh, "-|", $exe, ...)) rests on
    pseudo-fork (ithreads) on Win32. Strawberry Perl has it, but that is an
    assertion, not a measurement.
  3. A path containing a space, e.g. an install under C:\Program Files\.
    List form avoids shell quoting, which is the right choice, and should be
    fine -- worth confirming in the same run.

A failure here is not silent: the branch adds an existence-and-executable check
with a message naming the binary, so a user would see what went wrong. But Vina
and xtb docking deck generation would not work at all on Windows clients, where
the pure-Perl docking.pl did.

What would settle it

One run on a Windows client: set up a Vina docking calculation on a
receptor-ligand complex and generate the deck. Check that the ligand atoms are
chosen, that the notes appear in Verify, and that an install path containing a
space also works.

Related: #1335 (the move itself), #1334 (the bundled interpreter and PATH
fallback -- a different mechanism, kept separate so neither can be half-closed).

主要言語
C
スター
10
フォーク
8
平均マージ
6時間 32分
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

FriendsofECCE/ECCE のほかの issue

FriendsofECCE/ECCE の issue をすべて見る

似ている issue

C の issue をもっと見る

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

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