Skip to content

Error when writing covariance #3

Open
@jadball

Description

@jadball

I receive the following traceback message when running fitallb.py on one of the included test input files (inf10.inp):

Traceback (most recent call last):
  File "fitallb.py", line 16, in <module>
    gofitallb.run(options)
  File "gofitallb.py", line 121, in run
    fit.refine(far,options.killfile)
  File "fit.py", line 581, in refine
    lsqr.refine()
  File "fit.py", line 138, in refine
    write_output.write_cor(self,i)
  File "write_output.py", line 113, in write_cor
    string = string + '%8f  ' %(lsqr.mg.covariance[('%s' %entry1, '%s' %entry2)]/(n.sqrt(lsqr.mg.covariance[('%s' %entry1, '%s' %entry1)])*n.sqrt(lsqr.mg.covariance[('%s' %entry2, '%s' %entry2)]))) 
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