Changeset 545


Ignore:
Timestamp:
Jan 18, 2008, 11:27:10 AM (13 years ago)
Author:
mbayer
Message:

fixed bug in the submission of experiments that provide their own tab2mage file

Location:
branches/uk_ac_ebi_Tab2MageImporter
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/uk_ac_ebi_Tab2MageImporter/jsp/uk/ac/ebi/nugo/plugins/userchoice1.jsp

    r544 r545  
    5858<input type="hidden"name="requestId" value="<%=requestId%>">
    5959
    60 <table cellpadding="10">
     60<table cellpadding="10" width="100%">
    6161  <tr>
    6262    <td>Would you like the Tab2MAGE Wizard to generate a Tab2MAGE file for you?</td>
  • branches/uk_ac_ebi_Tab2MageImporter/src/uk/ac/ebi/nugo/plugins/DataBean.java

    r544 r545  
    5959  }
    6060 
     61  //initializes all String vars in the bean to emtpy Strings
     62  //this is necessary because the plugin will not accept any null values and in some submissions not all vars will have values
    6163  private void initDefaults()
    6264  {   
     
    6769      for (int i = 0; i < fields.length; i++)
    6870      {
    69           fields[i].set(this, "default");
     71          fields[i].set(this, "");
    7072      }
    7173    }
  • branches/uk_ac_ebi_Tab2MageImporter/src/uk/ac/ebi/nugo/plugins/Tab2MageImporter.java

    r544 r545  
    7575  LinkedList<PluginParameter<?>> params;
    7676
    77   private static final About about = new AboutImpl("Tab2Mage Importer", "This plugin is used to import raw data files and an experiment in the tab2mage format specfication. The tab2mage specification " + "is provided by the microarray informatics team at the EBI, Cambridge. The imported experiment can later be " + "exported by the corresponding tab2mage export plugin.", "1.0", "@Copyright 2007, The EBI NutriBase development team", "Dominic Oyeniran", "oyeniran@ebi.ac.uk", "http://www.ebi.ac.uk/~oyeniran");
     77  private static final About about = new AboutImpl("Tab2Mage Importer",
     78          "This plugin is used to import raw data files and an experiment in the tab2mage format specfication. The tab2mage specification " +
     79          "is provided by the microarray informatics team at the EBI, Cambridge. The imported experiment can later be " +
     80          "exported by the corresponding tab2mage export plugin. Users can choose whether to provide their own tab2mage file or " +
     81          " have one generated for them by the Tab2Mage Wizard.",
     82          "1.0",
     83          "@Copyright 2007, The EBI NutriBase development team",
     84          "Dominic Oyeniran",
     85          "oyeniran@ebi.ac.uk",
     86          "http://www.ebi.ac.uk/~oyeniran");
    7887
    7988  private static final GuiContext experimentItemGuiContext = new GuiContext(Item.EXPERIMENT, GuiContext.Type.ITEM);
     
    397406      {
    398407        //need to write the status file here
    399         String statusPath = dir.getName() + "/statusReport.txt";
     408        System.out.println("generating status report file using Helper class");
     409        String statusPath = dir.getPath().toString() + "/statusReport.txt";
     410        System.out.println("status report file  = " + statusPath);
    400411        statusFile=Helper.processFilePath(user,overwrite, sc,statusPath);
    401412      }
Note: See TracChangeset for help on using the changeset viewer.