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

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

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
c, perl, python
Área
testing, tooling

Línea de trabajo

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.

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

Descripción

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.

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.