mirror of
http://43.156.76.180:8026/YuuMJ/EukPhylo.git
synced 2025-12-27 18:30:24 +08:00
output folder error solved
This commit is contained in:
parent
13af646e65
commit
a60fb89a45
@ -34,9 +34,7 @@ args = parser.parse_args()
|
|||||||
#Creating an output folder
|
#Creating an output folder
|
||||||
if not os.path.isdir(args.output + '/GuidanceOutput'):
|
if not os.path.isdir(args.output + '/GuidanceOutput'):
|
||||||
os.mkdir(args.output + '/GuidanceOutput')
|
os.mkdir(args.output + '/GuidanceOutput')
|
||||||
elif args.force:
|
elif not args.force:
|
||||||
os.system('rm -r ' + args.output + '/GuidanceOutput/*')
|
|
||||||
else:
|
|
||||||
print('\nERROR: An output folder already exists at the given path. Delete it or run in --force mode\n')
|
print('\nERROR: An output folder already exists at the given path. Delete it or run in --force mode\n')
|
||||||
quit()
|
quit()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user