diff options
| author | Frederick Muriuki Muriithi | 2026-03-11 14:39:25 -0500 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2026-03-11 14:39:25 -0500 |
| commit | c4c2ed8ba205be09c6040a07444b0d892cae8a31 (patch) | |
| tree | 5920787a56bfaf4e79c339ecf99328fd486d8242 /scripts | |
| parent | 90809ed28ac6d07f20f533f8a0108d3557cc1bc4 (diff) | |
| download | gn-uploader-c4c2ed8ba205be09c6040a07444b0d892cae8a31.tar.gz | |
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/run_qtlreaper.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/run_qtlreaper.py b/scripts/run_qtlreaper.py index d9cadea..ab19da0 100644 --- a/scripts/run_qtlreaper.py +++ b/scripts/run_qtlreaper.py @@ -174,6 +174,11 @@ def dispatch(args: Namespace) -> int: # short-circuits to delete file if exists _traitsfile.exists() and _traitsfile.unlink() _qtlreaper_main_output.exists() and _qtlreaper_main_output.unlink() + + if _qtlreaper.returncode != 0: + return _qtlreaper.returncode + + save_qtl_values_to_db(conn, results) logger.info("Successfully computed p values for %s traits.", len(_traitsdata)) return 0 except FileNotFoundError as fnf: |
