Changeset 3819


Ignore:
Timestamp:
Sep 6, 2010, 2:27:52 PM (13 years ago)
Author:
Fredrik Levander
Message:

Refs #701. Writing gel id if no local sample id.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugin/src/org/proteios/plugins/PrideExportPlugin.java

    r3815 r3819  
    34963496      xmlCrudeWriter.writeStartElement("sampleName");
    34973497      xmlCrudeWriter.writeStartElementEnd();
    3498       xmlCrudeWriter.writeCharacters(localSampleId);
     3498      if (localSampleId!=null && !localSampleId.equals(""))
     3499      {
     3500        xmlCrudeWriter.writeCharacters(localSampleId);
     3501      }
     3502      else
     3503      {
     3504        xmlCrudeWriter.writeCharacters(gelExternalId);
     3505      }
    34993506      // writeEndTag("name");
    35003507      xmlCrudeWriter.writeEndElement("sampleName");
Note: See TracChangeset for help on using the changeset viewer.