Character in legend of fig2, p697 of Saux_etal_2003 (probably the gamma) crashes STK and erase everything in the phyml
Bug #1221818 reported by
Cyrille Delmer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Supertree Toolkit |
Fix Released
|
Critical
|
Jon Hill |
Bug Description
Character in legend of fig2, p697 of Saux_etal_2003 (probably the gamma) crashes STK and erase everything in the phyml
Changed in supertree-toolkit: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
assignee: | nobody → Jon Hill (jon-hill) |
milestone: | none → beta |
Changed in supertree-toolkit: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Current code simply tries to save - if the save fails, then the file may have already been altered. I've altered this to do the following:
- save to a tmp file
- if successful, copy the existing file to filname.phyml.bak
- copy tmp file to filename.phyml
You will therefore always have a version of the file, regardless of which stage failed (either the original, the original.bak or -- hopefully! -- the new one)
The error with the Gamma still needs addressing.