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

Ouverte
#1,338 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
1-2 jours
Accessibilité débutants
30/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
cpp, perl
Domaine
testing-qa

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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

Langage dominant
C
Étoiles
10
Forks
8
Merge moyen
6 h 32 min
PR mergées (30 j)
1

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de FriendsofECCE/ECCE

Toutes les issues de FriendsofECCE/ECCE

Issues similaires

Plus d'issues C

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.