diff --git a/sdrf_pipelines/sdrf/sdrf_schema.py b/sdrf_pipelines/sdrf/sdrf_schema.py index 3100234..905b59d 100644 --- a/sdrf_pipelines/sdrf/sdrf_schema.py +++ b/sdrf_pipelines/sdrf/sdrf_schema.py @@ -361,12 +361,12 @@ def validate_empty_cells(self, panda_sdrf): def validate_string(cell_value): return cell_value is not None and cell_value != "nan" and len(cell_value.strip()) > 0 - if sys.version_info <= (3, 8): - # Use map for Python versions less than 3.8 - validation_results = panda_sdrf.map(validate_string) - else: - # Use applymap for Python versions 3.8 and above - validation_results = panda_sdrf.applymap(validate_string) + # if sys.version_info <= (3, 8): + # # Use map for Python versions less than 3.8 + validation_results = panda_sdrf.map(validate_string) + # else: + # # Use applymap for Python versions 3.8 and above + # validation_results = panda_sdrf.applymap(validate_string) # Get the indices where the validation fails failed_indices = [