-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rm getters setters #7
Conversation
tomdcsmith
commented
Apr 15, 2016
- Most getters and setters changed to properties and property setters using decorators
- Completed tests
… use as regular attributes.
…eline into rm_getters_setters Conflicts: .gitignore
…itten most tests for CTTVSomaticEvidenceString class.
…e strings json. - Removed set_unique_association_field, identical code to add_unique_association_field, and not used in code.
- Changed so_name to property. - Test of processgene and ProcessConsequenceTypeFileTsv
-SOTerm tests
-Removed unused get_so_accessions -most_severse_so as property -Consequence type tests
…eline into rm_getters_setters
I'm not sure why, but a couple of tests are passing when I run them locally, but when travis runs them they fail. |
@@ -3,37 +3,9 @@ | |||
__author__ = 'Javier Lopez: [email protected]' | |||
|
|||
|
|||
def _process_consequence_type_file_xls(snp_2_gene_file): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this intentional? It is not related to getter/setter removal.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was removed because the latest file provided by CTTV was in tsv format, so this is now possibly redundant. If they provide a file in xls format in the future this can be added back, but I think the reason this was in xls format initially was because a tsv file was put into xls format. If this is incorrect and they do provide a xls file in the future then the actual data is simple enough to just change to a tsv file, which keeps the code simpler.
Getters and setters replaced by properties
Getters and setters replaced by properties
Getters and setters replaced by properties