Changes between Version 25 and Version 26 of Processing/proj_tidy
- Timestamp:
- Dec 2, 2014, 3:55:41 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Processing/proj_tidy
v25 v26 53 53 * This can't be done yet, as there are often test lines flown by ops, which are not always entered in to the database. 54 54 * If can't find raw data, don't search for files pertaining to those sensors 55 * In the {{{Check for missing directories}}} section, hyperspectral/owl is looked for. This should be thermal/owl. This ties in with the point listed below when the project layout is built. This is due to incorrect key list in the folder_structure module.55 ~~* In the {{{Check for missing directories}}} section, hyperspectral/owl is looked for. This should be thermal/owl. This ties in with the point listed below when the project layout is built. This is due to incorrect key list in the folder_structure module.~~ 56 56 * ~~Currently, {{{proj_tidy.missing_directories}}} calls {{{folder_structure.FolderStructure}}}'s constructor, which returns a full list of the directories that are expected to be in the project directory. This could be changed by either adding another function to proj_tidy.py that looks for regex instead or changing the FolderStructure constructor so that it can just return the relevant directories if necessary.~~ 57 57 * This was achieved by updating the missing_directories function. I changed it so that it now takes arguments that determine which missing directories it should look for. For example, it has the {{{check_hyper}}} argument, which {{{false}}} will be passed in to if there is no hyperspectral data. The Python function will check this argument and if it is false, will remove the path if it contains "/hyperspectral". The other arguments work in a similar way.