code: def test_series(db):
      studies = dft.get_studies(data_dir)
      assert len(studies[0].series) == 1
      ser = studies[0].series[0]
      assert (
          ser.uid
          == "1.3.12.2.1107.5.2.32.35119.2010011420292594820699190.0.0.0"
      )
      assert ser.number == "12"
      assert ser.description == "CBU_DTI_64D_1A"
      assert ser.rows == 256
      assert ser.columns == 256
      assert ser.bits_allocated == 16
      assert ser.bits_stored == 12
  
imports: import os
  import sqlite3
  from io import BytesIO
  from os.path import dirname
  from os.path import join
  from ..testing import suppress_warnings
  import unittest
  import pytest
  from ..None import nifti1
  from ..optpkg import optional_package
label_desc: Use image node_id 5 for calling a global function with example usage: test_series(db) without return types