Repository navigation
CompositeUnit has no value attribute - #1610
Conversation
|
@Cadair - this is true for all units -- they do have a |
|
Ah ok it's Quantity that has the >>> u.m.to_system(u.cgs)[0]
Unit("100 cm")How do I extract the 100?! |
|
That would be I'd actually naively have tried to do |
|
Yeah -- we could add the |
|
And just a little history on this: I've never been much of a fan of |
|
Fix attached. |
|
Nice! And also seems a bit cleaner to have this in I looked through the changes in some detail and it all looks good to me. |
CompositeUnit has no value attribute
This may be more of a user bug than anything else, is there a reason why CompositeUnit dosen't have the same API as Unit and have a value attribute?