Skip to content

Commit

Permalink
fixed bug: dont run filterFunc twice
Browse files Browse the repository at this point in the history
  • Loading branch information
cjlee112 committed Apr 12, 2012
1 parent a96dd7d commit 6143a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phenoseq/analyze.py
Expand Up @@ -169,7 +169,7 @@ def read_tag_files(tagFiles, tagfunc=get_filestem, filterFunc=filter_snps,
if replicatefunc:
repFiles = replicatefunc(tag)
snps = list(filterFunc(snps, repFiles, *args))
if filterFunc:
elif filterFunc:
snps = list(filterFunc(snps, *args))
l += snps
return l
Expand Down

0 comments on commit 6143a57

Please sign in to comment.