<HTML>
<HEAD>
<TITLE>Re: Archiving annotations (was: [Biococoa-dev] Annotation)</TITLE>
</HEAD>
<BODY>
<BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>I see where you're head at, but I don't see exactly HOW you would like to see this implement. <BR>
Do you mean that each annotation instead of a simple shouldArchive boolean should have a variable which you can set to one of the three levels you describe? Could you describe a bit more in detail how to implement this all? If I understand you right, you want this system be functional in the read/write classes or not? So one can define what he wants to save/load to/from a file? Or/And do you want to have these options in the sequence creation methods? How do we check what the app supports? Delegates? <BR>
It's rather vague to me although I agree that we need to have a system to discriminate between different levels of annotation datatype support. <BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
I was thinking of keeping this under the control of the user (user == developer using the framework).  Basically, when importing data or preparing it for export, they could call a method and get the attributes stripped according to their needs.  The method could just walk through the values and do the pruning as appropriate.  It would probably be too processor hungry to do at d-and-d initiation, but could easily be done by the receiving app.<BR>
<BR>
In regards to Charles’s point about the “lossy” formats being somewhat problematic from the perspective of shifting data back and forth between apps and losing something each time, that’s definitely true.  But if we shift the burden of when to call these methods onto the users, then it’s up to them to determine when stripping information is appropriate, perhaps making it a user preference.<BR>
<BR>
JT<BR>
<BR>
</SPAN></FONT><SPAN STYLE='font-size:12.0px'><FONT FACE="Georgia, Times New Roman"><BR>
</FONT><FONT FACE="Verdana, Helvetica, Arial">_______________________________________________<BR>
This mind intentionally left blank<BR>
</FONT></SPAN>
</BODY>
</HTML>