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