Forums » Appion and Leginon Web tools »
Removing files marked as ignore/bad
Added by Christopher Lilienthal almost 8 years ago
Hello,
We would like to know how to remove, as in delete forever, files that have been marked as ignore/bad in the image assessment module for a given project. I know it is stored in the database somewhere so I was thinking I could write a script to query and remove the files. I'm hoping someone has already done this and tested the script to know it works (For some reason people get really irritated when you delete their good data ;) ). Has anyone already figured this out?
I imagine this would be fairly simple and straightforward, but I could also be very wrong.
-Chris
Replies (2)
RE: Removing files marked as ignore/bad - Added by Anchi Cheng almost 8 years ago
There is an Appion Script used by some to do so in trunk Issue #4267 that will probably work for 3.2 release. To access the gui in myamiweb, you will need also deleteHidden.inc in commit:9ab356ca and the correspending change in menuprocessing.inc that expose the form to users.
For those rather make up a script so that he/she can see what is done, they can make a script using the list of file copied from myamiweb/fileviewer.php
RE: Removing files marked as ignore/bad - Added by Christopher Lilienthal almost 8 years ago
Great, thank you. I havn't tested this out yet so I can't verify it works but if I run into any issues I'll let you know.