/[v1]/trunk/c++/src/objtools/cleanup/autogenerated_cleanup.cpp
ViewVC logotype

Log of /trunk/c++/src/objtools/cleanup/autogenerated_cleanup.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 101164 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 9 15:04:45 2023 UTC (6 months, 2 weeks ago) by stakhovv
File length: 104255 byte(s)
Diff to previous 100373
Fix warnings; JIRA:RW-2143

Revision 100373 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 26 13:34:22 2023 UTC (10 months ago) by foleyjp
File length: 104299 byte(s)
Diff to previous 100124
JIRA: RW-1908 Removed redundant method

Revision 100124 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 20 18:57:16 2023 UTC (11 months, 1 week ago) by foleyjp
File length: 104536 byte(s)
Diff to previous 95784
JIRA:RW-1908 In Basic cleanup, check that Bioseq for a molinfo descriptor is in scope before attempting to edit it

Revision 95784 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 22 19:48:06 2021 UTC (2 years, 5 months ago) by stakhovv
File length: 104492 byte(s)
Diff to previous 95011
xcleanup: Remove NULLs; JIRA:RW-1283

Revision 95011 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 27 19:00:36 2021 UTC (2 years, 7 months ago) by foleyjp
File length: 104486 byte(s)
Diff to previous 94561
JIRA: RW-1441 Bug fix. Cleanup should convert muids to pmids in Seq-feat.cit

Revision 94561 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 16 15:57:49 2021 UTC (2 years, 9 months ago) by stakhovv
File length: 104220 byte(s)
Diff to previous 93842
JIRA:RW-1283 Remove trailing whitespace

Revision 93842 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 26 16:03:09 2021 UTC (3 years ago) by foleyjp
File length: 104267 byte(s)
Diff to previous 93806
JIRA: RW-1353 Bug fix

Revision 93806 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 24 17:52:41 2021 UTC (3 years ago) by foleyjp
File length: 104072 byte(s)
Diff to previous 93664
JIRA: RW-1353 Merge changes into trunk

Revision 93664 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 11 17:48:18 2021 UTC (3 years ago) by foleyjp
File length: 160884 byte(s)
Diff to previous 93663
JIRA: RW-1353 - Removed redundant CAutogeneratedCleanup method and redundant argument in CNewCleanup_imp method

Revision 93663 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 11 17:20:41 2021 UTC (3 years ago) by foleyjp
File length: 161344 byte(s)
Diff to previous 93657
JIRA: RW-1353 Removed nonsensical assertion

Revision 93657 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 10 17:06:09 2021 UTC (3 years ago) by foleyjp
File length: 161342 byte(s)
Diff to previous 93634
JIRA: RW-1317 Merge changes into trunk (second attempt)

Revision 93634 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 6 18:55:06 2021 UTC (3 years ago) by foleyjp
File length: 191525 byte(s)
Diff to previous 93632
JIRA: RW-1317 Reverted merge into trunk

Revision 93632 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 6 17:15:13 2021 UTC (3 years ago) by foleyjp
File length: 161467 byte(s)
Diff to previous 83082
JIRA: RW-1317 Merge changes into trunk

Revision 83082 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 25 18:55:40 2018 UTC (5 years, 10 months ago) by bollin
File length: 191525 byte(s)
Diff to previous 82687
excluded autogenerated code

Revision 82687 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 22 16:47:38 2018 UTC (5 years, 11 months ago) by bollin
File length: 191417 byte(s)
Diff to previous 77493
change to structure of cleanup (do field cleanup in User-object cleanup)

Revision 77493 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 19 13:06:11 2017 UTC (7 years, 1 month ago) by dobronad
File length: 198721 byte(s)
Diff to previous 75294
JIRA:SQD-4254 Single-strandedness from non-viral nucleotide sequences is removed now

Revision 75294 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 3 14:39:39 2016 UTC (7 years, 6 months ago) by bollin
File length: 198676 byte(s)
Diff to previous 75290
JIRA:GCOL-6148 need to clean dbtag in source dbxref

Revision 75290 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 3 10:49:55 2016 UTC (7 years, 6 months ago) by bollin
File length: 198344 byte(s)
Diff to previous 71736
JIRA:GCOL-6148 still need to clean dbtags in xrefs

Revision 71736 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 25 14:28:46 2016 UTC (8 years, 2 months ago) by bollin
File length: 211721 byte(s)
Diff to previous 68691
JIRA:SQD-3714 only convert whole to int for seqfeat.location

