Package com.infoclinika.mssharing.model.write

Examples of com.infoclinika.mssharing.model.write.AnalysisBounds


    @Test(expectedExceptions = IllegalArgumentException.class)
    public void testNotAllowCreateExperimentWithoutFiles () {
        final long bob = uc.createLab3AndBob();
        final long project = studyManagement.newProject(bob, uc.getLab3(), new StudyManagement.ProjectInfo("Title", "area", ""));
        studyManagement.newExperiment(bob, project, uc.getLab3(), new StudyManagement.ExperimentInfo("Duplicated title", "area", anyWorkflowType(), anySpecie())
                , false, restriction(bob), Collections.<StudyManagement.MetaFactor>emptyList(), Collections.<StudyManagement.FileItem>emptyList(), new AnalysisBounds(), new ArrayList<Double>());
    }
View Full Code Here


        final long bob = uc.createLab3AndBob();
        final long project = createPrivateProject(bob, uc.getLab3());

        final long file1 = uc.saveFile(bob);
        final long experiment = studyManagement.newExperiment(bob, project, uc.getLab3(), experimentInfo(), false, restriction(bob),
                Collections.<StudyManagement.MetaFactor>emptyList(), noFactoredFile(file1), new AnalysisBounds(), new ArrayList<Double>());

        final  long file2 = uc.saveFile(bob);
        final String factorName = anyStr();
        final String factorValue = "2";
        addFilesToExperiment(bob, experiment,
View Full Code Here

                "\n Target folder = " + targetKeyPrefix);

        TranslationResult translationResult = null;
        TranslationError translationError = null;
        try {
            AnalysisBounds bounds = experiment.getBounds();
            final List<Double> lockMasses = experiment.getLockMasses();
            final TranslationRequest request = new TranslationRequest(urls, names, conditions, avoidNullList(lockMasses), experimentWorkflowType, vendorType, targetBucket, targetKeyPrefix,
                    bounds.getMinRt(), bounds.getMaxRt(), bounds.getMinMz(), bounds.getMaxMz());
            translationResult = translationService.translateFiles(request);
            LOG.debug(" * Got result from translation service. Translated IDs = " + translationResult.getTranslatedIds() + ". Error message = " + translationResult.translationError);
            translationError = translationResult.translationError;
        } catch (Exception e) {
            LOG.error(" * Translation failed for the experiment with ID = " + experimentId, e);
View Full Code Here

TOP

Related Classes of com.infoclinika.mssharing.model.write.AnalysisBounds

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.