Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • P PyFstat
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Gregory Ashton
  • PyFstat
  • Issues
  • #3
Closed
Open
Issue created Aug 15, 2017 by David Keitel@dkeitelMaintainer

tests.py failure: no attribute 'exponential_time'

Hi Greg, returning to PyFstat after a while. With 5837254c 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)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking