Run.cns file is not in the run1 directory

I am trying to run haddock but it is not creating thr run.cns file in the run1 directory. Instead, I am getting the error as shown below.

runDir= ./run1
project . exists, run 1 does not exist
create the new run 1
Traceback (most recent call last):
File “/home/abwer/Downloads/haddock2.4-2022-01/Haddock/RunHaddock.py”, line 153, in
new[‘CRYO-EM_FILE’],
File “/home/abwer/Downloads/haddock2.4-2022-01/Haddock/Main/Setup.py”, line 210, in SetupNewProject
shutil.copy(filetocopy, runDir + ‘/tools’)
File “/home/abwer/Downloads/amber20/amber20/miniconda/envs/py2/lib/python2.7/shutil.py”, line 133, in copy
copyfile(src, dst)
File “/home/abwer/Downloads/amber20/amber20/miniconda/envs/py2/lib/python2.7/shutil.py”, line 96, in copyfile
with open(src, ‘rb’) as fsrc:
IOError: [Errno 21] Is a directory: ‘/home/abwer/Downloads/haddock2.4-2022-01/tools/haddock-tools’

Did you add the haddock-tools directory into the tools directory of your haddock installation?

Remove that dir (move it outside haddock) and try again