commit/galaxy-central: dannon: Remove unused 'chunks' variable calculation from get_sequences_per_file
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/ce2528c40e4d/ Changeset: ce2528c40e4d User: dannon Date: 2013-08-30 04:32:20 Summary: Remove unused 'chunks' variable calculation from get_sequences_per_file Affected #: 1 file diff -r 31b4f32c38443343612b54cc879739bf7bc019f4 -r ce2528c40e4d89642bc98c2aff7bdc6f524e4f03 lib/galaxy/datatypes/sequence.py --- a/lib/galaxy/datatypes/sequence.py +++ b/lib/galaxy/datatypes/sequence.py @@ -116,8 +116,6 @@ elif split_params['split_mode'] == 'to_size': # loop through the sections and calculate the number of sequences chunk_size = long(split_params['split_size']) - - chunks = total_sequences / chunk_size rem = total_sequences % chunk_size sequences_per_file = [chunk_size for i in range(total_sequences / chunk_size)] # TODO: Should we invest the time in a better way to handle small remainders? 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.
participants (1)
-
commits-noreply@bitbucket.org