commit/galaxy-central: carlfeberhard: Fix to df2a994: remove debuggging statements
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/59b6f95bfdd5/ Changeset: 59b6f95bfdd5 User: carlfeberhard Date: 2014-08-28 15:49:00 Summary: Fix to df2a994: remove debuggging statements Affected #: 1 file diff -r df2a99433e850b7ba594994fece91fdc87c24181 -r 59b6f95bfdd51bcf6c7da17fb9ad2fd4ad7f3133 lib/galaxy/visualization/registry.py --- a/lib/galaxy/visualization/registry.py +++ b/lib/galaxy/visualization/registry.py @@ -229,14 +229,14 @@ Run a visualization's data_source tests to find out if it can be applied to the target_object. """ - log.debug( 'is_object_applicable( self, trans, %s, %s )', target_object, data_source_tests ) + #log.debug( 'is_object_applicable( self, trans, %s, %s )', target_object, data_source_tests ) for test in data_source_tests: test_type = test[ 'type' ] result_type = test[ 'result_type' ] test_result = test[ 'result' ] test_fn = test[ 'fn' ] - log.debug( '%s %s: %s, %s, %s, %s', str( target_object ), 'is_object_applicable', - test_type, result_type, test_result, test_fn ) + #log.debug( '%s %s: %s, %s, %s, %s', str( target_object ), 'is_object_applicable', + # test_type, result_type, test_result, test_fn ) if test_type == 'isinstance': # parse test_result based on result_type (curr: only datatype has to do this) @@ -254,7 +254,7 @@ #NOTE: tests are OR'd, if any test passes - the visualization can be applied if test_fn( target_object, test_result ): - log.debug( '\t test passed' ) + #log.debug( '\t test passed' ) return True return False 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