hitranonline / hapi

HITRAN Application Programming Interface (HAPI)
Other
75 stars 35 forks source link

error #31

Open kamgoud opened 2 years ago

kamgoud commented 2 years ago

Team: I received this error message when I start the HAPI package at the comma after **kwargs, "invalid syntax" Please help.

START COMPUTING... Traceback (most recent call last): File "C:\OLD-C-HP\Users\GOU\Desktop\KaCodes\HAPI-MOLECULAR.py", line 30, in import hapi as hapi File "C:\OLD-C-HP\Users\GOU\WinPython-64bit-3.4.4.1\python-3.4.4.amd64\lib\site-packages\hapi__init__.py", line 7, in from .hapi import File "C:\OLD-C-HP\Users\GOU\WinPython-64bit-3.4.4.1\python-3.4.4.amd64\lib\site-packages\hapi\hapi.py", line 35549 return absorptionCoefficient_Generic(args,**kwargs, profile=PROFILE_HT, calcpars=calculateProfileParametersFullPriority)
^ SyntaxError: invalid syntax

jmmelko commented 2 years ago

I don't know which version you are using but mine has a different line:

return absorptionCoefficient_Generic(profile=PROFILE_HT,calcpars=calculateProfileParametersFullPriority,*args,**kwargs)

I think you should reinstall