mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Also fix Python3 compatibility. Remove unused method galaxy.tools.parameters.sanitize.ToolParameterSanitizer.restore_param() .
18 lines
352 B
Python
18 lines
352 B
Python
#!/usr/bin/env python
|
|
from __future__ import print_function
|
|
|
|
import os
|
|
import sys
|
|
|
|
from common import submit
|
|
|
|
try:
|
|
data = {}
|
|
data[ 'xml_text' ] = open( sys.argv[3] ).read()
|
|
except IndexError:
|
|
print('usage: %s key url form_xml_description_file' % os.path.basename( sys.argv[0] ))
|
|
sys.exit( 1 )
|
|
|
|
|
|
submit( sys.argv[1], sys.argv[2], data )
|