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
0707ce37
Commit
0707ce37
authored
Oct 29, 2016
by
Chloe Dequeker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update the maximum number of atom. Caused a bug
parent
ac74a3f4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
rotation.c
src/rotation.c
+2
-2
struct.h
src/struct.h
+1
-1
No files found.
src/rotation.c
View file @
0707ce37
...
@@ -181,11 +181,11 @@ void getAnglesFromCA1andCA5_sophie(struct pdb_values* pdb, float* alpha, float*
...
@@ -181,11 +181,11 @@ void getAnglesFromCA1andCA5_sophie(struct pdb_values* pdb, float* alpha, float*
c_b
=
p1
/
r1
;
c_b
=
p1
/
r1
;
s_b
=
z1
/
r1
;
s_b
=
z1
/
r1
;
*
(
alpha
)
=
acos
(
c_a
);
*
alpha
=
acos
(
c_a
);
if
(
s_a
<
0
.
0
)
if
(
s_a
<
0
.
0
)
*
alpha
=
-
(
*
alpha
);
*
alpha
=
-
(
*
alpha
);
*
(
beta
)
=
acos
(
c_b
);
*
beta
=
acos
(
c_b
);
if
(
s_b
<
0
.
0
)
if
(
s_b
<
0
.
0
)
*
beta
=
-
(
*
beta
);
*
beta
=
-
(
*
beta
);
...
...
src/struct.h
View file @
0707ce37
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
*/
*/
#define COEF_DEGREE_TO_RADIAN 0.017453293
/* Coefficient to convert degrees to radians */
#define COEF_DEGREE_TO_RADIAN 0.017453293
/* Coefficient to convert degrees to radians */
#define NB_MAX_ATOM_PER_RES
2
0
/* No residue has more atoms than that */
#define NB_MAX_ATOM_PER_RES
10
0
/* No residue has more atoms than that */
#define DIST_FOR_CONTACT 10
/* Distance under which we consider
#define DIST_FOR_CONTACT 10
/* Distance under which we consider
* two residues are in contact */
* two residues are in contact */
...
...
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