Revision 68691 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 26 17:41:53 2015 UTC (8 years, 9 months ago) by bollin
File length: 213747 byte(s)
Diff to previous 68040
JIRA:BIOS-995 added BioSample autofixes to BasicCleanup

Revision 68040 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 6 17:35:11 2015 UTC (8 years, 10 months ago) by bollin
File length: 212149 byte(s)
Diff to previous 67936
JIRA:SQD-2360

Revision 67936 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 25 13:46:52 2015 UTC (8 years, 11 months ago) by bollin
File length: 212115 byte(s)
Diff to previous 67914
synchronizing with comment tilde fixes in C Toolkit

Revision 67914 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 24 14:11:38 2015 UTC (8 years, 11 months ago) by bollin
File length: 212071 byte(s)
Diff to previous 67913
JIRA:SQD-2208

Revision 67913 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 24 13:22:06 2015 UTC (8 years, 11 months ago) by bollin
File length: 217249 byte(s)
Diff to previous 67808
JIRA:SQD-2205

Revision 67808 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 15 14:19:04 2015 UTC (8 years, 11 months ago) by bollin
File length: 308650 byte(s)
Diff to previous 67704
JIRA:SQD-2211

Revision 67704 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 5 15:15:49 2015 UTC (8 years, 11 months ago) by bollin
File length: 308548 byte(s)
Diff to previous 67635
JIRA:SQD-2228

Revision 67635 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 1 16:14:57 2015 UTC (8 years, 11 months ago) by bollin
File length: 308555 byte(s)
Diff to previous 67634
JIRA:SQD-2206

Revision 67634 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 1 15:49:57 2015 UTC (8 years, 11 months ago) by bollin
File length: 308711 byte(s)
Diff to previous 67624
JIRA:GB-4001 cleanup of both strand restricted to certain feature types

Revision 67624 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 1 13:14:12 2015 UTC (8 years, 11 months ago) by bollin
File length: 306559 byte(s)
Diff to previous 67609
JIRA:SQD-2228

Revision 67609 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 29 14:02:03 2015 UTC (9 years ago) by bollin
File length: 306551 byte(s)
Diff to previous 67600
JIRA:SQD-2228

Revision 67600 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 28 11:56:54 2015 UTC (9 years ago) by bollin
File length: 306571 byte(s)
Diff to previous 67578
JIRA:SQD-2228

Revision 67578 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 27 13:33:24 2015 UTC (9 years ago) by bollin
File length: 306551 byte(s)
Diff to previous 67534
JIRA:SQD-2228

Revision 67534 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 22 16:35:33 2015 UTC (9 years ago) by bollin
File length: 305607 byte(s)
Diff to previous 67527
JIRA:SQD-2224

Revision 67527 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 22 15:58:01 2015 UTC (9 years ago) by bollin
File length: 304874 byte(s)
Diff to previous 67504
JIRA:SQD-2224

Revision 67504 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 22 11:01:37 2015 UTC (9 years ago) by bollin
File length: 304839 byte(s)
Diff to previous 67483
JIRA:SQD-2224 also segset problem

Revision 67483 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 21 11:41:40 2015 UTC (9 years ago) by bollin
File length: 300009 byte(s)
Diff to previous 67473
JIRA:SQD-2228

Revision 67473 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 20 13:08:50 2015 UTC (9 years ago) by bollin
File length: 299636 byte(s)
Diff to previous 67472
JIRA:SQD-2228

Revision 67472 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 20 11:52:08 2015 UTC (9 years ago) by bollin
File length: 298877 byte(s)
Diff to previous 67437
JIRA:SQD-2219

Revision 67437 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 18 16:04:39 2015 UTC (9 years ago) by bollin
File length: 298877 byte(s)
Diff to previous 58687
JIRA:SQD-2219

Revision 58687 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 27 18:47:47 2013 UTC (10 years, 11 months ago) by kornbluh
File length: 299206 byte(s)
Diff to previous 57469
* do genetic code auto-correction (like "-K c" in C cleanasn )
JIRA SQD-1002

Revision 57469 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 12 17:53:50 2013 UTC (11 years, 2 months ago) by kornbluh
File length: 294294 byte(s)
Diff to previous 54585
* Do not rescue codon recognized fom the feature comment.  
JIRA SQD-1052
* BioSource seq-feat comments turned into subsources of type "other"
* All BioSource seq-feats of type other are merged together with "; "
JIRA SQD-990

Revision 54585 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 23 13:18:05 2012 UTC (12 years ago) by kornbluh
File length: 292668 byte(s)
Diff to previous 53091
- Split EC numbers to match new C toolkit functionality

