Skip to content

Conversation

@prjemian
Copy link
Contributor

@prjemian prjemian added the bug label Jan 27, 2025
@prjemian prjemian self-assigned this Jan 27, 2025
@prjemian prjemian added this to the 1.7.3 milestone Jan 27, 2025
@prjemian prjemian requested a review from a team January 28, 2025 00:07
@prjemian
Copy link
Contributor Author

Seeing this same sort of error coming from SpecWriterCallback2():

  File "/home/prjemian/Documents/projects/BCDA-APS/apstools/apstools/callbacks/spec_file_writer.py", line 786, in get_data_labels
    dets, others = parse(self.detectors)
                   ^^^^^^^^^^^^^^^^^^^^^
  File "/home/prjemian/Documents/projects/BCDA-APS/apstools/apstools/callbacks/spec_file_writer.py", line 772, in parse
    hints = doc["hints"][k_obj]["fields"]
            ~~~~~~~~~~~~^^^^^^^
KeyError: 'I0'

During handling of the above exception, another exception occurred:

Make a unit test for it.

@prjemian
Copy link
Contributor Author

Ready for review. I'd like to merge this by Friday (2025-01-31).

@prjemian prjemian merged commit 5df46a4 into main Jan 28, 2025
10 checks passed
@prjemian prjemian deleted the 1049-lineup2-failed-for-USAXS branch January 28, 2025 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

BUG: lineup2([scaler_channel]) failed for USAXS

3 participants