Opened 10 years ago

Closed 10 years ago

#242 closed task (fixed)

Implement "Save to BASE" function in the MeV gui

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: critical Milestone: MeV Launcher v1.5
Component: net.sf.basedb.mev Keywords:
Cc:

Description

For background info see #241.

We should investigate and try to implement a function that automatically can create a child bioassay set in BASE and attach the MeV analysis file to that. This requires more support functions on the BASE server side as well. Eg. we need a web services api that allows us to upload files, create a child bioassay set, etc.

This ticket replaces #125.

Change History (5)

comment:1 Changed 10 years ago by Nicklas Nordborg

Status: newassigned

comment:2 Changed 10 years ago by Nicklas Nordborg

I just found out one potential issue that limits the usability of this function. There is a warning message in the Save dialog in MeV:

Proper restoration of analysis files is dependent on the Java and Java Virtual Machine versions used to open the file. Analysis files should be opened using Java and Java Virtual Machine versions that match the versions used to save the file. If version inconsistencies are found when loading an analysis file the saved and current versions will be reported at that time. This problem only arises when moving analysis files between computers running different versions of Java.

This limits the use of having the file attached to a bioassayset in BASE. For a single user it may work as long as they don't upgrade their Java version. For a group of users, it may be neccesary to enforce a specific Java version.

comment:3 Changed 10 years ago by Nicklas Nordborg

(In [1163]) References #242: Implement "Save to BASE" function in the MeV gui

The menu item is in place as well as the file saving/upload functionality. There is need for more error handling. The possibility of creating a new child bioassay set is not yet implemented. The file will always be attached to the same bioassay set as it was loaded from. The functionality has only been tested when the original file is an analysis file. Some slight adjustments are probably needed when starting with TDMS or CGH files.

comment:4 Changed 10 years ago by Nicklas Nordborg

(In [1165]) References #242: Implement "Save to BASE" function in the MeV gui

The complete functionality should now be in place. It is possible to create new child bioassay sets. Error handling has been improved a lot. It's a bit messy when having multiple threads going on at the same time... There is probably need for some more testing with different error scenarios.

comment:5 Changed 10 years ago by Nicklas Nordborg

Resolution: fixed
Status: assignedclosed

(In [1176]) Fixes #242: Implement "Save to BASE" function in the MeV gui

Fixed some error handling issues.

Note: See TracTickets for help on using tickets.