Opened 14 years ago

Last modified 14 years ago

#938 closed defect

BioAssaySetExporter bug fix (last line can have missing columns) — at Initial Version

Reported by: base Owned by: everyone
Priority: major Milestone: BASE 2.6.1
Component: coreplugins Version:
Keywords: Cc:

Description

This little bug was preventing base1 hierarchical clustering (due to incomplete BASE file being).

Index: src/plugins/core/net/sf/basedb/plugins/BioAssaySetExporter.java
===================================================================
--- src/plugins/core/net/sf/basedb/plugins/BioAssaySetExporter.java     (revision 4133)
+++ src/plugins/core/net/sf/basedb/plugins/BioAssaySetExporter.java     (working copy)
@@ -564,9 +564,9 @@
                        for (Short col : columnNo)
                        {
                                String spot = spotValues.get(col);
+                               out.print(separator);
                                if (spot != null)
                                {
-                                       out.print(separator);
                                        out.print(spot);
                                }
                                else

cheers, Bob.

Change History (0)

Note: See TracTickets for help on using tickets.