Skip to content
Snippets Groups Projects
Commit dcd0ac75 authored by Gareth Tribello's avatar Gareth Tribello
Browse files

Fixed typos in spelling of UPPER_CUTOFF

parent 8fa1e0b5
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ void DRMSD::read( const PDB& pdb ){
parseFlag("NOPBC",nopbc);
parse("LOWER_CUTOFF",lower,true);
parse("UPPER_CUTTOFF",upper,true);
parse("UPPER_CUTOFF",upper,true);
setBoundsOnDistances( !nopbc, lower, upper );
setup_targets();
}
......
......@@ -48,16 +48,16 @@ void MultiDomainRMSD::read( const PDB& pdb ){
std::string num; blocks.resize( nblocks+1 ); blocks[0]=0;
for(unsigned i=0;i<nblocks;++i) blocks[i+1]=pdb.getAtomBlockEnds()[i];
double lower, upper;
if( !parse("LOWER_CUTOFF",lower,true) ) lower=0.0;
if( !parse("UPPER_CUTTOFF",upper,true) ) upper=std::numeric_limits<double>::max( );
double lower=0.0, upper=std::numeric_limits<double>::max( );
parse("LOWER_CUTOFF",lower,true);
parse("UPPER_CUTOFF",upper,true);
for(unsigned i=1;i<=nblocks;++i){
Tools::convert(i,num);
if( ftype=="RMSD" ){
parse("TYPE"+num, ftype );
if( !parse("LOWER_CUTOFF"+num,lower,true) ) lower=0.0;
if( !parse("UPPER_CUTTOFF"+num,upper,true) ) upper=std::numeric_limits<double>::max( );
parse("LOWER_CUTOFF"+num,lower,true);
parse("UPPER_CUTOFF"+num,upper,true);
}
domains.push_back( metricRegister().create<SingleDomainRMSD>( ftype ) );
positions.resize( blocks[i] - blocks[i-1] + 1 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment