annotate simple_weather.xml @ 4:926d12797549 draft default tip

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit e7f5b5c72aa6e3bfe798e1b13dbb88a094f64003"
author iuc
date Tue, 28 Jan 2020 06:41:06 -0500
parents db98031b6691
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
926d12797549 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit e7f5b5c72aa6e3bfe798e1b13dbb88a094f64003"
iuc
parents: 3
diff changeset
1 <tool id="simple_weather" name="SimpleWeather" version="0.1.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>
4
926d12797549 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit e7f5b5c72aa6e3bfe798e1b13dbb88a094f64003"
iuc
parents: 3
diff changeset
3 <requirement type="package" version="7.65.3">curl</requirement>
926d12797549 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit e7f5b5c72aa6e3bfe798e1b13dbb88a094f64003"
iuc
parents: 3
diff changeset
4 <requirement type="package" version="5.0.1">gawk</requirement>
0
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[
2
1df8209158ed planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit c64126e0c691e7f4a50bf26bb92d962c4c1bd1b7
iuc
parents: 1
diff changeset
10 curl 'http://wttr.in/$place$units' 2>/dev/null | sh '$__tool_directory__/ansi2html.sh' > '$out_file1'
0
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>
2
1df8209158ed planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit c64126e0c691e7f4a50bf26bb92d962c4c1bd1b7
iuc
parents: 1
diff changeset
13 <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">
0
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>
2
1df8209158ed planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit c64126e0c691e7f4a50bf26bb92d962c4c1bd1b7
iuc
parents: 1
diff changeset
16 <param name="units" type="select" label="Units">
0
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>
2
1df8209158ed planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit c64126e0c691e7f4a50bf26bb92d962c4c1bd1b7
iuc
parents: 1
diff changeset
23 <data name="out_file1" format="html" label="${tool.name}: ${place}"/>
0
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"/>
2
1df8209158ed planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit c64126e0c691e7f4a50bf26bb92d962c4c1bd1b7
iuc
parents: 1
diff changeset
28 <output name="out_file1">
0
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.* .*\+" />
3
db98031b6691 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit 8b55cf588bbade90b7a5dad2a7a2227ce6ba2fc2"
iuc
parents: 2
diff changeset
31 <has_n_lines n="325" />
0
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
32 </assert_contents>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
33 </output>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
34 </test>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
35 </tests>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
36 <help><![CDATA[
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
37 HELP:
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
38 -----
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
39 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
40 -------------------------
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
41 ::
2
1df8209158ed planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit c64126e0c691e7f4a50bf26bb92d962c4c1bd1b7
iuc
parents: 1
diff changeset
42
0
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
43 "" # 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
44 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
45 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
46 @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
47 94107 # area codes (us only)
2
1df8209158ed planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit c64126e0c691e7f4a50bf26bb92d962c4c1bd1b7
iuc
parents: 1
diff changeset
48
0
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
49 Special locations:
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
50 -------------------
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
51 ::
2
1df8209158ed planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit c64126e0c691e7f4a50bf26bb92d962c4c1bd1b7
iuc
parents: 1
diff changeset
52
0
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
53 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
54 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
55
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
56 --- 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
57 ]]></help>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
58 <citations>
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
59 <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
60 @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
61 author = {chubin},
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
62 year = {2015},
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
63 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
64 publisher = {GitHub},
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
65 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
66 url = {https://github.com/chubin/wttr.in},
2
1df8209158ed planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit c64126e0c691e7f4a50bf26bb92d962c4c1bd1b7
iuc
parents: 1
diff changeset
67 }
1df8209158ed planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit c64126e0c691e7f4a50bf26bb92d962c4c1bd1b7
iuc
parents: 1
diff changeset
68 </citation>
0
d2dd051f072b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit daa27cb2061f0d1cfd0f9bdc55e7073c2543f719
iuc
parents:
diff changeset
69 </citations>
1
da03e96d1939 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/weather_app commit d46d41c5fec10407bd6b5cb77a11d9b43b82b95e
iuc
parents: 0
diff changeset
70 </tool>