1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/82605b688d87/ Changeset: 82605b688d87 User: carlfeberhard Date: 2014-04-19 00:04:13 Summary: Improve visualization registry warning info when datatype class not found by lookup Affected #: 1 file diff -r 6de936f80658bbfaf0140f262628afd5e03ce0d7 -r 82605b688d874c0472fd299dbf0485eff10c397f lib/galaxy/visualization/registry.py --- a/lib/galaxy/visualization/registry.py +++ b/lib/galaxy/visualization/registry.py @@ -240,10 +240,13 @@ # parse test_result based on result_type (curr: only datatype has to do this) if result_type == 'datatype': # convert datatypes to their actual classes (for use with isinstance) - test_result = trans.app.datatypes_registry.get_datatype_class_by_name( test_result ) + 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', test_result ) + 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.