Custom DataTypes for file based assays

LabKey Support Forum (Inactive)
Custom DataTypes for file based assays jeckels  2013-12-02 16:37
Status: Closed
 
Hi Anthony,

Sorry for the very late reply. I've implemented your suggestion, albeit with a slightly different XML schema:

<?xml version="1.0"?>
<provider xmlns="http://labkey.org/study/assay/xml">
  <name>Simple Test</name>
  <description>Simple file-based assay</description>
    <inputDataFile>
        <namespacePrefix>testPrefix</namespacePrefix>
        <role>testRole</role>
        <fileSuffix>.tsv</fileSuffix>
        <fileSuffix default="true">.txt</fileSuffix>
    </inputDataFile>
</provider>

As far as #2 goes (the related files' namespace prefix), can you give a little more detail around your scenario? In many other usages, we don't want to simply reuse the primary data file's namespace prefix (since it's a totally different kind of file). In your scenario, would simply setting a single alternative namespace prefix be sufficient? It would be fine for it to be the same as the primary data file's prefix, as long as your ExperimentDataHandler and other code would be able to make sense of everything.

Thanks,
Josh