comparison pg-import.xml @ 0:2c43bac3579f draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
author bgruening
date Wed, 24 Apr 2019 06:11:25 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:2c43bac3579f
1 <tool id="pg_import" name="Postgresql" version="@PG_VERSION@">
2 <description>import sql dump</description>
3 <macros>
4 <import>macros.xml</import>
5 </macros>
6 <expand macro="requirements" />
7 <command detect_errors="aggressive"><![CDATA[
8 @PG_SETUP@ &&
9 ls -l ./postgresql &&
10 @PSQL@ -f '$infile' -L logfile.log &&
11 @PG_STOP@ &&
12 @ARCHIVE_DATABASE@ &&
13 cat logfile.log
14 ]]>
15 </command>
16 <inputs>
17 <param format="txt" name="infile" type="data" label="Input SQL dump" />
18 </inputs>
19 <outputs>
20 <data format="postgresql" name="outfile" from_work_dir="postgresql_out.tar.bz2" />
21 </outputs>
22 <tests>
23 <test>
24 <param name="infile" value="init-galaxy-db.sql.in" ftype="txt" />
25 <output file="pg_import_result1.pg.tar.bz2" name="outfile" ftype="postgresql" compare="sim_size" delta="200000" />
26 </test>
27 </tests>
28 <help>
29 <![CDATA[
30
31 @HELP_FOOTER@
32
33 ]]>
34 </help>
35 <expand macro="citations" />
36 </tool>