diff --git a/VERSIONLOG.md b/VERSIONLOG.md index 9c47143a..4c887237 100644 --- a/VERSIONLOG.md +++ b/VERSIONLOG.md @@ -1,5 +1,9 @@ # Scilifelab_epps Version Log +## 20241104.1 + +Suspected bugfix for BA parsing script. + ## 20241025.1 Support MiSeq V2 Micro diff --git a/scripts/parse_ba_results.py b/scripts/parse_ba_results.py index 3f437148..fcf9987a 100644 --- a/scripts/parse_ba_results.py +++ b/scripts/parse_ba_results.py @@ -121,9 +121,9 @@ def main(lims, args): xml_query, return_type = udf_to_xml[udf_name] result = xml_results.find(f".//{xml_query}").text.strip() - if isinstance(return_type, int): + if return_type is int: result = int(round(float(result), 0)) - elif isinstance(return_type, float): + elif return_type is float: result = float(result) try: