Opened 18 years ago

Last modified 18 years ago

#6 new task

Analysis saving is smelly

Reported by: diane Owned by: diane
Priority: major Milestone: Standing on our heads
Component: core Version:
Keywords: Cc:

Description

Analysis saving uses system calls to make a directory and splatter a bunch of files in it. This makes loading an analysis a bit odd as you need to load a directory, and you get a bunch of errors on standard out.

It'd be nice if everything was saved into a single file? or at least used a more multiplatform way for creating directories.

Change History (3)

comment:1 by diane, 18 years ago

Loading is pretty bad too. I have no idea why Mussa keeps track of the information needed to load a sequence in several parallel arrays, instead of just loading the sequence when presented with enough information?

comment:2 by diane, 18 years ago

Milestone: Few Small RepairsStanding on our heads

Ok I started writing something using the boost serialization library. But then realized that requires fairly significant changes.

I already have the single shared_ptr<string> but converting annots and motifs to use a nested tree of sequences and subsequences is a fairly large change.

So I'm going to punt on this until we have one release out.

Though might still be worth it to write everything into a zip file.

comment:3 by diane, 18 years ago

Type: defecttask
Note: See TracTickets for help on using tickets.