-
Notifications
You must be signed in to change notification settings - Fork 76
Description
When processDirs is processing a long list of directories, it will be helpful to print out the directory in which the object or command is being executed. Otherwise, when an error is encountered, it is difficult to figure out which directory caused the error.
Example:
In [3]: DPT.objects.processDirs(None,pyh.EDFSplit)
Reading calibration edf file.
Object created
Object saved to file eyelink_c5f2.hkl
Reading navigation edf file.
Loaded edf
Object created
No. of Sessions 1
Session Name: session01
Object loaded from file rplparallel_72a7.hkl
Missing messages
Object loaded from file rplparallel_72a7.hkl
Object saved to file eyelink_c5f2.hkl
Object created
Missing .edf files.
Reading calibration edf file.
Object created
Object saved to file eyelink_c5f2.hkl
Reading navigation edf file.
Loaded edf
Object created
No. of Sessions 1
Session Name: session01
Object loaded from file rplparallel_72a7.hkl
Missing messages
Object loaded from file rplparallel_72a7.hkl
Object saved to file eyelink_c5f2.hkl
..
IndexError: tuple index out of range