Skip to content

Commit

Permalink
style: change log level of a few statements
Browse files Browse the repository at this point in the history
  • Loading branch information
keara-soloway committed Oct 8, 2024
1 parent 59d203f commit 3344364
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CHAP/common/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -2800,7 +2800,7 @@ def process(self, data, nxfilename, nxdata_path, data_points=[],
f'Data point {i} is missing a value for at least one '
f'axis. Skipping. Axes are: {", ".join(axes_names)}')
continue
self.logger.info(
self.logger.debug(
f'Coordinates for data point {i}: '
', '.join([f'{a}={d[a]}' for a in axes_names]))
# Get the index of the data point in the dataset based on
Expand Down Expand Up @@ -2828,7 +2828,7 @@ def process(self, data, nxfilename, nxdata_path, data_points=[],
self.logger.error(
f'Cannot get the index of data point {i}. Skipping.')
continue
self.logger.info(f'Index of data point {i}: {index}')
self.logger.debug(f'Index of data point {i}: {index}')
# Update the signals contained in this data point at the
# proper index in the dataset's singal `NXfield`s
for k, v in d.items():
Expand Down

0 comments on commit 3344364

Please sign in to comment.