Commit fff4caff authored by Robin Erich Muench's avatar Robin Erich Muench

project_name bug fix

parent c312d8e8
......@@ -231,6 +231,7 @@ def main():
help='Number of bins to split ref into')
args = parser.parse_args()
args.project_dir = args.project_dir.rstrip('/')
if not path.isfile(args.ref_db):
stderr.write('''
ERROR: No reference database or annotation file found!"
......@@ -254,6 +255,7 @@ SOLUTION: make\n\n'''.format(basedir))
if path.exists(args.project_dir) and not args.print_commands:
stderr.write("Project directory '{}' already exists\n\n\n".format(args.project_dir))
exit(1)
create_directories(args.project_dir)
compute_opt(args)
get_header(args)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment