Open wandell opened 7 years ago
Hi Brian,
You p-struct is missing an entry for the listingScript, the script which lists the directories for the various validation files. It should look like the following, adapted to your environment. If you want to upload validation data, the generateGroundTruthDataIfNotFound
flag should be set to true.
Please let me know if the issue persists after this correction.
Best, Nicolas
p = struct(...
'projectName', 'isetbio', ... % The project's name (also the preferences group name)
'validationRootDir', fullfile(isetbioRootPath, 'validation'), ... % Directory location where the 'scripts' subdirectory resides.
'alternateFastDataDir', '', ... % Alternate FAST (hash) data directory location. Specify '' to use the default location, i.e., $validationRootDir/data/fast
'alternateFullDataDir', '', ... % Alternate FULL data directory location. Specify '' to use the default location, i.e., $validationRootDir/data/full
'useRemoteDataToolbox', true, ... % If true use Remote Data Toolbox to fetch full validation data on demand.
'remoteDataToolboxConfig', 'isetbio', ... % Struct, file path, or project name with Remote Data Toolbox configuration.
'clonedWikiLocation', fullfile(filesep,'Users', 'Shared', 'Matlab', 'Toolboxes', 'ISETBIO_Wiki', 'isetbio.wiki'), ... % Local path to the directory where the wiki is cloned. Only relevant for publishing tutorials.
'clonedGhPagesLocation', fullfile(filesep,'Users', 'Shared', 'Matlab', 'Toolboxes', 'ISETBIO_GhPages', 'isetbio'), ... % Local path to the directory where the gh-pages repository is cloned. Only relevant for publishing tutorials.
'githubRepoURL', 'http://isetbio.github.io/isetbio', ... % Github URL for the project. This is only used for publishing tutorials.
'generateGroundTruthDataIfNotFound', false, ... % Flag indicating whether to generate ground truth if one is not found
'listingScript', 'ieValidateListAllValidationDirs', ...
'coreListingScript', 'ieValidateListCoreValidationFiles', ...
'numericTolerance', 1e-11 ... % Numeric tolerance for comparisons with validation data.
);
I made a kind of dopey error in configuring. I am going to leave this issue open for a while, edit the wiki/Readme and try to prevent myself from doing what I did this time in the future.
Will close this when I am doing with the new documentation.
Hi @npcottaris
I am trying to set up my isetbio preferences for the UnitTestToolbox. (I want to run an ieValidateXXX) test.
I edited the critical struct in UnitTestPreferencesTemplate and it seemed to work OK ...
Running ieValidateFullAll I get this error about a preference listingScript
What goofy thing have I done now?
Thanks,