Skip to content

Error in post-DANCE PairMapper #2

@Psirving

Description

@Psirving

Hi Tony,

Since switching to the new code, I've been consistently seeing this error. I end up with _allcorrs.txt being the only output file from PairMapper.

Traceback (most recent call last):
  File "/nas/longleaf/home/psirving/DanceMapper/DanceMapper.py", line 1346, in <module>
    pairs = PairMapper(model, profiles[i])
  File "/nas/longleaf/home/psirving/RingMapper/pairmapper.py", line 45, in __init__
    self.passfilter = self.checkMutationRates(primary_reactivity = primary_reactivity)
  File "/nas/longleaf/home/psirving/RingMapper/pairmapper.py", line 339, in checkMutationRates
    nts = self.parent.getReactiveNts(self.parent.highbgrate, prefix='bg')
  File "/nas/longleaf/home/psirving/RingMapper/ringmapper.py", line 306, in getReactiveNts
    if readarr[i,i] == 0:
TypeError: 'NoneType' object has no attribute '__getitem__'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions