mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
allow using OpenRefine without an input
This commit is contained in:
committed by
John Chilton
parent
9f31fe3e93
commit
72805ef99c
@@ -32,20 +32,26 @@ done
|
||||
</configfiles>
|
||||
<command detect_errors="aggressive"><![CDATA[
|
||||
|
||||
cp '$infile' /import/input.tabular &&
|
||||
#if $infile:
|
||||
cp '$infile' /import/input.tabular &&
|
||||
#end if
|
||||
|
||||
cat '$start_openrefine' &&
|
||||
bash '$start_openrefine' &&
|
||||
|
||||
## Createnew project with the dataset
|
||||
cd /refine-python &&
|
||||
python openrefine_create_project_API.py '/import/input.tabular' &&
|
||||
|
||||
#if $infile:
|
||||
python openrefine_create_project_API.py '/import/input.tabular' &&
|
||||
#end if
|
||||
|
||||
tail -f /dev/null
|
||||
|
||||
]]>
|
||||
</command>
|
||||
<inputs>
|
||||
<param name="infile" type="data" format="tabular" label="tabular file"/>
|
||||
<param name="infile" type="data" format="tabular,tsv" optional="true" label="Input file in tabular format"/>
|
||||
</inputs>
|
||||
<outputs>
|
||||
<data name="outfile" format="tabular" />
|
||||
@@ -75,3 +81,4 @@ Example input file (TAB separated)::
|
||||
]]>
|
||||
</help>
|
||||
</tool>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user