gtDMMB / RNAStructViz

Visualization, comparison, and analysis of RNA secondary structures via a cross-platform GUI
https://github.com/gtDMMB/RNAStructViz/wiki
GNU General Public License v3.0
17 stars 5 forks source link

Duplicate structure checking #66

Closed ceheitsch closed 4 years ago

ceheitsch commented 4 years ago

Load all test files though "Select All Files." Delete "E.coli" folder. Choose "Select All Files" again. E.coli loads properly. H.sapiens does not load again (correctly). But the number of C.elegans and of "No.#3 (BOLTZ)" have changed, which they should not.

maxieds commented 4 years ago

@ceheitsch The numbers on the folders that do not have good suggestions for a naming scheme from the file meta data are intentionally re-numbered each time. This is to emphasize a unique scheme for naming the folders. Not doing so would also mean that we would have to keep track of the sequence (RNAStructure*) of all previously loaded sequences. This is impractical! Additionally, once a folder is deleted, we should assume that the context moves on (again with the unique naming scheme justification...).

I will look to see if I can reproduce your H. sapiens error.

maxieds commented 4 years ago

Actually, upon re-reading, there wasn't an error. My bad. Let's close the issue now since this is actually not an error but an intentional design feature made by the developers.

ceheitsch commented 4 years ago

Seems to be directly related to the Boltzmann file format. Other formats are recognized by the program if they have already been loaded, i.e. there is a command line "STATUS" message indicating the duplicate files. However, the number of files in the "No. #1 (BOLTZ)" folder increased from 8 to 16.

maxieds commented 4 years ago

@ceheitsch This has been tested and verified as now working on Linux and Mac. Please upgrade to v2.0.8-testing to see the changes...

ceheitsch commented 4 years ago

Confirming number of structures loaded stays correct now.