Changeset 2498 for trunk/src/examples


Ignore:
Timestamp:
Aug 8, 2006, 4:01:22 PM (16 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #314: Update documentation that shows code examples with Transformation.newProduct

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/examples/plugins/src/net/sf/basedb/exampleplugins/ExampleAnalyzer.java

    r2346 r2498  
    151151        Transformation t = source.newTransformation(j);
    152152        t.setName("Multiply " + factor + "; filter < " + cutoff);
    153       BioAssaySet result = t.newProduct(null, "new");
     153      BioAssaySet result = t.newProduct(null, "new", true);
    154154      result.setName("After: multiply and filter");
    155155      dc.saveItem(t);
    156156      dc.saveItem(result);
    157        
    158         // Create child bioassays for each source bioassay
    159         for (BioAssay ba : source.getBioAssays().list(dc))
    160         {
    161            dc.saveItem(result.newBioAssay(ba));
    162         }
    163157       
    164158        //  Get query for source data
Note: See TracChangeset for help on using the changeset viewer.