Changeset 6454


Ignore:
Timestamp:
May 8, 2014, 4:06:43 PM (8 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #1804: Files with .bam/.sam extensions should be associated to 'Aligned sequence data'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/core/net/sf/basedb/core/Install.java

    r6444 r6454  
    627627      createMimeType("text/plain", "Biorobotics TAM format", "tam", printMapType, true);
    628628      createMimeType("text/plain", "Molecularware MWBR format", "mvbr", printMapType, true);
    629       createMimeType("text/plain", "Sequence Alignment/Map", "sam", null, true);
    630       createMimeType("application/octet-stream", "Binary Sequence Alignment/Map", "bam", null, false);
     629      createMimeType("text/plain", "Sequence Alignment/Map", "sam", alignedType, true);
     630      createMimeType("application/octet-stream", "Binary Sequence Alignment/Map", "bam", alignedType, false);
    631631      createMimeType("text/plain", "Gene transfer format", "gtf", null, true);
    632632      createMimeType("text/plain", "FPKM tracking file", "fpkm_tracking", rawDataType, true);
     
    10901090      {
    10911091        log.info("createMimeType: EXISTS [extension="+extension+"; name="+name+"]");
     1092        if (fileType != null && mimeType.getFileType() == null)
     1093        {
     1094          mimeType.setFileType(fileType);
     1095        }
    10921096        HibernateUtil.commit(tx);
    10931097      }
Note: See TracChangeset for help on using the changeset viewer.