Skip to content

Commit

Permalink
allow test to run on its own with no --bed or --gff
Browse files Browse the repository at this point in the history
  • Loading branch information
daler committed Mar 14, 2013
1 parent d67a7f8 commit e8d1f2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pybedtools/scripts/peak_pie.py
Expand Up @@ -139,7 +139,7 @@ def main():
'be "out.png" in current directory.')
args = ap.parse_args()

if not (args.bed and args.gff):
if not (args.bed and args.gff) and not args.test:
ap.print_help()
sys.exit(1)

Expand Down

0 comments on commit e8d1f2f

Please sign in to comment.