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
toolbox: handle object arrays in pmm (closes #183) #239
Conversation
Hey @drsteve, TravisBuddy Request Identifier: 20dccdd0-fff6-11e9-bdc5-7d173ed77079 |
Rather than For the warning, there's little idea of the implications. This only works for Finally, this doesn't work for strings. That would be a different PR except it does work for objects. Patch attached. |
Thanks, updates made. Your string-type test gave me numpy
So I've also switched that test to
which should do the same thing, but avoids the warning. |
Hey @drsteve, TravisBuddy Request Identifier: 2b9d3c20-002b-11ea-8b9e-5d36b4f25336 |
Hey @drsteve, TravisBuddy Request Identifier: 8c75c1b0-002c-11ea-8b9e-5d36b4f25336 |
Good catch on the deprecation. Thoughts on the b arguments? I can probably just push to your branch.... |
Right, forgot about that... If that sounds sensible then I can give it a crack later? If you have other ideas, or wanted to push something then I'm good with that too. |
That's exactly what I was thinking, just make the function signature *args, start with ans=[], and then for a in args BLAH append to ans, remove the whole "for val in b" loop. |
Looks good. Since @balarsen hasn't chimed in I'll assume he doesn't object and will merge once Travis is happy. |
Hey @drsteve, TravisBuddy Request Identifier: c6530870-0185-11ea-82f1-cf3ba55cf6d0 |
I’m happy.
…On Thu, Nov 7, 2019 at 1:11 PM Jon Niehof ***@***.***> wrote:
Merged #239 <#239> into master.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#239?email_source=notifications&email_token=AAD4D3MV474YEMOUH63FMPLQSRK5HA5CNFSM4JJF5WT2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOUW4IPQY#event-2780334019>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAD4D3NUYXBHUNRZUCDKZ2DQSRK5HANCNFSM4JJF5WTQ>
.
|
Closes #183
This PR provides:
Any suggestions for wording on the warning? Or other implementation issues?