Commit 0707ce37 by Chloe Dequeker

Update the maximum number of atom. Caused a bug

parent ac74a3f4
...@@ -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);
......
...@@ -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 20 /* No residue has more atoms than that */ #define NB_MAX_ATOM_PER_RES 100 /* 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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment