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
919a4b24
Commit
919a4b24
authored
Nov 15, 2016
by
Chloe Dequeker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix for PDB output, ID res had a wrong format
parent
ca558694
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
fileIO.c
src/fileIO.c
+10
-2
No files found.
src/fileIO.c
View file @
919a4b24
...
@@ -272,11 +272,19 @@ void write_candidate(struct residue** t_candid, int sizeCand, FILE* output_strea
...
@@ -272,11 +272,19 @@ void write_candidate(struct residue** t_candid, int sizeCand, FILE* output_strea
/* Output the residues selected as being part of the interface in the array
/* Output the residues selected as being part of the interface in the array
* t_candid
* t_candid
*/
*/
int
i
=
0
;
int
i
=
0
,
j
=
0
,
len
=
0
;
char
buf
[
15
];
for
(
i
=
0
;
i
<
sizeCand
;
i
++
){
for
(
i
=
0
;
i
<
sizeCand
;
i
++
){
if
(
t_candid
[
i
]
->
isCandidate
){
if
(
t_candid
[
i
]
->
isCandidate
){
fprintf
(
output_stream
,
"'%s' '%c' "
,
strtok
(
t_candid
[
i
]
->
idRes
,
" "
),
t_candid
[
i
]
->
chain
);
len
=
strlen
(
t_candid
[
i
]
->
idRes
);
for
(
j
=
0
;
j
<
len
;
j
++
){
if
(
t_candid
[
i
]
->
idRes
[
j
]
!=
' '
){
buf
[
j
]
=
t_candid
[
i
]
->
idRes
[
j
];
}
}
buf
[
len
]
=
'\0'
;
fprintf
(
output_stream
,
"'%s' '%c' "
,
buf
,
t_candid
[
i
]
->
chain
);
fflush
(
output_stream
);
fflush
(
output_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