code: def test_subset_contigs_no_loco(spark, rg):
      num_samples = 50
      num_pheno = 5
      genotype_df = pd.DataFrame(rg.random((num_samples, 3)))
      phenotype_df = pd.DataFrame(rg.random((num_samples, num_pheno)))
      offset_df = pd.DataFrame(rg.random((num_samples, num_pheno)))
      # No error when contigs are provided without loco offsets
      run_linear_regression_spark(
          spark,
          genotype_df,
          phenotype_df,
          offset_df=offset_df,
          contigs=["chr1"],
      )
  
imports: import functions
  import numpy
  import statsmodels.api
  import pandas
  import glow.gwas.functions
  import glow.gwas.lin_reg
  import pytest
label_desc: Use image node_id 39 for calling a global function with example usage: test_subset_contigs_no_loco(spark, rg) without return types