Remove Compile warning in a case where we are subverting the type system#91
Conversation
the field was parameterized to have the same CompoundSet for both the sequence and its parent. Attempt to make this more explicit versus the mostly silent compile warning which is hiding our breaking the type system here.
|
The intended purpose that was never properly implemented was to allow you The pieces are in place for instantiating a ProteinSequence from a Uniprot On Mon, Feb 10, 2014 at 1:53 AM, emckee2006 notifications@github.comwrote:
|
|
That makes perfect sense, and is what I thought was supposed to happen On Mon, Feb 10, 2014 at 6:29 AM, willishf notifications@github.com wrote:
|
|
Didn't get far enough in the implementation to flush out the problems. The On Mon, Feb 10, 2014 at 11:05 AM, emckee2006 notifications@github.comwrote:
|
|
If this fix takes care of that in a good way then it gets us one step
|
|
I think it will work. Won't know until I or someone has a reason to On Mon, Feb 10, 2014 at 11:16 AM, emckee2006 notifications@github.comwrote:
|
|
Can you also add a junit test that makes sure you can actually attach a DNA sequence as a parent? |
|
Hi, where are we regarding this pull request? Any chance to get a unit test that checks for this? I see some compile errors with the genome module in Travis. it does not look like a networking error. We should try to fix this before merging this in. |
|
Andreas Wasn't sure if this email is directed at me or the person who made the Scooter On Wed, Mar 12, 2014 at 5:52 PM, Andreas Prlic notifications@github.comwrote:
|
|
mainly just checking in. I'd be also ok with merging this without a new junit test, as long as the old junit tests compile... |
|
I haven't looked at it beyond what was in the email discussion. If the old On Wed, Mar 12, 2014 at 7:03 PM, Andreas Prlic notifications@github.comwrote:
|
Catch back up with biojava/master
Catch back up with biojava/master
Remove Compile warning in a case where we are subverting the type system
…ul with CompoundSets
ProteinSequence was using parentSequence as a DNA Sequence. However,
the field was parameterized to have the same CompoundSet for both the
sequence and its parent. Attempt to make this more explicit versus the
mostly silent compile warning which is hiding our breaking the type
system here.
Comments are welcome, as well as suggestions for better possible fixes to this issue..;