Changeset 1010


Ignore:
Timestamp:
Mar 30, 2009, 10:00:21 AM (14 years ago)
Author:
Nicklas Nordborg
Message:

References #162: Upgrade to MeV 4.3

Fixes some problems when starting export for bioassay sets that doesn't have a tdms file already.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/net.sf.basedb.mev/trunk/resources/launch_export.jsp

    r994 r1010  
    3232  import="net.sf.basedb.core.DbControl"
    3333  import="net.sf.basedb.core.SessionControl"
     34  import="net.sf.basedb.core.ItemContext"
     35  import="net.sf.basedb.core.Item"
    3436  import="net.sf.basedb.core.Path"
    3537  import="net.sf.basedb.clients.web.Base"
     
    5254  dc = sc.newDbControl();
    5355  BioAssaySet bas = BioAssaySet.getById(dc, bioAssaySetId);
     56  ItemContext cc = sc.getCurrentContext(Item.BIOASSAYSET);
     57  cc.setId(bioAssaySetId);
    5458  defaultFileName = Path.makeSafeFilename(bas.getName() + ".mev.txt", "");
    5559  jobName += " for " + bas.getName();
Note: See TracChangeset for help on using the changeset viewer.