Skip to content

AttributeError: 'NoneType' object has no attribute 'flux' for target not in CTL #16

@melissa-hobson

Description

@melissa-hobson

I'm trying to run tpfplotter for a target not in the CTL, and am getting the following error:

--> Target not in CTL. The FFI cut out was succesfully downloaded
Traceback (most recent call last):
File "/home/hobson/Documents/Science/tpfplotter/tpfplotter.py", line 401, in
mean_tpf = np.mean(tpf.flux,axis=0)
AttributeError: 'NoneType' object has no attribute 'flux'

I'm on python3.9.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions