changeset 1:4b84b5118705

Uploaded corrected tool requirements definition.
author devteam
date Thu, 03 Apr 2014 09:29:29 -0400
parents 2bb8843930ac
children b82e4cb8764d
files best_regression_subsets.py best_regression_subsets.xml tool_dependencies.xml
diffstat 3 files changed, 13 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/best_regression_subsets.py	Tue Apr 01 09:12:24 2014 -0400
+++ b/best_regression_subsets.py	Thu Apr 03 09:29:29 2014 -0400
@@ -1,7 +1,5 @@
 #!/usr/bin/env python
 
-from galaxy import eggs
-
 import sys
 from rpy import *
 import numpy
--- a/best_regression_subsets.xml	Tue Apr 01 09:12:24 2014 -0400
+++ b/best_regression_subsets.xml	Thu Apr 03 09:29:29 2014 -0400
@@ -1,5 +1,9 @@
 <tool id="BestSubsetsRegression1" name="Perform Best-subsets Regression" version="0.0.1">
   <description> </description>
+  <requirements>
+    <requirement type="package" version="1.7.1">numpy</requirement>
+    <requirement type="package" version="1.0.3">rpy</requirement>
+  </requirements>
   <command interpreter="python">
     best_regression_subsets.py 
       $input1
@@ -21,9 +25,6 @@
     <data format="input" name="out_file1" metadata_source="input1" />
     <data format="pdf" name="out_file2" />
   </outputs>
-  <requirements>
-    <requirement type="python-module">rpy</requirement>
-  </requirements>
   <tests>
     <!-- Testing this tool will not be possible because this tool produces a pdf output file.
     -->
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Thu Apr 03 09:29:29 2014 -0400
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<tool_dependency>
+  <package name="numpy" version="1.7.1">
+      <repository changeset_revision="55a7a5e9d63f" name="package_numpy_1_7" owner="devteam" toolshed="http://testtoolshed.g2.bx.psu.edu" />
+    </package>
+  <package name="rpy" version="1.0.3">
+      <repository changeset_revision="c0eb80864491" name="package_rpy_1_0_3" owner="devteam" toolshed="http://testtoolshed.g2.bx.psu.edu" />
+    </package>
+</tool_dependency>