Changeset 5774


Ignore:
Timestamp:
Sep 29, 2011, 3:38:58 PM (10 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #1625: GAL exporter is only usable for array design that use COORDINATES for feature identification

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/plugins/core/net/sf/basedb/plugins/GalExporter.java

    r5612 r5774  
    4747import net.sf.basedb.core.Feature;
    4848import net.sf.basedb.core.FeatureCoordinate;
     49import net.sf.basedb.core.FeatureIdentificationMethod;
    4950import net.sf.basedb.core.File;
    5051import net.sf.basedb.core.FileStoreUtil;
     
    160161      {
    161162        message = "The array design has no features in the database";
     163      }
     164      else if (design.getFeatureIdentificationMethod() != FeatureIdentificationMethod.COORDINATES)
     165      {
     166        message = "The array design must use COORDINATES as feature identification method.";
    162167      }
    163168    }
Note: See TracChangeset for help on using the changeset viewer.