Skip to content

NameError when running in FFI mode #42

@orionlee

Description

@orionlee

I used to GUI to look at TIC 324609409 in FFI mode. After specifying the transit time in GUI and clicked Done, I got the following exception.

Will look at sector(s):  39     (the files are opened but not stored locally)

Start TPF data download..... 39
Importing FFI data sector 39 ...
done.

Start PCA analysis... done.

done.

Flatten LC... done.

Extract background... done.

Transit times : 2378.42
Traceback (most recent call last):
  File "C:\pkg\_winNonPortables\Anaconda3\envs\LATTE-dev\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\pkg\_winNonPortables\Anaconda3\envs\LATTE-dev\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\dev\_juypter\LATTE\LATTE\__main__.py", line 558, in <module>
    utils.interact_LATTE_FFI(tic, indir, syspath, sectors_all, sectors, ra, dec, args)
  File "C:\dev\_juypter\LATTE\LATTE\LATTEutils.py", line 2365, in interact_LATTE_FFI
    brew.brew_LATTE_FFI(tic, indir, syspath, transit_list, simple, BLS, model, save, DV, sectors, sectors_all, alltime0, allflux_list, allflux_small, allflux0, all_md, allfbkg, allfbkg_t, start_sec, end_sec, in_sec, X1_list, X4_list, apmask_list, arrshape_list, tpf_filt_list, t_list, bkg_list, tpf_list, ra, dec, args)
  File "C:\dev\_juypter\LATTE\LATTE\LATTEbrew.py", line 600, in brew_LATTE_FFI
    utils.plot_full_md(tic, indir, alltime, allflux, all_md, alltime, allflux, transit_list, upper_axis_lim_final, lower_axis_lim_final, args)
NameError: name 'upper_axis_lim_final' is not defined

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