From 1830adfb3086bc384b766809d47de9c59493db74 Mon Sep 17 00:00:00 2001 From: Nicola Soranzo Date: Wed, 17 Jun 2015 19:37:45 +0100 Subject: [PATCH] Fixes for @jmchilton and @dannon. --- tools/evolution/codingSnps_filter.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/evolution/codingSnps_filter.py b/tools/evolution/codingSnps_filter.py index ef2f8a6cd2d..a0a04a1c13c 100755 --- a/tools/evolution/codingSnps_filter.py +++ b/tools/evolution/codingSnps_filter.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # runs after the job (and after the default post-filter) -from galaxy.tools.parameters.basic import DataToolParameter +from galaxy.tools.parameters import DataToolParameter # Older py compatibility try: set() @@ -28,8 +28,8 @@ def validate_input( trans, error_map, param_values, page_param_map ): if param.metadata.strandCol is not None: int( param.metadata.strandCol ) except: - error_msg = "The attributes of this dataset are not properly set. " + \ - "Click the pencil icon in the history item to set the chrom, start, end and strand columns." + error_msg = ("The attributes of this dataset are not properly set. " + "Click the pencil icon in the history item to set the chrom, start, end and strand columns.") error_map[name] = error_msg data_param_names.add( name ) if len( dbkeys ) > 1: