2 new commits in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/b8fef1dfa8e8/ Changeset: b8fef1dfa8e8 Branch: next-stable User: carlfeberhard Date: 2014-05-29 22:25:44 Summary: Silence log warnings when class names are not found in the visualizations registry applicability tests Affected #: 1 file diff -r 3edca70df09ded514c1e6a46701372638c4596a9 -r b8fef1dfa8e8eb5afdeaa96236a0a9990f7c532b lib/galaxy/visualization/registry.py --- a/lib/galaxy/visualization/registry.py +++ b/lib/galaxy/visualization/registry.py @@ -243,10 +243,11 @@ datatype_class_name = test_result test_result = trans.app.datatypes_registry.get_datatype_class_by_name( datatype_class_name ) if not test_result: - # warn if can't find class, but continue (with other tests) - log.warn( 'visualizations_registry cannot find class (%s)' + - ' for applicability test on: %s, id: %s', datatype_class_name, - target_object, getattr( target_object, 'id', '' ) ) + # but continue (with other tests) if can't find class by that name + #if self.debug: + # log.warn( 'visualizations_registry cannot find class (%s)' + + # ' for applicability test on: %s, id: %s', datatype_class_name, + # target_object, getattr( target_object, 'id', '' ) ) continue #NOTE: tests are OR'd, if any test passes - the visualization can be applied https://bitbucket.org/galaxy/galaxy-central/commits/675be4213255/ Changeset: 675be4213255 User: carlfeberhard Date: 2014-05-29 22:25:59 Summary: merge Affected #: 1 file diff -r 34d179b55c859f9c669c73733bde2684cf9d4a9f -r 675be4213255a51c84ff52973bc199fa6d2152a1 lib/galaxy/visualization/registry.py --- a/lib/galaxy/visualization/registry.py +++ b/lib/galaxy/visualization/registry.py @@ -243,10 +243,11 @@ datatype_class_name = test_result test_result = trans.app.datatypes_registry.get_datatype_class_by_name( datatype_class_name ) if not test_result: - # warn if can't find class, but continue (with other tests) - log.warn( 'visualizations_registry cannot find class (%s)' + - ' for applicability test on: %s, id: %s', datatype_class_name, - target_object, getattr( target_object, 'id', '' ) ) + # but continue (with other tests) if can't find class by that name + #if self.debug: + # log.warn( 'visualizations_registry cannot find class (%s)' + + # ' for applicability test on: %s, id: %s', datatype_class_name, + # target_object, getattr( target_object, 'id', '' ) ) continue #NOTE: tests are OR'd, if any test passes - the visualization can be applied 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.