From: Sam H. <sh...@nc...> - 2016-08-30 00:18:31
|
Hiya, Opal users. I've just installed Opal, it's running fine, but I'm mystified as to how I can get my uploaded file placed on the command line of my command-line app using the stock webapp simple form. I see that the file is called inputFile[0] on the form, but I've tried everything I can think of, and my app always errors as if it has no input. Here's my deploy XML. I've tried with and without the untaggedParams block. <appConfig xmlns="http://nbcr.sdsc.edu/opal/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <metadata appName="meme"> <usage><![CDATA[meme fasta-file]]></usage> <untaggedParams> <param> <id>inputFile[0]</id> <paramType>FILE</paramType> <ioType>INPUT</ioType> <required>true</required> <textDesc><![CDATA[Input FASTA file.]]></textDesc> </param> </untaggedParams> </metadata> <binaryLocation>/home/shokin/meme/bin/meme</binaryLocation> <defaultArgs></defaultArgs> <jobManagerFQCN>edu.sdsc.nbcr.opal.manager.ForkJobManager</jobManagerFQCN> <parallel>false</parallel> </appConfig> The file is successfully uploaded to webapps/ROOT/appmeme#/ stdout.txt is always empty; stderr.txt has the help output from meme when you run it without any parameters. Thanks for the help! I'm planning to use Opal to wrap meme so I can access it via Java calls from my InterMine instances. |