Thanks, Utkarsh.

Indeed, replacing "alpha.water" with "alphawater" appears to work just fine.

- Cory

On Sat, Mar 19, 2016 at 7:23 PM, Utkarsh Ayachit
<[email protected]> wrote:
>> The dot "." in the array name is causing problems. Because it is a Python 
>> expression, the interpreter thinks you are asking for an attribute "water" 
>> from a class or module.
>
> FYI, ParaView uses paraview.make_name_valid()[1] function to sanitize
> array names in Python. Any character not a "_" or ASCII letter or
> number is simply dropped and if the name beings with a number, then a
> 'a' is prefixed.
>
> [1] 
> http://www.paraview.org/ParaView/Doc/Nightly/www/py-doc/_modules/paraview/__init__.html#make_name_valid



-- 
Cory Quammen
R&D Engineer
Kitware, Inc.
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to