Go to the SVN repository for this file.
87 size_tconflict_index_1 = 0;
88 size_tconflict_index_2 = 0;
89 for(
size_tk = 0; k < records.size(); ++k) {
95 if(records[k].GetVersion() ==
version) {
99 decision.message =
"At least two bioseq info INSDC records " 100 "with the requested version "+ to_string(
version) +
101 " found during secondary lookup. First record: "+
118current_version = records[k].GetVersion();
123 autorecord_version = records[k].GetVersion();
124 if(record_version < current_version) {
127 if(record_version > current_version) {
130current_version = record_version;
131conflict_index_1 = 0;
132conflict_index_2 = 0;
139conflict_index_2 = k;
143 if(conflict_index_1 != conflict_index_2) {
147 decision.message =
"At least two bioseq info INSDC records " 148 "with the same max version "+
149to_string(records[conflict_index_1].GetVersion()) +
150 " found during secondary lookup. First record: "+
TSeqIdType GetSeqIdType() const
TVersion GetVersion() const
TAccession const & GetAccession() const
The NCBI C++ standard methods for dealing with std::string.
@ e500_InternalServerError
@ e_Tpe
Third Party Annot/Seq EMBL.
@ e_Tpd
Third Party Annot/Seq DDBJ.
@ e_Tpg
Third Party Annot/Seq Genbank.
SINSDCDecision DecideINSDC(const vector< CBioseqInfoRecord > &records, CBioseqInfoRecord::TVersion version)
string GetBioseqRecordId(const CBioseqInfoRecord &record)
bool IsINSDCSeqIdType(CBioseqInfoRecord::TSeqIdType seq_id_type)
const string version
version string
long PSGToString(long signed_value, char *buf)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4