Changes between Version 9 and Version 10 of Service_Lab_Plugin
- Timestamp:
- 03/14/2017 09:16:15 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Service_Lab_Plugin
v9 v10 141 141 - Dialog - dialog/UploadBillDialog 142 142 143 === Service Lab utility plugin === 144 Currently it does two tasks 145 - Ontology generation 146 - Workspace generation 147 148 === Ontology Generation === 149 The handler class passes the spread sheet that contains the protocols templates to be added in the ontology. It looks in the '''doc''' folder of its plugin to find this spread sheet. The main class for importing ontologies first copies the standard experiment design ontology from ''experiment design plugin'' as a local ontology in the config folder (''.grits-toolbox/org.grits.toolbox.editor.experimentdesigner/''). It adds protocol templates to this ontology and generates protocol variants in the config folder. It then copies back the local experiment design ontology as standard ontology in the experiment design plugin. 150 151 Sometimes excessive HTTP requests for reading Pubmed papers may result in server blocking the operation. To overcome this, one can download the papers using browser and save it in the '''paper''' folder (name being ''PubmedId'' of the paper and file type being ".xml"). Codes have been adjusted to read the papers from this '''paper''' folder if response from HTTP request has certain error phrases. 152 153 - Handler - handler/AddOntologyHandler 154 - main class - addtoontology/ImportTemplates (short for import protocol templates) 155 156 Important locations 157 - '''.grits-toolbox/org.grits.toolbox.editor.experimentdesigner/''' is the config folder (for writing to local ontology and generating protocol variants) 158 - '''ontology''' folder in experiment design plugin (copies standard ontology as local ontology and once generation is complete, copies back to this folder as standard ontology) 159 - '''namespace''' folder in experiment design plugin (adds short namespaces for parameters that were created while adding protocols in the ontology) 160 - '''doc''' folder in its own plugin (for protocol spread sheet) 161 - '''paper''' folder in its own plugin (for offline reading of Pubmed papers) 162 143 163 144 164 … … 146 166 Following steps are to be followed each time GRITS is to be installed in Service Lab: 147 167 148 1. Copy two ontologies before building168 1. Copy two ontologies before exporting 149 169 - copy the two ontologies from '''ontology''' folder of Service Lab main plugin to '''ontology''' folder of Experiment designer plugin 150 170 a. experimentdesignontology.owl 151 171 b. localexperimentdesignontology.owl 152 172 2. Make sure the namespace file for Service Lab protocols (''namespaces_servicelab.xml'') is there in the experiment design plugin inside '''namespace''' folder 153 3. Use the product "'''GRITS.servicelab.product'''" in Service Lab Main plugin to build a product as you would normally build154 4. Test and deploy the generated product in Service Lab computer173 3. Use the product "'''GRITS.servicelab.product'''" in Service Lab Main plugin to export a product as you would normally export 174 4. Test and deploy the exported product in Service Lab computer 155 175 156 176 __Note:__ Service Lab has its own set of ontologies and protocol variants. It cannot work merely with the experiment design ontologies. Each time a product is made for Service lab, the ontologies from the Service Lab Main plugin should be copied to build the product. 157 177 158 Currently you can only generate a new set of protocol variants (it would remove all local protocols and protocol variants) and you do not have the option for adding protocol variants to the existing protocol variants. If a new set of protocol variants were generated for Service Labthen follow the following steps :178 Currently you can only generate a new set of protocol variants (it would remove all local protocols and protocol variants) and you do not have the option for adding protocol variants to the existing protocol variants. If a new set of protocol variants have been generated for Service Lab need to be installed then follow the following steps : 159 179 1. Get a copy of protocol variants from '''protocol variants''' folder of Service Lab main plugin (use the protocol variants with matching version of the ontology that was used in step 1 for deployment) 160 180 2. In Service Lab computer, clean the '''org.grits.toolbox.editor.experimentdesigner''' folder inside config folder and copy the new protocol variants and extract it here