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

Abierto
#1,338 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
1-2 días
Aptitud para principiantes
30/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
cpp, perl
Área
testing-qa

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
C
Estrellas
10
Forks
8
Merge medio
6 h 32 min
PR fusionados (30 d)
1

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de FriendsofECCE/ECCE

Todos los issues de FriendsofECCE/ECCE

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.