[vtk-developers] Anyone know Python? (and can look at a dashboard failure)
andrew.amaclean at gmail.com
Sun Jan 15 16:49:47 EST 2017
Sorry Ken I forgot to include you.
I can't test it as I don't have MPI installed but there are two approaches:
if axis and axis > 0:
This should work. It seems to me that you want to return the result of
impl.op() if axis > 0.
If the *or* is correct then you can use:
if type(axis) == type(None) or axis > 0:
On Mon, Jan 16, 2017 at 8:41 AM, Andrew Maclean <andrew.amaclean at gmail.com>
> Unfortunately I don't have MPI installed so I can't test it.
> On Mon, Jan 16, 2017 at 8:17 AM, Andrew Maclean <andrew.amaclean at gmail.com
> > wrote:
>> Hi Ken,
>> I think the fix is this:
>> if axis and axis > 0:
>> This should work. It seems to me that you want to return the result of
>> impl.op() if axis > 0.
>> ---------- Forwarded message ----------
>>> From: Ken Martin <ken.martin at kitware.com>
>>> To: VTK Developers <vtk-developers at vtk.org>
>>> Date: Sat, 14 Jan 2017 17:07:17 -0500
>>> Subject: [vtk-developers] Anyone know Python? (and can look at a
>>> dashboard failure)
>>> The buildbots are pretty clean except we have one failing test on eeloo
>>> related to Python
>>> It fails comparing a None to an int while other machines running that
>>> test pass. So I suspect it has something to do with the
>>> build/version/settings of python on it. I tried fixing the None int
>>> comparison but then it moved to a different failure, once again reminding
>>> me that python still lacks the elegant grace of Visual Basic (I am so
>>> baiting python users with that one)
>>> Anyone have a thought on what the right fix is?
>>> Ken Martin PhD
>>> Chairman & CFO
>>> Kitware Inc.
>>> 28 Corporate Drive
>>> Clifton Park NY 12065
>>> 518 371 3971 <(518)%20371-3971>
>>> This communication, including all attachments, contains confidential and
>>> legally privileged information, and it is intended only for the use of the
>>> addressee. Access to this email by anyone else is unauthorized. If you are
>>> not the intended recipient, any disclosure, copying, distribution or any
>>> action taken in reliance on it is prohibited and may be unlawful. If you
>>> received this communication in error please notify us immediately and
>>> destroy the original message. Thank you.
>>> Powered by www.kitware.com
>>> Visit other Kitware open-source projects at
>>> Search the list archives at: http://markmail.org/search/?q=
>>> Follow this link to subscribe/unsubscribe:
>> Andrew J. P. Maclean
> Andrew J. P. Maclean
Andrew J. P. Maclean
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtk-developers