Changeset 6093
- Timestamp:
- Aug 27, 2012, 12:42:05 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/plugins/core/net/sf/basedb/plugins/IlluminaRawDataImporter.java
r5692 r6093 55 55 import net.sf.basedb.core.Job; 56 56 import net.sf.basedb.core.Permission; 57 import net.sf.basedb.core.PhysicalBioAssay; 57 58 import net.sf.basedb.core.Platform; 58 59 import net.sf.basedb.core.PluginParameter; … … 689 690 bioAssay = DerivedBioAssay.getById(dc, bioAssay.getId()); 690 691 // Find extract on the given array position. 691 List<BioMaterialEventSource> sources = bioAssay.getPhysicalBioAssay().getCreationEvent().getEventSources(dc, arrayPosition); 692 // There must be exactly one source 693 if (sources.size() == 1) extract = (Extract)sources.get(0).getBioMaterial(); 692 List<PhysicalBioAssay> physicalBioAssays = bioAssay.getPhysicalBioAssays().list(dc); 693 if (physicalBioAssays.size() == 1) 694 { 695 List<BioMaterialEventSource> sources = physicalBioAssays.get(0).getCreationEvent().getEventSources(dc, arrayPosition); 696 // There must be exactly one source 697 if (sources.size() == 1) extract = (Extract)sources.get(0).getBioMaterial(); 698 } 694 699 } 695 700 }
Note: See TracChangeset
for help on using the changeset viewer.