System.out.print( "Creating the protein factory (UpdateProteins)..." ); System.out.flush(); proteinFactory = new UpdateProteins( ); System.out.println( "done" ); System.out.println( "error" ); System.out.println( "Could not create proteinFactory (UpdateProteins)." ); e.printStackTrace(); System.exit( 1 ); System.out.print( "Creating the organism factory (BioSourceFactory)..." ); System.out.flush(); bioSourceFactory = new BioSourceFactory( ); System.out.println( "done" ); } catch ( IntactException e ) {
Collection tmp = proteinFactory.insertSPTrProteins( proteinId, taxId, true ); // taxId can be null ! Map exceptions = proteinFactory.getParsingExceptions(); if ( !exceptions.isEmpty() ) {
bioSource = bioSourceFactory.getValidBioSource( taxid ); BioSourceFactory factory = new BioSourceFactory( ); BioSource templateBioSource = factory.getValidBioSource( taxid ); String label = null; if ( templateBioSource != null ) {
System.out.print( "Creating the protein factory (UpdateProteins)..." ); System.out.flush(); proteinFactory = new UpdateProteins( ); System.out.println( "done" ); System.out.println( "error" ); System.out.println( "Could not create proteinFactory (UpdateProteins)." ); e.printStackTrace(); System.exit( 1 ); System.out.print( "Creating the organism factory (BioSourceFactory)..." ); System.out.flush(); bioSourceFactory = new BioSourceFactory( ); System.out.println( "done" ); } catch ( IntactException e ) {
Collection tmp = proteinFactory.insertSPTrProteins( proteinId, taxId, true ); // taxId can be null ! Map exceptions = proteinFactory.getParsingExceptions(); if ( !exceptions.isEmpty() ) {
bioSource = bioSourceFactory.getValidBioSource( taxid ); BioSourceFactory factory = new BioSourceFactory( ); BioSource templateBioSource = factory.getValidBioSource( taxid ); String label = null; if ( templateBioSource != null ) {
System.out.print( "Creating the protein factory (UpdateProteins)..." ); System.out.flush(); proteinFactory = new UpdateProteins( ); System.out.println( "done" ); System.out.println( "error" ); System.out.println( "Could not create proteinFactory (UpdateProteins)." ); e.printStackTrace(); System.exit( 1 ); System.out.print( "Creating the organism factory (BioSourceFactory)..." ); System.out.flush(); bioSourceFactory = new BioSourceFactory( ); System.out.println( "done" ); } catch ( IntactException e ) {
Collection tmp = proteinFactory.insertSPTrProteins( proteinId, taxId, true ); // taxId can be null ! Map exceptions = proteinFactory.getParsingExceptions(); if ( !exceptions.isEmpty() ) {
bioSource = bioSourceFactory.getValidBioSource( taxid ); BioSourceFactory factory = new BioSourceFactory( ); BioSource templateBioSource = factory.getValidBioSource( taxid ); String label = null; if ( templateBioSource != null ) {