johnstarmer / open-delta

Automatically exported from code.google.com/p/open-delta
0 stars 0 forks source link

Delta editor: "treat as variant" disappears if added after the taxon has been assigned a character state #211

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. New dataset, add a couple of taxa and a character
2. Assign a character state to each taxon
3. Save, close, and reopen the dataset
4. Mark the second taxon as a variant, save, close, and reopen

What is the expected output? What do you see instead?
The "treat as variant" flag disappears. The problem only occurs if steps 2 and 
3, assigning character states and saving the file, happen before the "treat as 
variant" flags are applied.

What version of the product are you using? On what operating system?
RC4, Mac OS

Please provide any additional information below.
This is quite a serious problem for us, it appears to require retyping a rather 
large amount of data (unless there's some way to patch a .dlt file)

Original issue reported on code.google.com by nadia.ta...@utoronto.ca on 26 Sep 2012 at 6:01

GoogleCodeExporter commented 8 years ago
Hi Nadia,
Thank you for the bug report.

There was a bug that was preventing the variant flag from being saved unless 
other changes to the taxon are made at the same time, which was why it was 
working on initial creation.   This has been fixed and will be available at 
ftp://ftp.csiro.au/Open-DELTA/ within an hour or two. 

With respect to the typing a large amount of data, the editor saves a backup of 
the .dlt file in the same folder with a file extension of .dlt.bak.  (Although 
this will only help if you notice the problem immediately).  

If you can let me know in more detail what has happened to your dataset I may 
be able to help - my understanding of the impact of this bug is that it will 
simply not mark the Item/Taxon as a variant of its parent and shouldn't have 
resulted in other data being lost so maybe there is something else happening as 
well.

Regards,
Chris

Original comment by chris.go...@gmail.com on 26 Sep 2012 at 11:24

GoogleCodeExporter commented 8 years ago
Very nice, thank you. No retyping is required now that the bug is fixed. I was 
able to go in and mark the dataset with the "treat as variant" flags, rather 
than starting again to enter everything with those flags before the character 
data.

Best wishes,

Nadia

Original comment by nadia.ta...@utoronto.ca on 27 Sep 2012 at 12:12