-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathInstall_CapiPy.bat
More file actions
21 lines (19 loc) · 834 Bytes
/
Copy pathInstall_CapiPy.bat
File metadata and controls
21 lines (19 loc) · 834 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@echo off
ECHO Step 1/3: Creating vCapiPy environment...
CALL conda env create -f ncfiles/vCapiPy.yml
ECHO Environment creation finished!
ECHO ____________________________________________________________________________
TIMEOUT /t 3 /nobreak > NUL
ECHO Step 2/3: File modification to ensure CapiPy's correct operation...
MOVE %~dp0\ncfiles\CapiPy.bat %~dp0\ > NUL
SET /p LICENSE="Enter your MODELLER license (https://salilab.org/modeller/registration.html):"
CALL python ./ncfiles/file_modification.py %1 %LICENSE% > CON
ECHO File modification finished...
TIMEOUT /t 3 /nobreak > NUL
ECHO ____________________________________________________________________________
CALL cd CapiPy
CALL tar.exe -cf CapiPy.zip *
CALL cd ..
MOVE %~dp0\CapiPy\CapiPy.zip %~dp0\ > NUL
ECHO Installation complete. Check both log files for errors.
pause