public static Document generatePsiData(Collection<Interaction> interactions, PsiVersion psiVersion, CvMapping cvMapping) { UserSessionDownload session = new UserSessionDownload(psiVersion); if (cvMapping != null) { session.setReverseCvMapping(cvMapping); } return generatePsiData(interactions, session); }
public static Document generatePsiData(Collection<Interaction> interactions, PsiVersion psiVersion, CvMapping cvMapping) { UserSessionDownload session = new UserSessionDownload(psiVersion); if (cvMapping != null) { session.setReverseCvMapping(cvMapping); } return generatePsiData(interactions, session); }
public static Document generatePsiData(Collection<Interaction> interactions, PsiVersion psiVersion, CvMapping cvMapping) { UserSessionDownload session = new UserSessionDownload(psiVersion); if (cvMapping != null) { session.setReverseCvMapping(cvMapping); } return generatePsiData(interactions, session); }
/** * Converts a list of experiments to PSI XML, providing the experiment labels * * @param eli The ExperimentListItem, which contaisn information about the experiment to be fetched, the pagination and files * @param psiVersion The version of PSI to use * @param cvMapping The cv mapping * @return The Document containing the PSI XML */ public static Document generatePsiData(ExperimentListItem eli, PsiVersion psiVersion, CvMapping cvMapping) { UserSessionDownload session = new UserSessionDownload(psiVersion); if (cvMapping != null) { session.setReverseCvMapping(cvMapping); } Collection<Interaction> interactions = getInteractionsForExperimentListItem(eli); return generatePsiData(interactions, session); }
UserSessionDownload session = new UserSessionDownload( version ); if ( mapping != null ) { session.setReverseCvMapping( mapping );
UserSessionDownload session = new UserSessionDownload( version ); if ( mapping != null ) { session.setReverseCvMapping( mapping );
/** * Converts a list of experiments to PSI XML, providing the experiment labels * * @param eli The ExperimentListItem, which contaisn information about the experiment to be fetched, the pagination and files * @param psiVersion The version of PSI to use * @param cvMapping The cv mapping * @return The Document containing the PSI XML */ public static Document generatePsiData(ExperimentListItem eli, PsiVersion psiVersion, CvMapping cvMapping) { UserSessionDownload session = new UserSessionDownload(psiVersion); if (cvMapping != null) { session.setReverseCvMapping(cvMapping); } Collection<Interaction> interactions = getInteractionsForExperimentListItem(eli); return generatePsiData(interactions, session); }
/** * Converts a list of experiments to PSI XML, providing the experiment labels * * @param eli The ExperimentListItem, which contaisn information about the experiment to be fetched, the pagination and files * @param psiVersion The version of PSI to use * @param cvMapping The cv mapping * @return The Document containing the PSI XML */ public static Document generatePsiData(ExperimentListItem eli, PsiVersion psiVersion, CvMapping cvMapping) { UserSessionDownload session = new UserSessionDownload(psiVersion); if (cvMapping != null) { session.setReverseCvMapping(cvMapping); } Collection<Interaction> interactions = getInteractionsForExperimentListItem(eli); return generatePsiData(interactions, session); }
UserSessionDownload session = new UserSessionDownload( version ); if ( mapping != null ) { session.setReverseCvMapping( mapping );
UserSessionDownload session = new UserSessionDownload( version ); if ( mapping != null ) { session.setReverseCvMapping( mapping );
UserSessionDownload session = new UserSessionDownload( version ); if ( mapping != null ) { session.setReverseCvMapping( mapping );
UserSessionDownload session = new UserSessionDownload( version ); if ( mapping != null ) { session.setReverseCvMapping( mapping );
/** * Writes a file containing the PSI XML, with the interactions provided * * @param interactions * @param psiVersion * @param cvMapping * @param xmlTargetFile * @param validate * @return * @throws IOException */ public static PsiValidatorReport writePsiData(Collection<Interaction> interactions, PsiVersion psiVersion, CvMapping cvMapping, File xmlTargetFile, boolean validate) throws IOException { UserSessionDownload session = new UserSessionDownload(psiVersion); if (cvMapping != null) { session.setReverseCvMapping(cvMapping); } Document doc = generatePsiData(interactions, session); if (doc == null) { return new PsiValidatorReport(); } return writeFile(doc, xmlTargetFile, validate); }
/** * Writes a file containing the PSI XML, with the interactions provided * * @param interactions * @param psiVersion * @param cvMapping * @param xmlTargetFile * @param validate * @return * @throws IOException */ public static PsiValidatorReport writePsiData(Collection<Interaction> interactions, PsiVersion psiVersion, CvMapping cvMapping, File xmlTargetFile, boolean validate) throws IOException { UserSessionDownload session = new UserSessionDownload(psiVersion); if (cvMapping != null) { session.setReverseCvMapping(cvMapping); } Document doc = generatePsiData(interactions, session); if (doc == null) { return new PsiValidatorReport(); } return writeFile(doc, xmlTargetFile, validate); }
/** * Writes a file containing the PSI XML, with the interactions provided * * @param interactions * @param psiVersion * @param cvMapping * @param xmlTargetFile * @param validate * @return * @throws IOException */ public static PsiValidatorReport writePsiData(Collection<Interaction> interactions, PsiVersion psiVersion, CvMapping cvMapping, File xmlTargetFile, boolean validate) throws IOException { UserSessionDownload session = new UserSessionDownload(psiVersion); if (cvMapping != null) { session.setReverseCvMapping(cvMapping); } Document doc = generatePsiData(interactions, session); if (doc == null) { return new PsiValidatorReport(); } return writeFile(doc, xmlTargetFile, validate); }
System.out.println( version ); UserSessionDownload session = new UserSessionDownload( version ); session.filterObsoleteAnnotationTopic();
System.out.println( version ); UserSessionDownload session = new UserSessionDownload( version ); session.filterObsoleteAnnotationTopic();
System.out.println( version ); UserSessionDownload session = new UserSessionDownload( version ); session.filterObsoleteAnnotationTopic();