42 |
|
* |
43 |
|
* Created by Charles F. Vardeman II on 10 Apr 2006. |
44 |
|
* @author Charles F. Vardeman II |
45 |
< |
* @version $Id: randomBuilder.cpp,v 1.6 2006-10-10 18:34:12 gezelter Exp $ |
45 |
> |
* @version $Id: randomBuilder.cpp,v 1.7 2006-10-18 19:35:07 gezelter Exp $ |
46 |
|
* |
47 |
|
*/ |
48 |
|
|
388 |
|
|
389 |
|
oldMdFile.close(); |
390 |
|
newMdFile.close(); |
391 |
+ |
|
392 |
+ |
if (i != nMol.size()) { |
393 |
+ |
sprintf(painCave.errMsg, "Couldn't replace the correct number of nMol\n" |
394 |
+ |
"\tstatements in component blocks. Make sure that all\n" |
395 |
+ |
"\tcomponents in the template file have nMol=1"); |
396 |
+ |
painCave.isFatal = 1; |
397 |
+ |
simError(); |
398 |
+ |
} |
399 |
+ |
|
400 |
|
} |
401 |
|
|