Save frames mode creating multiple empty directories
Added by Bob Grassucci over 11 years ago
We are experiencing a problem when we collect data in dose fractionation or movie mode. Leginon creates many folders that are completely empty along with the folders which have the frames The folders are named in such a way that it seems to make one per second. While these frames do not take up much room I am sure you can imagine how confusing it is when trying to navigate to the folders with the data since the majority of the directories are empty.
Replies (1)
RE: Save frames mode creating multiple empty directories - Added by Anchi Cheng over 11 years ago
At the moment, I can't not check what causes this without our own setup. I didn't realize that the empty folders were created only when Leginon was used, not from other means. We have being dealing with this with a separate script that removes empty directory of the rawframes. You can see how it is done in leginon/rawtransfer.py If you save directly on network drive, and won't use Appion on it later, you won't be running rawtransfer.py. However, you can still do similar "rmdir" after "find" to clean up.