Changeset 622


Ignore:
Timestamp:
Mar 10, 2008, 8:51:51 AM (13 years ago)
Author:
Martin Svensson
Message:

References #101comment:9 - fixes the listed items in the comment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/base2/net.sf.basedb.illumina/trunk/src/net/sf/basedb/illumina/plugins/SnpRawDataImporter.java

    r619 r622  
    492492        holder.rba.getFileSet().getMember(splitDataFileType).setValid(true, null);
    493493        holder.rba.setNumFileSpots(holder.numInserted);
     494        File splitFile = holder.rba.getFileSet().getMember(splitDataFileType).getFile();
     495        splitFile.setWriteProtected(true);
    494496      }
    495497      dc.commit();
     
    657659      splitFile.setLocation(Location.PRIMARY);
    658660      splitFile.setFileType(FileType.getById(dc, SystemItems.getId(FileType.RAW_DATA)));
     661      splitFile.setMimeType("test/plain");
    659662      dc.saveItem(splitFile);
    660663     
     
    743746      mappers = new HashMap<String, Mapper>();
    744747      File splitFile = rba.getFileSet().getMember(splitDataFileType).getFile();         
    745       bw = new BufferedWriter(new OutputStreamWriter(splitFile.getUploadStream(true)));
     748      bw = new BufferedWriter(new OutputStreamWriter(splitFile.getUploadStream(true, true)));
    746749      numInserted = 0;
    747750      createMappers(ffp, colNames);
Note: See TracChangeset for help on using the changeset viewer.