Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
RE2022-272: Add a bulk version of genbank_to_genome in GFU #208
RE2022-272: Add a bulk version of genbank_to_genome in GFU #208
Changes from 18 commits
e3962f2
ff1116f
f07f80c
1245e61
8d16ab5
faf2c9d
6229ca2
33c278c
0933532
34c3108
473b22a
e5bcd97
234c84d
9220025
8cc8068
03fcc7f
b711c1b
12bd88d
62d58d4
090fbe3
f504773
9706af7
961bb93
3911611
5d79e1d
496aa2f
4c70b9d
eb33f6a
58e836b
09dd0da
46ec762
eafa232
c812cca
6965069
4ffcd80
d2be8ee
81dbadc
65bbcef
b491fe9
c21f3da
b56f03a
5418499
ae8000a
dce257d
59c9f01
eb8aac1
a3ead74
9cb61de
347a791
ed8abdb
1224189
adfb3a4
2f4bbc8
6649f13
cf12176
60c4e37
130e958
8b54339
c4f3c95
3347a5e
a953fcc
558ed47
e2e7da9
31b4132
1168eb2
9599d70
10cb15d
42f828c
d9f6d4b
b34a5b9
3b99e10
bb51ab5
ace9c90
1d0f965
a251871
784e4b4
4e14017
f769404
f77eab1
19d2c31
fe703f3
5f14f52
c08f235
fb60e20
f1a133a
9f9da3e
c8dfda9
3775aee
3272e72
40fb78a
93b8b91
d5bce8a
d770130
d3ab203
21ac1ef
6c066f9
47aae1b
41c2339
062c3d3
5c9ea7c
84fe0b8
27d3fee
daf54ca
d2a9be1
5e44f27
7aaa537
33f56f5
a32bdc1
0488a57
0d64e5b
c49f54b
989ddc8
42916a3
4e860d9
f8a5e17
f98dcc0
89bca42
3233347
1359c39
1957748
cd84e97
5a15f2d
2e88a66
ca640a5
11f8e34
01a7da6
f3dbe55
378e39c
e971cca
27d64d2
02e4ec4
909e12c
660d145
449da57
3decca9
f91072e
4e1d603
087e440
7867216
0083baf
c69f797
e5ab860
61571fc
51340d5
a52c980
6b937c2
d5c74f6
758ed57
55b4273
a11415a
05d4ff6
bc630b4
0aaf931
ee5638b
0b5ad8a
04aa6e1
8939c93
cc2a609
13733c2
3302dcb
b6aeac3
2b60903
a8835d4
f7f7071
96b3cc2
580b8e5
5edad3c
f732bd4
58e79d8
a2e271d
8a88a00
c23e9a4
43c420f
5097ef0
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 186 in lib/GenomeFileUtil/GenomeFileUtilImpl.py
Codecov / codecov/patch
lib/GenomeFileUtil/GenomeFileUtilImpl.py#L186
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.
There's about 8 places in the code where the code changed in this PR but there's no test coverage. As a general rule, if you change code you should write tests against the old code first to make sure you have a baseline, change the code, and make sure the tests pass.
Would it take a lot of effort to write tests to cover the changed code?
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.
If you refer to 8 places from GenbankToGenome.py file, I only changed them from
self.
togenome_obj.
I guess these lines are not covered by previous logic and that's why they are showing up now?
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.
Yes, that's what I'm talking about. Even small changes still need tests
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.
Will add tests to cover missing lines. This PR or a separate PR?
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.
Well, the purpose of the tests is to ensure this PR hasn't broken anything, so ideally you'd add the tests, make sure they pass, make the changes in this PR, and make sure they still pass. So they should probably be part of this PR, although it's already really big
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.
👍
Check warning on line 142 in lib/GenomeFileUtil/core/GenbankToGenome.py
Codecov / codecov/patch
lib/GenomeFileUtil/core/GenbankToGenome.py#L142