Revision 53091 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 23 11:55:18 2012 UTC (12 years, 3 months ago) by kornbluh
File length: 294319 byte(s)
Diff to previous 51825
- added some rRNA name fixes.
- using improved autogenerator output (relevant autogenerator changes will be committed soon)
JIRA SQD-240

Revision 51825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 4 10:57:43 2011 UTC (12 years, 6 months ago) by kornbluh
File length: 294331 byte(s)
Diff to previous 51749
- Normalize nested Seq-loc-mixes and normalize location NULLs.

Revision 51749 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 28 13:19:52 2011 UTC (12 years, 7 months ago) by kornbluh
File length: 294665 byte(s)
Diff to previous 51739
- Throw out UniversalStringClean and use DecodeXML instead
- Also, DecodeXML has been expanded to do all the XML codes that C does
JIRA SQD-53

Revision 51739 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 27 14:27:33 2011 UTC (12 years, 7 months ago) by kornbluh
File length: 294759 byte(s)
Diff to previous 51675
- Decode XML ("&lt;" -> "<", etc.) for Seq-feat.comment and Seqdesc.comment

Revision 51675 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 24 16:16:22 2011 UTC (12 years, 7 months ago) by kornbluh
File length: 294665 byte(s)
Diff to previous 51630
- Fix "&apos;" to apostrophe ' in all strings everywhere
  - x_UniversalStringClean is the function that cleans every string.
- Also, added "antisense" BSEC test (although "antisense" cleaning was
  already committed )
- Note that the change in autogenerated_cleanup.txt requires a change
  to datatool, which I will commit soon.
JIRA SQD-53

Revision 51630 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 19 14:29:47 2011 UTC (12 years, 7 months ago) by kornbluh
File length: 201797 byte(s)
Diff to previous 51605
- don't use deprecated CVariation_ref fields
- Fix class "antisense" to "antisense_RNA" for ncRNA
JIRA SQD-48

Revision 51605 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 17 20:26:15 2011 UTC (12 years, 7 months ago) by kornbluh
File length: 206699 byte(s)
Diff to previous 51432
Stop-gap solution to the change in Variation_ref.hpp that make this code not compile.
A real solution would be to change the autogenerator instead of hand-editing the
auto-generated code.  I plan to do so soon.

Revision 51432 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 3 13:47:39 2011 UTC (12 years, 7 months ago) by kornbluh
File length: 206361 byte(s)
Diff to previous 50490
- cleanup now also fixes partial protein

Revision 50490 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 19 14:48:53 2011 UTC (12 years, 10 months ago) by kornbluh
File length: 228887 byte(s)
Diff to previous 49279
- added removal of flanking quotes to BasicCleanup

Revision 49279 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 12 15:33:10 2011 UTC (13 years, 1 month ago) by kornbluh
File length: 228156 byte(s)
Diff to previous 49223
- check in the automatic test cases for cleanup (about 300 test cases)
- rename some functions to better reflect their purpose
- Removed some TODO comments (either fixing the underlying issue or
  determining that the issue has already been fixed )
JIRA CXX-2186

Revision 49223 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 7 15:07:44 2011 UTC (13 years, 1 month ago) by kornbluh
File length: 228184 byte(s)
Diff to previous 49185
- More changes to fix some smaller errors.
  - Now passes all of my checks and Colleen Bollin's checks.
- Handle versions fixed up
  - Including: Almost all const_casts removed
- Removing most commented-out code.
JIRA CXX-2186

Revision 49185 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 5 16:02:16 2011 UTC (13 years, 1 month ago) by kornbluh
File length: 228679 byte(s)
Diff to previous 49142
- many changes to string cleanup to fix subtle discrepancies between
  C and C++ such as tilde handling and when to compress strings or not.
- Other small changes such as remembering to clean "origin".
- pmid and pubmed mutually fill each other in.
- When we create a new object that won't be automatically traversed,
  we create a sub-CAutogeneratedCleanup that will make sure it's
  properly handled. (ImpFeatBC)
- Fix prefix-handling to realize where there's an "=" or whatever
  in a string.
- Extracting RNA class from product
- Use CleanVisString instead of CleanString, since it better matches C.
- Working on making the code pass Colleen Bollin's tests
JIRA CXX-2186

