std::list<FileNameData>::const_iterator file;
for (file = fileNameOptions_.begin(); file != fileNameOptions_.end(); ++file)
{
- // FIXME: FF_NOT_READ_NODE should also skip all fexist() calls in
- // FileNameOption. However, it is not currently used, and other
- // commented out code for using it is also outdated, so left this for
- // later.
if (!bReadNode && (file->fnm->flag & ffREAD))
{
continue;
gmx::Options options(NULL, NULL);
gmx::FileNameOptionManager fileOptManager;
+ fileOptManager.disableInputOptionChecking(
+ FF(PCA_NOT_READ_NODE) || FF(PCA_DISABLE_INPUT_FILE_CHECKING));
options.addManager(&fileOptManager);
options.setDescription(gmx::ConstArrayRef<const char *>(desc, ndesc));