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

Aberta
#1,326 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
3-5 dias
Facilidade para iniciantes
48/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
c, perl, python
Domínio
testing, tooling

Direção de pesquisa

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.

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

Descrição

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.

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.