We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20e0ec7 commit 3cde700Copy full SHA for 3cde700
src/objtools/cleanup/newcleanupp.cpp
@@ -6250,9 +6250,11 @@ void CNewCleanup_imp::x_CleanSeqFeatQuals(CSeq_feat& sf)
6250
GBQualBC(gbq);
6251
}
6252
6253
- // sort/unique gbquals, just alphabetically
6254
- if (SortGBQuals(sf)) {
6255
- ChangeMade(CCleanupChange::eCleanQualifiers);
+ if (! GBQUAL_ON_SEQFEAT_IS_SORTED (sf, s_GbQualCompareLegalFirst)) {
+ // sort/unique gbquals, just alphabetically
+ if (SortGBQuals(sf)) {
6256
+ ChangeMade(CCleanupChange::eCleanQualifiers);
6257
+ }
6258
6259
6260
if (!GBQUAL_ON_SEQFEAT_IS_UNIQUE(sf, s_GbQualEqual)) {
0 commit comments