You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Write the _modified alignment beside the original when a parent folder contains its base name #340
Most-reported file error upstream (11 reports, 2021 to 2025, Windows and macOS): loading an alignment fails with a raw ENOENT: no such file or directory, open '<dir>/<name>_modified/<name>.fas'.
In every report the failing path has _modified on a folder, not on the file: .../r3_modified/r3.fas, .../Allobates_modified ML/Allobates.fasta, ...\leptomafft3000_modified.fasta\leptomafft3000.fasta.
String.replace changes the first match. When a parent folder name contains the file's base name (/data/r3/r3.fas), the folder part is rewritten and the write goes to a folder that does not exist.
Fix
Build the new path from the directory and the file name, not by replacing inside the full path.
Acceptance
An alignment that needs renaming (duplicate or illegal taxon names) at <tmp>/abc/abc.fas is written to <tmp>/abc/abc_modified.fas.
Same for a folder that only contains the base name (abc ML/abc.fas).
A test covers both.
Source: issues filed through the in-app "Report to GitHub" button on the upstream tracker. Read one with gh issue view <n> --repo AntonelliLab/raxmlGUI. Upstream numbers are in code spans on purpose, so this ticket does not post a back-reference on each upstream issue. Not reproduced on this fork unless stated above.
Activity
Write the _modified alignment beside the original when a parent folde…
jtklein-agents commentedon Nov 24, 2026
Fixed upstream in AntonelliLab#514. Commented "This is fixed in the upcoming release." on the still-open upstream reports:
Already closed, no comment: AntonelliLab#293, AntonelliLab#312.