Changeset 8032
- Timestamp:
- Feb 1, 2022, 2:04:44 PM (20 months ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/3.19-stable merged: 8025,8027-8029 /tags/3.19.2 (added) merged: 8030
- Property svn:mergeinfo changed
-
trunk/credits.txt
r8026 r8032 1 1 $Id$ 2 2 3 The current BASE team is (at BASE 3.19. 1release)3 The current BASE team is (at BASE 3.19.2 release) 4 4 {{{ 5 5 Jari Häkkinen -
trunk/src/plugins/core/net/sf/basedb/plugins/batchimport/RawBioAssayImporter.java
r7667 r8032 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 { -
trunk/www/admin/extensions/details.js
r7604 r8032 59 59 var url = 'index.jsp?ID='+App.getSessionId(); 60 60 url += '&cmd=ManualScan'; 61 Dialogs.openPopup(url, 'ManualScan', 900, 600);61 Dialogs.openPopup(url, 'ManualScan', 1050, 700); 62 62 } 63 63 -
trunk/www/admin/extensions/wizard.jsp
r7954 r8032 47 47 import="net.sf.basedb.clients.web.servlet.ContentSecurityPolicyFilter" 48 48 import="java.util.List" 49 import="java.util.Comparator" 50 import="java.util.Collections" 49 51 import="java.util.Date" 50 52 import="java.io.File" … … 67 69 ec.scanForChanges(); 68 70 List<ExtensionsFile> xtFiles = ec.getFiles(); 71 72 // Re-order extensions 73 Collections.sort(xtFiles, 74 new Comparator<ExtensionsFile>() 75 { 76 public int compare(ExtensionsFile f1, ExtensionsFile f2) 77 { 78 // Sort new or modified extensions first... 79 boolean p1 = f1.isNew() || f1.wasModified(); 80 boolean p2 = f2.isNew() || f2.wasModified(); 81 if (p1 != p2) return p1 ? -1 : 1; 82 83 // ...then deleted and invalid extensions... 84 p1 = f1.hasError() || !f1.exists() || !f1.isValid(); 85 p2 = f2.hasError() || !f2.exists() || !f2.isValid(); 86 if (p1 != p2) return p1 ? -1 : 1; 87 88 // ...and finally all other extensions 89 return f1.getName().compareTo(f2.getName()); 90 } 91 }); 92 69 93 List<File> ignoredFiles = ec.getIgnoredFiles(); 70 94 %> … … 85 109 .ignored-file td 86 110 { 87 opacity: 0.5; 88 } 89 .ignored-file .input 90 { 91 opacity: 1; 111 color: #666666; 92 112 } 93 113 </style> … … 262 282 <td class="cell"></td> 263 283 </tr> 284 <tbody class="rows"> 264 285 <% 265 286 for (File ignoredFile : ignoredFiles) … … 281 302 } 282 303 %> 283 <tbl:row clazz="ignored-file">304 <tbl:row subclass="ignored-file"> 284 305 <tbl:cell column="file" style="white-space: nowrap;"><%=name%></tbl:cell> 285 306 <tbl:cell column="status" style="text-align: center;">Ignored</tbl:cell> 286 <tbl:cell clazz="cell input"column="install" style="text-align: center;">307 <tbl:cell column="install" style="text-align: center;"> 287 308 <% 288 309 if (allowInstall) … … 295 316 %> 296 317 </tbl:cell> 297 <tbl:cell clazz="cell input" column="ignore" style="text-align: center;">318 <tbl:cell subclass="cell input" column="ignore" style="text-align: center;"> 298 319 <input type="checkbox" class="auto-init" data-auto-init="stop-ignore" 299 320 name="<%=name%>.stopignore" value="1" <%=checkStopIgnore ? "checked" : "" %>> … … 303 324 <% 304 325 } 326 %> 327 </tbody> 328 <% 305 329 } 306 330 %>
Note: See TracChangeset
for help on using the changeset viewer.