mirror of
http://43.156.76.180:8026/YuuMJ/EukPhylo.git
synced 2025-12-28 05:20:25 +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
|
||||
if not os.path.isdir(args.output + '/GuidanceOutput'):
|
||||
os.mkdir(args.output + '/GuidanceOutput')
|
||||
elif args.force:
|
||||
os.system('rm -r ' + args.output + '/GuidanceOutput/*')
|
||||
else:
|
||||
elif not args.force:
|
||||
print('\nERROR: An output folder already exists at the given path. Delete it or run in --force mode\n')
|
||||
quit()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user