From ccc9ad289037b2cb35bc255612b86aba656d03ce Mon Sep 17 00:00:00 2001 From: Chun Ly Date: Sun, 12 Apr 2020 20:28:00 -0700 Subject: [PATCH] valid_table: Use relative import for column_names (iss #13) --- Metallicity_Stack_Commons/valid_table.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Metallicity_Stack_Commons/valid_table.py b/Metallicity_Stack_Commons/valid_table.py index b2ad29b..7c4eda3 100644 --- a/Metallicity_Stack_Commons/valid_table.py +++ b/Metallicity_Stack_Commons/valid_table.py @@ -3,7 +3,7 @@ from astropy.io import ascii as asc from astropy.table import Table, Column -from Metallicity_Stack_Commons.Metallicity_Stack_Commons.column_names import filename_dict, valid_table_names0 # , bin_names0, remove_from_list +from .column_names import filename_dict, valid_table_names0 # , bin_names0, remove_from_list def make_validation_table(fitspath): @@ -87,6 +87,7 @@ def make_validation_table(fitspath): print(" ") ''' + def compare_to_by_eye(fitspath, dataset): """ Purpose -> This function takes the automated validation table and checks it against