Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix linting of gff_filter_by_attribute. #3324

Merged
merged 1 commit into from Dec 16, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion tools/filters/gff/gff_filter_by_attribute.py
Expand Up @@ -6,8 +6,9 @@
from __future__ import division, print_function

import sys
from json import loads

from ast import Module, parse, walk
from json import loads

AST_NODE_TYPE_WHITELIST = [
'Expr', 'Load', 'Str', 'Num', 'BoolOp', 'Compare', 'And', 'Eq', 'NotEq',
Expand Down Expand Up @@ -152,6 +153,7 @@ def check_expression( text ):

return True


#
# Helper functions.
#
Expand Down
3 changes: 2 additions & 1 deletion tools/filters/gff/gff_filter_by_feature_count.py
Expand Up @@ -9,10 +9,11 @@

import sys

from ast import Module, parse, walk

from bx.intervals.io import GenomicInterval

from galaxy.datatypes.util.gff_util import GFFReaderWrapper
from ast import Module, parse, walk

AST_NODE_TYPE_WHITELIST = [
'Expr', 'Load', 'Str', 'Num', 'BoolOp', 'Compare', 'And', 'Eq', 'NotEq',
Expand Down