diff options
| author | Frederick Muriuki Muriithi <fredmanglis@gmail.com> | 2026-09-28 13:22:38 -0500 |
|---|---|---|
| committer | Frederick Muriuki Muriithi <fredmanglis@gmail.com> | 2026-09-28 13:53:15 -0500 |
| commit | 1303da15a9476810863a66056eb621baa7628961 (patch) | |
| tree | 3d361d8baa946aa581c889fda494baab66127a80 /scripts | |
| parent | f4998539df3141831c0146df4e32df805ddc1b6c (diff) | |
| download | gn-uploader-1303da15a9476810863a66056eb621baa7628961.tar.gz | |
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/rqtl2/phenotypes_qc.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/rqtl2/phenotypes_qc.py b/scripts/rqtl2/phenotypes_qc.py index 084c876..e65bbcc 100644 --- a/scripts/rqtl2/phenotypes_qc.py +++ b/scripts/rqtl2/phenotypes_qc.py @@ -252,7 +252,8 @@ def decimal_points_error(# pylint: disable=[too-many-arguments,too-many-position decimal_places: int = 1 ) -> Optional[InvalidValue]: """Returns an error if the value does not meet the checks.""" - if not bool(decimal_places_pattern(decimal_places).match(cellvalue)): + if not bool(decimal_places_pattern( + decimal_places, allow_negative_values=True).match(cellvalue)): return InvalidValue(filename, rowtitle, coltitle, cellvalue, message) return None |
