needed for #33.
lncdSql should have two more functions
visit_files(self,vid) and task_files(self,vtid)
visit_files collects each task in checkedin visit that also has non null task.file. calls task_files for each. returns dictionary {'task1': task_files output, 'task2': ...}
task_files files for each visit task. return {'expect': number, 'files': {'file1_id' 'file1_loc','file2_id':,...
compare to task.files for count of files. if count matches visit_task.files, return contents of visit_task.files and expected count
search for files matching pattern of task.files. update db if any are found. return
needed for #33. lncdSql should have two more functions
visit_files(self,vid)
andtask_files(self,vtid)
visit_files
collects each task in checkedin visit that also has non nulltask.file
. callstask_files
for each. returns dictionary{'task1': task_files output, 'task2': ...}
task_files
files for each visit task. return{'expect': number, 'files': {'file1_id' 'file1_loc','file2_id':,...
task.files
for count of files. if count matchesvisit_task.files
, return contents ofvisit_task.files
and expected counttask.files
. update db if any are found. return