Skip to content

Commit

Permalink
plotting.balmer.HbHgHd_fits: Ignore unbound issue with definition wit…
Browse files Browse the repository at this point in the history
…hin if statement (iss #10)
  • Loading branch information
astrochun committed Mar 1, 2020
1 parent faa9c65 commit 8a769b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Metallicity_Stack_Commons/plotting/balmer.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ def fitting_result(wave, y_norm, lambda_cen, balmer_fit, balmer_fit_neg):
return gauss0, resid, x_sigsnip_2, flux_g, flux_s


# noinspection PyUnboundLocalVariable
def HbHgHd_fits(stack_name, astropy_table_file, out_pdf):

stack2D, header = fits.getdata(stack_name, header=True)
Expand Down

0 comments on commit 8a769b3

Please sign in to comment.