PyFstat issueshttps://gitlab.aei.uni-hannover.de/GregAshton/PyFstat/-/issues2020-01-14T10:52:21Zhttps://gitlab.aei.uni-hannover.de/GregAshton/PyFstat/-/issues/3tests.py failure: no attribute 'exponential_time'2020-01-14T10:52:21ZDavid Keiteldavid.keitel@ligo.orgtests.py failure: no attribute 'exponential_time'Hi Greg, returning to PyFstat after a while. With 5837254ca73df2e5de432e7e409ddbbb3edf10da the examples still seem to work, but tests.py throws the following:
```
12:30 INFO : The config file TestData/Test.cff has been modified since...Hi Greg, returning to PyFstat after a while. With 5837254ca73df2e5de432e7e409ddbbb3edf10da the examples still seem to work, but tests.py throws the following:
```
12:30 INFO : The config file TestData/Test.cff has been modified since the sft file TestData/H-4800_H1_1800SFT_Test-700000000-8640000.sft was created
12:30 INFO : Now executing: lalapps_Makefakedata_v5 --outSingleSFT=TRUE --outSFTdir="TestData" --outLabel="Test" --IFOs="H1" --sqrtSX="1" --startTime=700000000 --duration=8640000 --fmin=28 --Band=4 --Tsft=1800 --injectionSources="TestData/Test.cff"
.
======================================================================
ERROR: test_fully_coherent (__main__.TestMCMCSearch)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests.py", line 227, in test_fully_coherent
search.run(create_plots=False)
File "/home/dkeitel/git/PyFstat/pyfstat/mcmc_based_searches.py", line 433, in run
sampler = self._run_sampler(sampler, p0, nburn=nburn, nprod=nprod)
File "/home/dkeitel/git/PyFstat/pyfstat/mcmc_based_searches.py", line 345, in _run_sampler
self._run_sampler_with_conv_test(sampler, p0, nprod, nburn)
File "/home/dkeitel/git/PyFstat/pyfstat/mcmc_based_searches.py", line 326, in _run_sampler_with_conv_test
**self.convergence_kwargs):
File "/home/dkeitel/git/PyFstat/pyfstat/mcmc_based_searches.py", line 316, in _test_convergence
return self._get_convergence_test(i, sampler, **kwargs)
File "/home/dkeitel/git/PyFstat/pyfstat/mcmc_based_searches.py", line 282, in test_autocorr_convergence
acors[temp, :] = emcee.autocorr.exponential_time(x)
AttributeError: 'module' object has no attribute 'exponential_time'
----------------------------------------------------------------------
Ran 11 tests in 142.569s
FAILED (errors=1)
```Gregory AshtonGregory Ashtonhttps://gitlab.aei.uni-hannover.de/GregAshton/PyFstat/-/issues/12test failures on CIT2020-01-14T10:52:01ZDavid Keiteldavid.keitel@ligo.orgtest failures on CITI'm trying to get a PyFstat installation running on CIT, and getting test failures. (Though some basic examples to work already.)
1. something related to matplotlib backends again, MR incoming:
`[david.keitel@ldas-pcdev13 PyFstat]$ pyt...I'm trying to get a PyFstat installation running on CIT, and getting test failures. (Though some basic examples to work already.)
1. something related to matplotlib backends again, MR incoming:
`[david.keitel@ldas-pcdev13 PyFstat]$ python tests.py
Traceback (most recent call last):
File "tests.py", line 5, in <module>
import pyfstat
File "/home/david.keitel/git/PyFstat/pyfstat/__init__.py", line 3, in <module>
from .core import BaseSearchClass, ComputeFstat, SemiCoherentSearch, SemiCoherentGlitchSearch
File "/home/david.keitel/git/PyFstat/pyfstat/core.py", line 15, in <module>
import pyfstat.helper_functions as helper_functions
File "/home/david.keitel/git/PyFstat/pyfstat/helper_functions.py", line 20, in <module>
import matplotlib.pyplot as plt
File "/home/david.keitel/.local/lib/python2.7/site-packages/matplotlib/pyplot.py", line 116, in <module>
_backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
File "/home/david.keitel/.local/lib/python2.7/site-packages/matplotlib/backends/__init__.py", line 60, in pylab_setup
[backend_name], 0)
File "/home/david.keitel/.local/lib/python2.7/site-packages/matplotlib/backends/backend_tkagg.py", line 6, in <module>
from six.moves import tkinter as Tk
File "/home/david.keitel/.local/lib/python2.7/site-packages/six.py", line 203, in load_module
mod = mod._resolve()
File "/home/david.keitel/.local/lib/python2.7/site-packages/six.py", line 115, in _resolve
return _import_module(self.mod)
File "/home/david.keitel/.local/lib/python2.7/site-packages/six.py", line 82, in _import_module
__import__(name)
ImportError: No module named Tkinter
`
2. After fixing that one, some `Directory not empty` or `Device or resource busy` errors in test 12. Full log attached. Might be a shutil version issue?[test_ldas-pcdev13_20180111.log](/uploads/2e28da6129b662f65952dfcbcc60dbed/test_ldas-pcdev13_20180111.log)Gregory AshtonGregory Ashton