Project

General

Profile

Revision e17185f1

IDe17185f12d63c2a338d790b2d4d138f74838c945
Parent 689159b1
Child 0456d12d

Added by Andreas Müller over 2 years ago

ref #6965 adapt PlumbaginaceaeTropicosActivator to latest changes

View differences:

app-import/src/main/java/eu/etaxonomy/cdm/app/caryophyllales/PlumbaginaceaeTropicosActivator.java
40 40

  
41 41
//    static final ICdmDataSource cdmDestination = CdmDestinations.localH2();
42 42
//    static final ICdmDataSource cdmDestination = CdmDestinations.cdm_test_test1();
43
//    static final ICdmDataSource cdmDestination = CdmDestinations.cdm_production_caryophyllales_spp();
44
  static final ICdmDataSource cdmDestination = CdmDestinations.cdm_local_caryo_spp();
43
    static final ICdmDataSource cdmDestination = CdmDestinations.cdm_production_caryophyllales_spp();
44
//    static final ICdmDataSource cdmDestination = CdmDestinations.cdm_local_caryo_spp();
45 45

  
46 46
    static final boolean createTaxa = true;
47 47
    static int transactionLineCount = 100;
48
    static boolean allowTropicosDuplicates = true;
49
    static boolean allowIpniDuplicates = true;
50
    static boolean allowWfoDuplicates = false;
51
    static boolean addAuthorsToReferences = true;
52
    static boolean reportDuplicateIdentifier = true;
48 53

  
49 54
    static final String classificationName = "Tropicos Plumbaginaceae";
50 55
    static final UUID parentNodeUuid = UUID.fromString("46755269-5b06-4308-9871-c55850610769");
......
67 72
            config.setSourceReference(getSourceReference());
68 73
            config.setParentNodeUuid(parentNodeUuid);
69 74
            config.setTransactionLineCount(transactionLineCount);
75
            config.setAllowIpniDuplicates(allowIpniDuplicates);
76
            config.setAllowTropicosDuplicates(allowTropicosDuplicates);
77
            config.setAllowWfoDuplicates(allowWfoDuplicates);
78
            config.setAddAuthorsToReference(addAuthorsToReferences);
79
            config.setReportDuplicateIdentifier(reportDuplicateIdentifier);
70 80

  
71 81
            CdmDefaultImport<TropicosNameImportConfigurator> myImport = new CdmDefaultImport<>();
72 82
            ImportResult result = myImport.invoke(config);
......
78 88

  
79 89
    private URI getPlumbaginaceaeTropicosUri(){
80 90
//        String fileName = "TropicosNameImportTest-input.txt";
81
        String fileName = "TropicosOutput2CDM_Plumbaginaceae.txt";
91
        String fileName = "TropicosOutput2CDM-rev-output_Plumbaginaceae.txt";
92
//        String fileName = "TropicosOutput2CDM_Plumbaginaceae.txt";
82 93

  
83 94
        URI uri = URI.create("file:////BGBM-PESIHPC/Caryophyllales/" +  fileName);
84 95
        return uri;

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)