[Paraview-developers] Calculator parsing bug?

Gerstenberger, Axel Axel.Gerstenberger at Rolls-Royce.com
Thu May 4 12:05:08 EDT 2017


Dear developers,

We found an issue with the Paraview Calculator in that it seems to parse variables wrong that start with the same name as a build in function like abs or sin. Moreover, it only happens, if such variable is followed by an opening bracket. This behaviour is present in PV 5.2 and all the way back to PV 3.14.

Can you reproduce this and is this a known issue?

To try it, just run attached script using pvpython.

Regards,
Axel



Rolls-Royce Deutschland Ltd & Co KG Sitz/Registered Office: Blankenfelde-Mahlow, Deutschland, Registergericht/Court of Register: Amtsgericht Potsdam, HRA 2731 P, Persönlich haftende Gesellschafterin/General Partner: Rolls-Royce General Partner Limited, Sitz/Registered Office: Derby, United Kingdom, Register: Registry of Companies Wales and England, 4066556, Directors/Geschäftsführer: Paul O’Neil, Alastair McIntosh, Nicole Fehr, Dr. Holger Cartsburg Confidentiality Notice: This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person.
The data contained in, or attached to, this e-mail, may contain confidential information. If you have received it in error you should notify the sender immediately by reply e-mail, delete the message from your system and contact +44 (0) 3301235850 (Security Operations Centre) if you need assistance. Please do not copy it for any purpose, or disclose its contents to any other person.

An e-mail response to this address may be subject to interception or monitoring for operational reasons or for lawful business practices.

(c) 2017 Rolls-Royce plc

Registered office: 62 Buckingham Gate, London SW1E 6AT Company number: 1003142. Registered in England.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestVTKCalculatorParsingBugForAbsSinTanPlusBrackets.py
Type: application/octet-stream
Size: 7689 bytes
Desc: TestVTKCalculatorParsingBugForAbsSinTanPlusBrackets.py
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20170504/5710e3a6/attachment.obj>


More information about the Paraview-developers mailing list