changeset 2:1df8209158ed draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit c64126e0c691e7f4a50bf26bb92d962c4c1bd1b7
author iuc
date Wed, 20 Jun 2018 14:40:07 -0400
parents da03e96d1939
children db98031b6691
files simple_weather.xml
diffstat 1 files changed, 10 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/simple_weather.xml	Fri Sep 23 12:12:11 2016 -0400
+++ b/simple_weather.xml	Wed Jun 20 14:40:07 2018 -0400
@@ -7,25 +7,25 @@
         <exit_code range="1:" />
     </stdio>
     <command><![CDATA[
-        curl 'http://wttr.in/$place$units' 2>/dev/null  | sh $__tool_directory__/ansi2html.sh >> '$out_file1';
+curl 'http://wttr.in/$place$units' 2>/dev/null | sh '$__tool_directory__/ansi2html.sh' > '$out_file1'
     ]]></command>
     <inputs>
-        <param name="place" label="Select a place, us-zip code, airport shortcut, webpage, or moon (with optional date)" type="text" value="Bloomington" help="webpages need a '@' sign in front to run see help for more information">
+        <param name="place" type="text" value="Bloomington" label="Select a place, us-zip code, airport shortcut, webpage, or moon (with optional date)" help="webpages need a '@' sign in front to run see help for more information">
             <sanitizer sanitize="False"/>
         </param>
-        <param name="units" label="Units" type="select" >
+        <param name="units" type="select" label="Units">
             <sanitizer sanitize="False"/>
             <option value="?m" selected="true">metric (SI)</option>
             <option value="?u">non-metric (USCS)</option>
         </param>
     </inputs>
     <outputs>
-        <data format="html" name="out_file1" label="${tool.name}: ${place}"/>
+        <data name="out_file1" format="html" label="${tool.name}: ${place}"/>
     </outputs>
     <tests>
         <test>
             <param name="place" value="Moon@1986-Oct-06"/>
-            <output name="output1">
+            <output name="out_file1">
                 <assert_contents>
                     <has_text_matching expression="N.*e.*w.* .*M.*o.*o.*n.* .*\+" />
                     <has_text_matching expression="2.* .* .*2.*:.*0.*5.*:.*5.*1" />
@@ -40,24 +40,21 @@
 Supported location types:
 -------------------------
 ::
- 
+
     ""                      # current location (ip adress)
     paris                   # city name
     muc                     # airport code (3 letters)
     @stackoverflow.com      # domain name
     94107                   # area codes (us only)
- 
+
 Special locations:
 -------------------
 ::
- 
+
     moon                    # Moon phase (add ,+US or ,+France for these cities)
     moon@1999-Oct-02        # Moon phase on a particular date
- 
 
- 
 --- wrapped by Aarif Mohamed Nazeer Batcha and Jochen Bick ---
- 
     ]]></help>
     <citations>
         <citation type="bibtex">
@@ -68,7 +65,7 @@
   publisher = {GitHub},
   journal = {GitHub repository},
   url = {https://github.com/chubin/wttr.in},
-}</citation>
+}
+        </citation>
     </citations>
- 
 </tool>