

Wed Jul 16 17:20:32 CDT 2014

# Two bug
# 1) if the input parameter chain id does not exist in PDB file

   if( j != 1 )
    {
     cout<<"Not found "<< chain_id << " in  the chain in PDB: " << pdbfile<<endl;
     exit(1);
    }

# 2) if the alignment file include nothing 
#

   if(read_state == 0)
     {
         RMSDs.push_back(rmsd_null);
         continue;
     }


## Output similarity and overlap_size
#
#
# 2014/7/20
# Merge ZJF's version 


## 2014/7/22
##Rediculous error
 #   
      for(int i=0; i<3; i++)
       {
           std::cout<<decoy0.L_Chain.Chains_Centroid[i] << '\t' ;
ERROR:     fourteen_points[7][i]= decoy0.R_Chain.Chains_Centroid[i];
           fourteen_points[7][i]= decoy0.L_Chain.Chains_Centroid[i];
       }
       //  std::cout<<std::endl;

ERROR: for(int i=7; i<14; i++)
       for(int i=8; i<14; i++)
           for(int j=0; j<3; j++)
ERROR:         fourteen_points[i][j]=fourteen_points[0][j];
               fourteen_points[i][j]=fourteen_points[7][j];

## 2014/8/4
#bug fix
#RNA Chian may cause a peoblen with a memory confuse
#because that PDB file have a OP3 atom at the begin of the Chain 
#but functhion BIO_to_PDB has no code dealing  with the ATON
#so when read PDB to memory, OP3 must be exclude 
#protein.cpp line 4524 add one line 
if (strncmp( str + 13,"OP3",3) ==0 )
