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
Currently the user gets a printed message that says 'ERROR: Must have libstempo package installed!' if the import call for libstempo raises an ImportError exception. There are a number of user types who do need libstempo installed, including those dealing with gamma-ray or x-ray timing data, since libstempo (really TEMPO2) can't deal with these types of TOAs.
It looks like the only change to the working code would need to be here and would just be changing:
Currently the user gets a printed message that says 'ERROR: Must have libstempo package installed!' if the import call for
libstempo
raises anImportError
exception. There are a number of user types who do need libstempo installed, including those dealing with gamma-ray or x-ray timing data, since libstempo (really TEMPO2) can't deal with these types of TOAs.It looks like the only change to the working code would need to be here and would just be changing:
to
Besides that we'd just add a truthful error message. Something like:
raise ValueError('Must have either PINT or libstempo installed.')
Does anyone (@vallis @paulthebaker @stevertaylor ) know of other places in the code that might require libstempo/TEMPO2?
The text was updated successfully, but these errors were encountered: