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

Đang mở
#1,338 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
30/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp, perl
Lĩnh vực
testing-qa

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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).

Ngôn ngữ chính
C
Star
10
Fork
8
Merge trung bình
6 giờ 32 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của FriendsofECCE/ECCE

Tất cả issue của FriendsofECCE/ECCE

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.