* @param uploaded The File containing the serialised experiment.
* @return "success" if all goes well.
*/
public String importExperiment( File uploaded ) {
try {
ExperimentRecords er = ExperimentRecords.readFromInputStream(new FileInputStream(uploaded));
er.storeInDatabase();
} catch ( Exception e ) {
e.printStackTrace();
return "import_failed";
}
return "my_experiments";