You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: types_extender.py
+6-8Lines changed: 6 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,13 @@
4
4
5
5
Assumptions
6
6
i) The data structure is <ROOT>/<POCKET>/<FILES>
7
-
ii) The name of the file containing the types lines to add is <ligname><SUFFIX> for each ligand in the pocket.
7
+
ii) The name of the file containing the types lines to add is <NAME> for each pocket in the types file.
8
8
iii) the input types file has <POCKET>/<receptor file> from which to parse the needed pockets from.
9
9
10
10
INPUT
11
11
i) Original types file
12
12
ii) New types filename
13
-
iii) Suffix of file(s) in Pocket that contains the lines to add
13
+
iii) Name of file in Pocket that contains the lines to add
14
14
iv) The ROOT of the data directory
15
15
16
16
OUTPUT
@@ -28,7 +28,7 @@ def check_exists(filename):
28
28
parser=argparse.ArgumentParser(description='Add lines to types file and create a new one. Assumes data file structure is ROOT/POCKET/FILES.')
29
29
parser.add_argument('-i','--input',type=str,required=True,help='Types file you will be extending.')
30
30
parser.add_argument('-o','--output',type=str,required=True,help='Name of the extended types file.')
31
-
parser.add_argument('-s','--suffix',type=str,required=True,help='Suffix of the file(s) containing the lines to add for a given pocket. This is the output of generate_counterexample_typeslines.py.')
31
+
parser.add_argument('-n','--name',type=str,required=True,help='Name of the file containing the lines to add for a given pocket. This is the output of generate_counterexample_typeslines.py.')
32
32
parser.add_argument('-r','--root',default='',help='Root of the data directory. Defaults to current working directory.')
0 commit comments