Skip to content

Commit 5205eda

Browse files
authored
Fix estimate transmission wrapper warning message (#370)
Fix typo that causes severity to be interpreted as a list, which is invalid for ispyb connector.
1 parent 8b795ac commit 5205eda

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/dlstbx/wrapper/estimate_transmission.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def run(self):
110110
}.get(warning_level)
111111

112112
warning_description = f"The most intense pixel is {max_pixel_count_pct * 100}% of the detector's limit"
113-
warning_severity = ({0: "INFO", 1: "WARNING", 2: "ERROR"}.get(warning_level),)
113+
warning_severity = {0: "INFO", 1: "WARNING", 2: "ERROR"}.get(warning_level)
114114

115115
ispyb_command_list = [
116116
{

0 commit comments

Comments
 (0)