|
void | protocols::features::set_protocol_and_batch_id (core::Size protocol_id, core::Size batch_id, std::string const &batch_name, std::string const &batch_description, utility::vector1< FeaturesReporterOP > features_reporters, utility::sql_database::sessionOP db_session) |
| write the given protocol and batch ids to the database. The protocol and batches features reporters will check for an existing entry with the same key, and write if one does not exist. Not recommended for parallel use as it is subject to race conditions (due to the nature of 'insert or ignore' type database writing) More...
|
|
std::pair< core::Size, core::Size > | protocols::features::get_protocol_and_batch_id (std::string const &batch_name, std::string const &batch_description, utility::vector1< FeaturesReporterOP > features_reporters, utility::sql_database::sessionOP db_session) |
| Get the protocol and batch ids or create them if they don't yet exist. For MPI protocols, only allow the head node to create protocol or batch ids and have the other nodes ask the head node for the info. More...
|
|
void | protocols::features::write_features_reporters_table (utility::vector1< FeaturesReporterOP > features_reporters, utility::sql_database::sessionOP db_session) |
|
void | protocols::features::write_batch_reports_table (utility::vector1< FeaturesReporterOP > features_reporters, core::Size batch_id, utility::sql_database::sessionOP db_session) |
| write the linking table between features reporters and batches. This happens here so that the protocol/batch id framework can be used to prevent duplicate key entries. This function gets called when the batch id is written. More...
|
|
pair< core::Size, core::Size > | protocols::features::deserialize_db_listener_data (string data) |
|
string | protocols::features::serialize_ids (int protocol_id, string batch_name, core::Size batch_id) |
|
core::Size | protocols::features::get_batch_id (StructureID struct_id, utility::sql_database::sessionOP db_session) |
|
utility::vector1< StructureID > | protocols::features::struct_ids_from_tag (utility::sql_database::sessionOP db_session, std::string const &tag) |
|
std::string | protocols::features::serialize_residue_xyz_coords (core::conformation::Residue const &residue) |
|
utility::vector1< numeric::xyzVector< core::Real > > | protocols::features::deserialize_xyz_coords (std::string const &data, core::Size natoms) |
|
std::string | protocols::features::get_question_mark_string (core::Size const n) |
| Returns (?,?,?) With question marks of length n to help create database query. More...
|
|