| 110 | 
  | 
 | 
| 111 | 
  | 
  if( nTotObjs != simnfo->getTotIntegrableObjects() ){ | 
| 112 | 
  | 
    sprintf( painCave.errMsg, | 
| 113 | 
< | 
             "Initialize from File error. %s n_atoms, %d, " | 
| 114 | 
< | 
             "does not match the BASS file's n_atoms, %d.\n", | 
| 113 | 
> | 
             "Initialize from File error. %s nIntegrable, %d, " | 
| 114 | 
> | 
             "does not match the meta-data file's nIntegrable, %d.\n", | 
| 115 | 
  | 
             c_in_name, nTotObjs, simnfo->getTotIntegrableObjects()); | 
| 116 | 
  | 
    painCave.isFatal = 1; | 
| 117 | 
  | 
    simError(); | 
| 191 | 
  | 
 | 
| 192 | 
  | 
    nItems = atoi( read_buffer ); | 
| 193 | 
  | 
 | 
| 194 | 
< | 
    // Check to see that the number of integrable objects  in the intial configuration file is the | 
| 195 | 
< | 
    // same as declared in simBass. | 
| 194 | 
> | 
    // Check to see that the number of integrable objects in the | 
| 195 | 
> | 
    // intial configuration file is the same as derived from the | 
| 196 | 
> | 
    // meta-data file. | 
| 197 | 
  | 
 | 
| 198 | 
  | 
    if( nTotObjs != nItems){ | 
| 199 | 
  | 
      sprintf( painCave.errMsg, | 
| 200 | 
< | 
               "Initialize from File error. %s n_atoms, %d, " | 
| 201 | 
< | 
               "does not match the BASS file's n_atoms, %d.\n", | 
| 200 | 
> | 
               "Initialize from File error. %s nIntegrable, %d, " | 
| 201 | 
> | 
               "does not match the meta-data file's nIntegrable, %d.\n", | 
| 202 | 
  | 
               c_in_name, nTotObjs, simnfo->getTotIntegrableObjects()); | 
| 203 | 
  | 
      haveError= 1; | 
| 204 | 
  | 
      simError(); | 
| 372 | 
  | 
  if( strcmp( foo, sd->getType() ) ){ | 
| 373 | 
  | 
    sprintf( painCave.errMsg, | 
| 374 | 
  | 
             "Initialize from file error.  Does not" | 
| 375 | 
< | 
             " match the BASS atom %s.\n", | 
| 375 | 
> | 
             " match the meta-data atom %s.\n", | 
| 376 | 
  | 
             sd->getType() ); | 
| 377 | 
  | 
    return strdup( painCave.errMsg ); | 
| 378 | 
  | 
  } |