Tidies after the first ported basis-set exporters (#868)

Ouverte
#1,326 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é
3-5 jours
Accessibilité débutants
48/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
c, perl, python
Domaine
testing, tooling

Piste de recherche

Start with tests/basis/python_port_test.py:46-57 and tests/windows/ecceqm_win.py:139, then check the named parser scripts and stale references in the listed docs and parser files. Run the basis tests and Windows test where available; settle the orphaned Perl modules only after checking their callers, and investigate the encoding concern on Windows. Done when the applicable fixes and cleanup are verified without breaking existing callers.

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

Description

enhancement

Small items noticed reviewing the first batch of ported basis-set exporters. None breaks anything today.

  1. tests/basis/python_port_test.py:46-57 — reader_agreement() shells out to perl -MJSON::PP. On a machine without Perl or without JSON::PP it records a FAILURE rather than a SKIP, so tests/basis goes red on exactly the Perl-free Windows machine #868 is working towards. It should skip when the interpreter or module is absent.

  2. tests/windows/ecceqm_win.py:139 — hard-codes tree + "/python/python.exe" with no python.exe fallback, unlike the C++ it mirrors (src/dsm/chemistry/TGBSConfig.C). Test-only, but it will fail on a tree whose bundled interpreter sits elsewhere.

  3. scripts/parsers/wrNWChemGBS.pm and wrORCAGBS.pm are now orphaned in the same way wrECCEQMGBS.pm was, but were kept while that one was deleted. Harmless, just inconsistent -- worth settling one way, bearing in mind the rule that a shared Perl module stays until its last Perl caller is gone.

  4. Stale references to a file that no longer exists: docs/claude/codereg/ecce-qm-is-a-bundled-code.md:25 and scripts/parsers/ai.ecceqm:21 name wrECCEQMGBS.pm; scripts/parsers/ai.orca:1067 names wrORCAGBS.pm.

  5. Not established: Python decodes stdin with the locale encoding, where the Perl passed bytes through. Under C/POSIX this round-trips via surrogateescape (checked), but a non-ASCII basis-set label on a Windows cp1252 console could be re-encoded differently. Low risk, needs a Windows machine to settle.

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.