code: def test_empty_sample_ids(spark):
      df = spark.createDataFrame([__construct_row("a", "")])
      with pytest.raises(Exception):
          wgr_functions.get_sample_ids(df)
  
file_path: glow/python/glow/wgr/tests/test_sample_id_extraction.py
imports: import pytest
  from pyspark.sql import Row
  from pyspark.sql.utils import AnalysisException
  from glow.wgr import wgr_functions
label_desc: Use image node_id 6 for calling a global function with example usage: test_empty_sample_ids(spark) without return types