1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/9e90faf2cb1c/ changeset: 9e90faf2cb1c user: John Duddy date: 2011-11-02 22:15:08 summary: Fix signature of slit method affected #: 1 file diff -r 9a9479f7e53f31b7296dce641a8c3dd0ed2e230c -r 9e90faf2cb1c58b19dc715243f4766223a6b3a47 lib/galaxy/datatypes/data.py --- a/lib/galaxy/datatypes/data.py +++ b/lib/galaxy/datatypes/data.py @@ -462,15 +462,16 @@ dataset.peek = 'file does not exist' dataset.blurb = 'file purged from disk' - def split( input_files, subdir_generator_function, split_params): + def split( cls, input_datasets, subdir_generator_function, split_params): """ Split the input files by line. """ if split_params is None: return - if len(input_files) > 1: + if len(input_datasets) > 1: raise Exception("Text file splitting does not support multiple files") + input_files = [ds.file_name for ds in input_datasets] lines_per_file = None chunk_size = None @@ -534,7 +535,7 @@ part_file.close() raise f.close() - split = staticmethod(split) + split = classmethod(split) class LineCount( Text ): """ Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.