Opened 14 years ago
Closed 13 years ago
#1598 closed enhancement (fixed)
Use the extensions system for data file validators and metadata readers
Reported by: | Nicklas Nordborg | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | major | Milestone: | BASE 3.0 |
Component: | core | Version: | |
Keywords: | Cc: |
Description
Related to ticket #1592. A similar solution as implemented for external file support (#1582) should be used.
One difference is that the API promises that a single instance of a validator/metadata reader is shared if used in more than one place. This is mostly because an implementation that is both a validator+metadata reader shouldn't have to parse the file twice.
Change History (4)
comment:1 by , 14 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 14 years ago
comment:3 by , 14 years ago
comment:4 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Seems to be working well with the Illumina package so I am closing this now.
Note:
See TracTickets
for help on using tickets.
(In [5623]) References #1598: Use the extensions system for data file validators and metadata readers
There are major changes in this function. To summarize:
DataFileType
class. Instead, each extension need to check if it can be used in a given context (eg. check the platform of the item).net.sf.basedb.core.filehandler
package has been removed. Generic classes has been moved tonet.sf.basedb.util.fileset
(but with big changes in the actual classes). Affymetrix-related classes have been moved tonet.sf.basedb.util.Affymetrix
. The existing functionality can be found with some minor changes plus that we have additions to hook into the extensions system.DateFileTypes
table and all filters, etc. referencing those columns from the gui context information.