Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
INTBuilder
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chloe Dequeker
INTBuilder
Commits
9349157a
Commit
9349157a
authored
Dec 05, 2016
by
Chloe Dequeker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tweak in print_usage
parent
df933e01
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
2 deletions
+15
-2
param.c
src/param.c
+15
-2
No files found.
src/param.c
View file @
9349157a
...
@@ -28,12 +28,18 @@ void print_usage() {
...
@@ -28,12 +28,18 @@ void print_usage() {
" If nothing is specified, the current directory is used
\n
"
" If nothing is specified, the current directory is used
\n
"
"<-pose>............Desired conformation. Default will compute all conformations
\n
"
"<-pose>............Desired conformation. Default will compute all conformations
\n
"
"<--atom-res>.......If specified, will computed the interface at atom level
\n
"
"<--atom-res>.......If specified, will computed the interface at atom level
\n
"
"<-HCMD2>...........Means that the docking file is in the HCMD2 MAXDo format
\n
"
"<-MAXDo>...........Means that the docking file is in the original MAXDo format
\n
"
"<-noOutput>........Will prevent the program to output the docking interface
\n
"
"<-noOutput>........Will prevent the program to output the docking interface
\n
"
" Useful if you only want to use the '-outputPDB' option
\n
"
" Useful if you only want to use the '-outputPDB' option
\n
"
"<--force/-f>.......Will force the computation of the pause even in case of
\n
"
"<--force/-f>.......Will force the computation of the pause even in case of
\n
"
" huge number of clashes (threshold defined in struct.h)
\n
"
" huge number of clashes (threshold defined in struct.h)
\n
"
"--
\n
"
"Leaving this option blank means that the default format for the docking file
\n
"
"will be used.
\n
"
"<-HCMD2>...........Means that the docking file is in the HCMD2 MAXDo format
\n
"
"OR
\n
"
"<-MAXDo>...........Means that the docking file is in the original MAXDo format
\n
"
"OR
\n
"
"<-HEX>.............Means that the docking file is in the HEX format
\n
"
);
);
}
}
...
@@ -145,6 +151,13 @@ struct argLine* parseLineOfArgument(int argc, char** argv){
...
@@ -145,6 +151,13 @@ struct argLine* parseLineOfArgument(int argc, char** argv){
}
}
}
}
if
(
MAXDo
+
HCMD2
+
HEX
>
1
){
fprintf
(
stderr
,
"You must choose only one mode out of the three 'MAXDo', 'HCMD2' and 'HEX'
\n
"
);
if
(
!
print_help
)
print_usage
();
exit
(
EXIT_SUCCESS
);
}
if
(
dockingFile
==
NULL
&&
!
complexPDB
){
if
(
dockingFile
==
NULL
&&
!
complexPDB
){
fprintf
(
stderr
,
"The docking file has to be provided
\n\n
"
);
fprintf
(
stderr
,
"The docking file has to be provided
\n\n
"
);
if
(
!
print_help
)
if
(
!
print_help
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment