Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fixed naming inconsistency in SamLocusIterator #715
Conversation
coveralls
commented
Sep 28, 2016
|
There's a large PR that is changing similar code (#637). Could you rebase after they merge? |
|
I think you can now merge-rebase via GitHub UI? |
|
not if there are conflicts, and there will be....that's why I want the other PR to go in first. |
|
Okay, just lmk when the other PR gets merged. |
| @@ -106,7 +106,8 @@ public void addInserted(final SAMRecord read, int firstPosition) { | ||
| /** @return 1-based reference position */ | ||
| public int getPosition() { return position; } | ||
| - public List<RecordAndOffset> getRecordAndPositions() { return Collections.unmodifiableList(recordAndOffsets); } | ||
| + public List<RecordAndOffset> getRecordAndOffsets() { return Collections.unmodifiableList(recordAndOffsets); } | ||
| + @Deprecated public List<RecordAndOffset> getRecordAndPositions() { return getRecordAndOffsets(); } |
lbergelson
Nov 22, 2016
Contributor
Could you add a javadoc line linking to the replacement function. I know it's pretty obvious from the code but its good to make deprecations as fool proof as possible.
|
@lbergelson please be advised that I asked that this PR wait for another larger one that will be in conflict with this one... |
|
This can now be rebased over the latest master. |
|
Hmm, I'm surprised GH also pulled in the Gradle commit. |
coveralls
commented
Dec 25, 2016
|
@lbergelson can you take a look here? I'm not sure why there are gradle-related changes here.... |
|
So, I think that what happened here is that @superbobry rebased onto master, but accidentally squashed his commit into the last commit that was already on master. I think we're seeing a display issue on github where it's showing the actual commit diffs, not the diff between master and this commit. Merging should be safe, but the authorship will be screwed up. I think it's going to list me as the author and not suprbobry. @superbobry If you want to fix it, I think you can go in and manually --amend your commit to unstage the changes to the gradle files and fix the author to be you. Then rebase on top of master again. If you don't care, let me know and I can merge them in as is. |
|
@lbergelson frankly, I don't care enough to go through amend and rebase, so feel free to merge this as is. Thanks! |
lbergelson
merged commit 1dd11be
into
samtools:master
Jan 4, 2017
|
@superbobry Merged. Github managed to figure out the authorship issue automatically somehow, so it is represented correctly as your contribution. Thanks for the patch and sorry for the unnecessary pain. |
superbobry commentedSep 28, 2016
Description
The method named
getRecordAndPositionsreturned a list ofRecordAndOffsetobjects which was a bit confusing.Checklist