Revision 49142 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 31 17:11:59 2011 UTC (13 years, 1 month ago) by kornbluh
File length: 231322 byte(s)
Diff to previous 49060
For BasicCleanup:
- C functionality should now all be in C++ (except for implicit behavior
  I may have failed to see, such as when enum fields become implicitly
  reset when they're zero ).
- Many bugs fixed.  This commit passes all my tests 
  (Still needs work because fails on
  some of the tests provided by Colleen Bollin ).
- Added ChangeMade() calls in the places it was missing.
JIRA CXX-2186

Revision 49060 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 24 15:22:22 2011 UTC (13 years, 2 months ago) by kornbluh
File length: 236413 byte(s)
Diff to previous 49005
- Many changes to move C functionality to C++.  We're somewhat nearing
  the end of the move, BUT there is still more debugging and testing to do.
  - This part adds the x_PostProcessing function for work that must
    be done after we traverse.
  - removed some old commented-out code
- added SET_FIELD_IF_UNSET macro
- fixed UNIQUE_WITHOUT_SORT macro to check if set
JIRA CXX-2186

Revision 49005 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 18 15:53:36 2011 UTC (13 years, 2 months ago) by kornbluh
File length: 244548 byte(s)
Diff to previous 48981
- continuing to move C functionality to C++
JIRA CXX-2186

Revision 48981 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 16 15:24:04 2011 UTC (13 years, 2 months ago) by kornbluh
File length: 245620 byte(s)
Diff to previous 48931
More changes to put C functionality into C++
JIRA CXX-2186

Revision 48931 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 10 18:11:12 2011 UTC (13 years, 2 months ago) by kornbluh
File length: 222094 byte(s)
Diff to previous 48888
- Point to new cleanup code instead of Robert's old cleanup code.
- auto-generated code is now MUCH smaller, thanks to improvements in the auto-generator.
- CNewCleanup_imp added several new BasicCleanup* entrances to allow us to have the functionality that Robert's old code did.
- Several new changes to get C functionality into C++ (e.g. compressing strings, as well as more complex fixes)
- external API change: only non-const objects accepted for cleanup now
- Code itself is cleaned up a bit.  For example, the header file that was just copy-pasted into a .cpp file is now its own .hpp
  file.
JIRA CXX-2186

Revision 48888 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 7 17:46:10 2011 UTC (13 years, 2 months ago) by kornbluh
File length: 4168599 byte(s)
Diff to previous 48739
- Some more base macros, as well as XREF_ON_SEQFEAT macros
- More changes to bring C cleanup functionality to C++ (x_CleanupAndRepairInference, x_MendSatelliteQualifier, etc.)
  - This includes changes to auto-generated code.
- CBioseq_Context now keeps track of whether there are multi-interval genes (needed for compatibility with C.  Possibly can be removed in the
  future)
- Fixed bug in code autogenerator where comment wasn't closed
- ReadLocFromText improved to work with accessions
- asn2flat improvements
  - when cleaning a location for gene search, don't add "far" parts.  Also, do NOT trim out empty parts of locations.  For some reason, this seems
    to also give a large speed boost, as much as 4X speedup for asn2flat as a whole (!).
  - some functionality works less well for segmented sequences, but better for non-segmented sequences.  Since segmented sequences are being phased
    out, I consider this acceptable.
  - Determine when a SeqLoc's parts are out-of-order using C-style logic (in the future, we may use C++'s location order checker)

JIRA GP-1267

Revision 48739 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 23 18:31:47 2011 UTC (13 years, 3 months ago) by kornbluh
File length: 4131543 byte(s)
Diff to previous 48720
- autogenerated code changes:
  - Now includes roots Seq-submit and Seq-annot
- Non-autogenerated code now uses the autogenerated code in all 3 cases (Seq-entry, Seq-submit and Seq-annot).
- ExtendedCleanup now uses BasicCleanup first
- Removed some code that was replaced with autogen code
- A few changes to better match C code

Revision 48720 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue Feb 22 19:00:49 2011 UTC (13 years, 3 months ago) by kornbluh
File length: 1651405 byte(s)
Note: Large commit.
- Added auto-generated code (the autogenerator inside datatool is not committed yet)
- Added NON_CONST_SET_ITERATE since NON_CONST_ITERATE doesn't actually allow non-const iteration for sets.
- test_basic_cleanup now allows multiple input and output files
- move declaration of CNewCleanup_imp into the new file newcleanup.hpp
- Due to code auto-generation, a lot of hand-made traversal code was able to be removed.
- Commit includes autogenerated_cleanup.txt, which is used by datatool to generate the autogenerated_cleanup.[ch]pp files
  - The description language is specified in a file which will be committed in the future into serial/datatool:
    traversal_spec_file_parser.cpp

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

NCBI Systems Team">NCBI Systems Team
ViewVC Help
Powered by ViewVC 1.1.20  

HHS Vulnerability Disclosure