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

Aberta
#1,338 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
30/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
cpp, perl
Domínio
testing-qa

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

Linguagem predominante
C
Estrelas
10
Forks
8
Merge médio
6h 32min
PRs com merge (30d)
1

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de FriendsofECCE/ECCE

Todas as issues de FriendsofECCE/ECCE

Issues semelhantes

Mais issues de C

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.