Skip to content

Commit

Permalink
Cleaned up erroneous print statements and debugged why distance matri…
Browse files Browse the repository at this point in the history
…x print out didn't show up.
  • Loading branch information
jrhosk committed Aug 3, 2023
1 parent eff4503 commit 18cd3be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/astrohack/extract_holog.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ def extract_holog(
# Create holog_obs_dict if not specified
if holog_obs_dict is None:
from astrohack._utils._extract_holog import _create_holog_obs_dict

holog_obs_dict = _create_holog_obs_dict(
pnt_dict,
extract_holog_params['baseline_average_distance'],
Expand Down Expand Up @@ -439,7 +440,6 @@ def _check_extract_holog_params(function_name, extract_holog_params):
logger.error(f'[{function_name}]: Parameter holog_obs_dict must be of type {str(dict)}.')

parms_passed = parms_passed and _check_parms(function_name, extract_holog_params, 'baseline_average_distance', [float, int, str], default='all')
print(type(extract_holog_params['baseline_average_distance']))

parms_passed = parms_passed and _check_parms(function_name, extract_holog_params, 'baseline_average_nearest', [int, str], default='all')

Expand Down

0 comments on commit 18cd3be

Please sign in to comment.