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
dd294e42
Commit
dd294e42
authored
Nov 18, 2016
by
Chloe Dequeker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modif : number of conf was 1 too much
parent
e012c524
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
INTBuilder.c
src/INTBuilder.c
+3
-1
fileIO.c
src/fileIO.c
+2
-1
No files found.
src/INTBuilder.c
View file @
dd294e42
...
...
@@ -267,6 +267,8 @@ int main(int argc, char** argv){
dbeta
=
dock_res
->
beta
[
target_conf
]
-
beta
;
dgamma
=
dock_res
->
gamma
[
target_conf
]
-
gamma
;
printf
(
"dist : %f
\n
"
,
dock_res
->
distCenters
[
target_conf
]);
newPDB
=
rotate_sophie
(
pdbL
,
pdbR
,
NULL
,
dock_res
->
distCenters
[
target_conf
],
dock_res
->
theta
[
target_conf
],
dock_res
->
phi
[
target_conf
],
dalpha
,
dbeta
,
dgamma
,
dock_res
,
target_conf
);
...
...
@@ -286,7 +288,7 @@ int main(int argc, char** argv){
freePDB
(
newPDB
);
newPDB
=
NULL
;
}
else
{
/* For all conformations */
for
(
i
=
1
;
i
<
dock_res
->
nbConf
;
i
++
){
for
(
i
=
1
;
i
<
=
dock_res
->
nbConf
;
i
++
){
if
(
dock_res
->
t_conf
[
i
]
==
0
){
/* No conformation was found for this index */
...
...
src/fileIO.c
View file @
dd294e42
...
...
@@ -28,7 +28,7 @@ struct docking_results* getDataForComplex(){
if
(
buf3
>
numberOfConf
)
numberOfConf
=
(
int
)
buf3
;
}
numberOfConf
++
;
//
numberOfConf++;
rewind
(
condFile_stream
);
/* This is with the first MAXDo format */
...
...
@@ -40,6 +40,7 @@ struct docking_results* getDataForComplex(){
* allocate a structure large enough
*/
dock_res
=
allocate_dockingResults
(
numberOfConf
);
printf
(
"nConf : %d
\n
"
,
numberOfConf
);
while
(
!
feof
(
condFile_stream
)){
...
...
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