You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With Python 3.8.8 and HAPI v1.2.2.0, I am just reporting a minor bug when trying to scale intensities by a factor using the select() command (same example as given on page 15 of the HAPI manual). See traceback below:
Traceback (most recent call last):
File "filepath\hapi.py", line 1902, in newRowObject
par_format = expr[3]
IndexError: tuple index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "test.py", line 28, in <module>
select('H2O',ParameterNames=('nu',('/','sw',0.99731)))
File "filepath\hapi.py", line 2211, in select
selectInto(DestinationTableName,TableName,ParameterNames,Conditions)
File "filepath\hapi.py", line 2161, in selectInto
RowObjectNew = newRowObject(ParameterNames,RowObject,VarDictionary,ContextFormat)
File "filepath\hapi.py", line 1904, in newRowObject
par_format = getDefaultFormat(type(par_value))
File "filepath\hapi.py", line 1863, in getDefaultFormat
raise Exception('Unknown type')
Exception: Unknown type
The text was updated successfully, but these errors were encountered:
Hi,
With Python 3.8.8 and HAPI v1.2.2.0, I am just reporting a minor bug when trying to scale intensities by a factor using the select() command (same example as given on page 15 of the HAPI manual). See traceback below:
The text was updated successfully, but these errors were encountered: