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
e012c524
Commit
e012c524
authored
Nov 15, 2016
by
Chloe Dequeker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix for interface output
parent
e8920575
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
fileIO.c
src/fileIO.c
+7
-5
No files found.
src/fileIO.c
View file @
e012c524
...
...
@@ -272,20 +272,22 @@ 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
* t_candid
*/
int
i
=
0
,
j
=
0
,
len
=
0
;
int
i
=
0
,
j
=
0
,
k
=
0
,
len
=
0
;
char
buf
[
15
];
for
(
i
=
0
;
i
<
sizeCand
;
i
++
){
if
(
t_candid
[
i
]
->
isCandidate
){
len
=
strlen
(
t_candid
[
i
]
->
idRes
);
k
=
0
;
for
(
j
=
0
;
j
<
len
;
j
++
){
if
(
t_candid
[
i
]
->
idRes
[
j
]
!=
' '
){
buf
[
j
]
=
t_candid
[
i
]
->
idRes
[
j
];
}
else
{
j
--
;
buf
[
k
]
=
t_candid
[
i
]
->
idRes
[
j
];
k
++
;
}
else
if
(
k
>
0
){
k
--
;
}
}
buf
[
len
]
=
'\0'
;
buf
[
k
]
=
'\0'
;
fprintf
(
output_stream
,
"'%s' '%c' "
,
buf
,
t_candid
[
i
]
->
chain
);
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