# Run.cns file is not in the run1 directory

**URL:** <https://ask.bioexcel.eu/t/run-cns-file-is-not-in-the-run1-directory/4594>\
**Category:** Uncategorized\
**Created:** [October 10, 2023, 4:53pm UTC](https://ask.bioexcel.eu/t/run-cns-file-is-not-in-the-run1-directory/4594 "2023-10-10T16:53:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gaurav.sharmapsit](https://dub1.discourse-cdn.com/flex013/user_avatar/ask.bioexcel.eu/gaurav.sharmapsit/32/689_2.png) [@gaurav.sharmapsit](https://ask.bioexcel.eu/u/gaurav.sharmapsit)\
**Post date:** [October 10, 2023, 4:53pm UTC](https://ask.bioexcel.eu/t/run-cns-file-is-not-in-the-run1-directory/4594/1 "2023-10-10T16:53:41Z")

</div>

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’

---

<div class="post-metadata">

**Author:** ![amjjbonvin](https://dub1.discourse-cdn.com/flex013/user_avatar/ask.bioexcel.eu/amjjbonvin/32/23_2.png) [@amjjbonvin](https://ask.bioexcel.eu/u/amjjbonvin)\
**Post date:** [October 11, 2023, 6:29am UTC](https://ask.bioexcel.eu/t/run-cns-file-is-not-in-the-run1-directory/4594/2 "2023-10-11T06:29:23Z")

</div>

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
