Changeset 8027
- Timestamp:
- Jan 13, 2022, 7:45:03 AM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.19-stable/src/plugins/core/net/sf/basedb/plugins/batchimport/RawBioAssayImporter.java
r7667 r8027 162 162 ); 163 163 164 164 protected static final PluginParameter<String> fileSpotsMapping = 165 new PluginParameter<String>( 166 "fileSpotsMapping", 167 "File spots", 168 "Mapping that picks the number of spots of the bioassay that are stored in files. The " + 169 "values must be in the numeric format specified by the 'Number format' parameter." + 170 "Example: \\Spots\\", 171 optionalColumnMapping 172 ); 173 165 174 public RawBioAssayImporter() 166 175 {} … … 198 207 private Mapper fileTypeMapper; 199 208 private Mapper fileMapper; 209 private Mapper fileSpotsMapper; 200 210 private String dataDirectory; 201 211 … … 264 274 parameters.add(fileTypeColumnMapping); 265 275 parameters.add(fileColumnMapping); 276 parameters.add(fileSpotsMapping); 266 277 parameters.add(permissionTemplateColumnMapping); 267 278 } … … 297 308 fileTypeMapper = getMapper(ffp, (String)job.getValue("fileTypeColumnMapping"), null, null); 298 309 fileMapper = getMapper(ffp, (String)job.getValue("fileColumnMapping"), null, null); 310 fileSpotsMapper = getMapper(ffp, (String)job.getValue("fileSpotsMapping"), null, null); 299 311 dataDirectory = (String)job.getValue("dataDirectory"); 300 312 if (dataDirectory != null && !dataDirectory.endsWith("/")) … … 390 402 rba.setParentExtract(extractFromBioAssay); 391 403 } 392 404 if (fileSpotsMapper != null) rba.setNumFileSpots(fileSpotsMapper.getInt(data)); 393 405 if (!rba.hasData()) 394 406 {
Note: See TracChangeset
for help on using the changeset viewer.