Find data/ max fails for variables with spaces in name
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Find data is failing for such operations as find max for variables with spaces in their name.
I have a dataset that shows this, if needed. (note to self, Windows, data, erg.., pflotran)
Linux, 4.4.0, local server.
Open the pflotran-00.* files. All vars on. Apply.
Find Data. Cells. pflotran-00. Liquid Pressure [Pa]. is max.
Run Selection Query.
This fails as follows:
Error: Failed to evaluate Expression 'Liquid Pressure [Pa] == max(Liquid Pressure [Pa])'. The following exception stack should provide additional developer specific information. This typically implies a malformed expression. Verify that the expression is valid.
Traceback (most recent call last): File "", line 8, in File "", line 5, in vtkPythonExtractSelection_RequestData File "C:\Program Files (x86)\ParaView 4.4.0\lib\paraview-4.4\site-packages\paraview\extract_selection.py", line 74, in execute maskArray = calculator.compute(inputs, query, ns=elocals) File "C:\Program Files (x86)\ParaView 4.4.0\lib\paraview-4.4\site-packages\paraview\calculator.py", line 74, in compute retVal = eval(expression, globals(), mylocals) File "", line 1 Liquid Pressure [Pa] == max(Liquid Pressure [Pa]) ^ SyntaxError: invalid syntax