Skip to content

Commit

Permalink
proper handling of aperture for full poller
Browse files Browse the repository at this point in the history
  • Loading branch information
s-goldman committed Oct 26, 2023
1 parent e7d25b1 commit 1641c9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drizzlepac/haputils/poller_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,8 @@ def build_poller_table(input: str, log_level, all_mvm_exposures=[], poller_type=
if 'aperture' in input_table.colnames:
cols['aperture'] = input_table['aperture'].tolist()
else:
cols['aperture'] = ['empty_aperture'] * len(usable_datasets)
add_col = Column(['empty_aperture'] * len(usable_datasets), name='aperture', dtype='str')
input_table.add_column(add_col, index=7)
poller_dtype+=('str',)
else:
raise ValueError("Input table is empty. Exiting...")

Check warning on line 1104 in drizzlepac/haputils/poller_utils.py

View check run for this annotation

Codecov / codecov/patch

drizzlepac/haputils/poller_utils.py#L1104

Added line #L1104 was not covered by tests
Expand Down

0 comments on commit 1641c9b

Please sign in to comment.