annotate simple_weather.xml @ 1:da03e96d1939 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit d46d41c5fec10407bd6b5cb77a11d9b43b82b95e
author iuc
date Fri, 23 Sep 2016 12:12:11 -0400
parents d2dd051f072b
children 1df8209158ed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
1 <tool id="simple_weather" name="SimpleWeather" version="0.1.0">
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
2 <requirements>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
3 <requirement type="package" version="7.45.0">curl</requirement>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
4 <requirement type="package" version="4.1.3">gawk</requirement>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
5 </requirements>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
6 <stdio>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
7 <exit_code range="1:" />
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
8 </stdio>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
9 <command><![CDATA[
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
10 curl 'http://wttr.in/$place$units' 2>/dev/null | sh $__tool_directory__/ansi2html.sh >> '$out_file1';
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
11 ]]></command>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
12 <inputs>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
13 <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">
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
14 <sanitizer sanitize="False"/>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
15 </param>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
16 <param name="units" label="Units" type="select" >
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
17 <sanitizer sanitize="False"/>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
18 <option value="?m" selected="true">metric (SI)</option>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
19 <option value="?u">non-metric (USCS)</option>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
20 </param>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
21 </inputs>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
22 <outputs>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
23 <data format="html" name="out_file1" label="${tool.name}: ${place}"/>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
24 </outputs>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
25 <tests>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
26 <test>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
27 <param name="place" value="Moon@1986-Oct-06"/>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
28 <output name="output1">
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
29 <assert_contents>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
30 <has_text_matching expression="N.*e.*w.* .*M.*o.*o.*n.* .*\+" />
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
31 <has_text_matching expression="2.* .* .*2.*:.*0.*5.*:.*5.*1" />
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
32 <has_text_matching expression="4.* .*1.*6.*:.*2.*9.*:.*5.*6" />
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
33 </assert_contents>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
34 </output>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
35 </test>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
36 </tests>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
37 <help><![CDATA[
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
38 HELP:
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
39 -----
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
40 Supported location types:
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
41 -------------------------
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
42 ::
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
43
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
44 "" # current location (ip adress)
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
45 paris # city name
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
46 muc # airport code (3 letters)
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
47 @stackoverflow.com # domain name
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
48 94107 # area codes (us only)
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
49
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
50 Special locations:
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
51 -------------------
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
52 ::
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
53
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
54 moon # Moon phase (add ,+US or ,+France for these cities)
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
55 moon@1999-Oct-02 # Moon phase on a particular date
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
56
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
57
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
58
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
59 --- wrapped by Aarif Mohamed Nazeer Batcha and Jochen Bick ---
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
60
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
61 ]]></help>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
62 <citations>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
63 <citation type="bibtex">
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
64 @misc{githubwttr.in,
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
65 author = {chubin},
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
66 year = {2015},
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
67 title = {wttr.in},
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
68 publisher = {GitHub},
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
69 journal = {GitHub repository},
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
70 url = {https://github.com/chubin/wttr.in},
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
71 }</citation>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
72 </citations>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
73
1
da03e96d1939 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit d46d41c5fec10407bd6b5cb77a11d9b43b82b95e
iuc
parents: 0
diff changeset
74 </tool>