Skip to content

Commit 97d7ebd

Browse files
committed
Fix trigger_xchem logic
1 parent c0867bc commit 97d7ebd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/dlstbx/services/trigger_xchem.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,12 +282,13 @@ def trigger_pandda_xchem(
282282

283283
if name == acronym:
284284
match_dir = subdir
285+
match = True
285286
# match_yaml = expt_yaml
286287

287288
except Exception as e:
288289
print(f"Problem reading .sqlite database for {subdir}: {e}")
289290

290-
if not match_dir:
291+
if not match:
291292
self.log.debug(f"No directory found for {acronym}, can't continue")
292293
return {"success": True}
293294
else:

0 commit comments

Comments
 (0)