Skip to content
Snippets Groups Projects
Commit fff4caff authored by Robin Erich Muench's avatar Robin Erich Muench
Browse files

project_name bug fix

parent c312d8e8
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment