Python script to check for many samples in Objectivity/DB.