Skip to content

resistics version 0.0.6rc1 error when calculating remote reference statistics and no shared windows #3

Closed

Description

@nss350

If there are no shared windows between a local site individual recording and the remote reference, resistics fails with error:

File "E:\virtualenvs\resistics\lib\site-packages\resistics\project\statistics.py", line 358, in calculateRemoteStatistics
sharedWindowsMeas
ValueError: not enough values to unpack (expected 2, got 0)

This is to do with the new spectra batches functionality that was created to speed up processing. Current workaround is to remove local site measurement directories where there is no overlap but this is a bug that needs to be fixed before the final 0.0.6 release.

Activity

  1. self-assigned this
    on Dec 27, 2019
  2. changed the title [-]resistics version 0.0.6rc1 error when calculate remote reference statistics and no shared windows[/-] [+]resistics version 0.0.6rc1 error when calculating remote reference statistics and no shared windows[/+] on Dec 27, 2019
  3. nss350 commented on Dec 29, 2019

    @nss350
    ContributorAuthor

    Should be fixed in commit 44010d7. There was an issue with the return statement if no windows are requested from SpectrumReader readBinaryBatchGlobal. This will be included in the next resistics release

  4. nss350 commented on Mar 15, 2020

    @nss350
    ContributorAuthor

    This fix has been rolled into version 0.0.6 which was just released. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions