@@ -245,49 +245,6 @@ def get_dict(self):
245
245
return dict_out
246
246
247
247
248
- class CommandLineBinding (object ):
249
- '''
250
- Describes how the handle an input or an argument.
251
- '''
252
-
253
- def __init__ (self , load_contents = False , position = None , prefix = None , separate = True ,
254
- item_separator = None , value_from = None , shell_quote = True ):
255
- '''
256
- :param load_contents: Read up to the fist 64 KiB of text from the file and
257
- place it in the "contents" field of the file object
258
- :type load_contents: BOOLEAN
259
- :param position: The sorting key
260
- :type positio: INT
261
- :param prefix: Command line prefix to add before the value
262
- :type prefix: STRING
263
- :param separate:
264
- :type separate: BOOLEAN
265
- :param item_separator: Join the array elements into a single string separated by this item
266
- :type item_separator: STRING
267
- :param value_from: Use this as the value
268
- :type value_from: STRING
269
- :param shell_quote: Value is quoted on the command line
270
- :type shell_quote: BOOLEAN
271
- '''
272
- self .loadContents = load_contents
273
- self .position = position
274
- self .prefix = prefix
275
- self .separate = separate
276
- self .itemSeparator = item_separator
277
- self .valueFrom = value_from
278
- self .shellQuote = shell_quote
279
-
280
- def get_dict (self ):
281
- '''
282
- Transform the object to a [DICT] to write CWL.
283
-
284
- :return: dictionnary of the object
285
- :rtype: DICT
286
- '''
287
- dict_binding = {k : v for k , v in vars (self ).items () if v is not None }
288
- return dict_binding
289
-
290
-
291
248
class CommandOutputBinding (object ):
292
249
'''
293
250
Describes how to generate an output parameter based on the files produced.
0 commit comments