diff --git a/bapsflib/_hdf/utils/helpers.py b/bapsflib/_hdf/utils/helpers.py
index 28cdde8..4e103c5 100644
--- a/bapsflib/_hdf/utils/helpers.py
+++ b/bapsflib/_hdf/utils/helpers.py
@@ -561,7 +561,8 @@ def condition_shotnum(shotnum: Any,
                              'array would be NULL')
 
     elif isinstance(shotnum, np.ndarray):
-        shotnum = shotnum.squeeze()
+        if shotnum.ndim != 1:
+            shotnum = shotnum.squeeze()
         if shotnum.ndim != 1 \
                 or not np.issubdtype(shotnum.dtype, np.integer) \
                 or bool(shotnum.dtype.names):

Function condition_shotnum() throws ValueError if conditioned shotnum is a single element ndarry
[`condition_shotnum()`](https://github.com/BaPSF/bapsflib/blob/b25f05370c0fc601aa7f8e1dff4f17eeec1f8e45/bapsflib/_hdf/utils/helpers.py#L476) throws a `ValueError` at [line 568](https://github.com/BaPSF/bapsflib/blob/b25f05370c0fc601aa7f8e1dff4f17eeec1f8e45/bapsflib/_hdf/utils/helpers.py#L568) when a valid shot number is passed in as a single element `numpy` array.

For example, `_sn = condition_shotnum(np.array([5]), {}, {})` would throw the error.

This scenario will not be reached often since single shot numbers are typically passed as an `int`, but it does occur when `HDFReadData` is reading a single shot number and trying to mate control data with `HDFReadControl`.

The most probable culprit is [line 564](https://github.com/BaPSF/bapsflib/blob/b25f05370c0fc601aa7f8e1dff4f17eeec1f8e45/bapsflib/_hdf/utils/helpers.py#L564) squeezing the numpy array shape from `(1,)` to `()`.  This can be easily fixed with the if-statement

```
if shotnum.ndim != 1:
    shotnum = shotnum.squeeze()
```

and needs to be covered by tests [here](https://github.com/BaPSF/bapsflib/blob/b25f05370c0fc601aa7f8e1dff4f17eeec1f8e45/bapsflib/_hdf/utils/tests/test_helpers.py#L646).
diff --git a/bapsflib/_hdf/utils/tests/test_helpers.py b/bapsflib/_hdf/utils/tests/test_helpers.py
index bb7c8e0..a280cd1 100644
--- a/bapsflib/_hdf/utils/tests/test_helpers.py
+++ b/bapsflib/_hdf/utils/tests/test_helpers.py
@@ -663,6 +663,8 @@ class TestConditionShotnum(TestBase):
 
         # shotnum valid
         sn = [
+            (np.array([12], np.int32),
+             np.array([12], np.uint32)),
             (np.array([-5, 0, 10], np.int32),
              np.array([10], np.uint32)),
             (np.array([20, 30], np.int32),

pip install -e .
parse_log_pytest
requirements.txt
pytest pytest-cov
apt-get update apt-get install -y gcc
3.7
requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
alabaster==0.7.13
astropy==4.3.1
Babel==2.14.0
-e git+https://github.com/BaPSF/bapsflib.git@08a56b9001c607982778b16f15a30dd88ba3cf31#egg=bapsflib
certifi @ file:///croot/certifi_1671487769961/work/certifi
charset-normalizer==3.4.1
codecov==2.1.13
coverage==7.2.7
docutils==0.19
exceptiongroup==1.2.2
h5py==3.8.0
idna==3.10
imagesize==1.4.1
importlib-metadata==6.7.0
iniconfig==2.0.0
Jinja2==3.1.6
MarkupSafe==2.1.5
numpy==1.21.6
packaging==24.0
pluggy==1.2.0
pyerfa==2.0.0.3
Pygments==2.17.2
pytest==7.4.4
pytest-cov==4.1.0
pytz==2025.2
requests==2.31.0
scipy==1.7.3
snowballstemmer==2.2.0
Sphinx==5.3.0
sphinx-rtd-theme==2.0.0
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==2.0.0
sphinxcontrib-jquery==4.1
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
tomli==2.0.1
typing_extensions==4.7.1
urllib3==2.0.7
zipp==3.15.0

name: bapsflib
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2022.12.7=py37h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.4.4=h6a678d5_1
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=22.3.1=py37h06a4308_0
  - python=3.7.16=h7a1cb2a_0
  - readline=8.2=h5eee18b_0
  - setuptools=65.6.3=py37h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.38.4=py37h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - alabaster==0.7.13
      - astropy==4.3.1
      - babel==2.14.0
      - charset-normalizer==3.4.1
      - codecov==2.1.13
      - coverage==7.2.7
      - docutils==0.19
      - exceptiongroup==1.2.2
      - h5py==3.8.0
      - idna==3.10
      - imagesize==1.4.1
      - importlib-metadata==6.7.0
      - iniconfig==2.0.0
      - jinja2==3.1.6
      - markupsafe==2.1.5
      - numpy==1.21.6
      - packaging==24.0
      - pluggy==1.2.0
      - pyerfa==2.0.0.3
      - pygments==2.17.2
      - pytest==7.4.4
      - pytest-cov==4.1.0
      - pytz==2025.2
      - requests==2.31.0
      - scipy==1.7.3
      - snowballstemmer==2.2.0
      - sphinx==5.3.0
      - sphinx-rtd-theme==2.0.0
      - sphinxcontrib-applehelp==1.0.2
      - sphinxcontrib-devhelp==1.0.2
      - sphinxcontrib-htmlhelp==2.0.0
      - sphinxcontrib-jquery==4.1
      - sphinxcontrib-jsmath==1.0.1
      - sphinxcontrib-qthelp==1.0.3
      - sphinxcontrib-serializinghtml==1.1.5
      - tomli==2.0.1
      - typing-extensions==4.7.1
      - urllib3==2.0.7
      - zipp==3.15.0
prefix: /opt/conda/envs/bapsflib

bapsflib/_hdf/utils/tests/test_helpers.py::TestConditionShotnum::test_shotnum_ndarray
bapsflib/_hdf/utils/tests/test_helpers.py::TestBuildShotnumDsetRelation::test_complex_dataset bapsflib/_hdf/utils/tests/test_helpers.py::TestBuildShotnumDsetRelation::test_simple_dataset
bapsflib/_hdf/utils/tests/test_helpers.py::TestConditionControls::test_controls_w_same_contype bapsflib/_hdf/utils/tests/test_helpers.py::TestConditionControls::test_file_w_multiple_controls bapsflib/_hdf/utils/tests/test_helpers.py::TestConditionControls::test_file_w_one_control bapsflib/_hdf/utils/tests/test_helpers.py::TestConditionControls::test_input_failures bapsflib/_hdf/utils/tests/test_helpers.py::TestConditionShotnum::test_shotnum_int bapsflib/_hdf/utils/tests/test_helpers.py::TestConditionShotnum::test_shotnum_invalid bapsflib/_hdf/utils/tests/test_helpers.py::TestConditionShotnum::test_shotnum_list bapsflib/_hdf/utils/tests/test_helpers.py::TestConditionShotnum::test_shotnum_slice bapsflib/_hdf/utils/tests/test_helpers.py::TestDoShotnumIntersection::test_one_control bapsflib/_hdf/utils/tests/test_helpers.py::TestDoShotnumIntersection::test_two_controls
bapsflib/_hdf/utils/helpers.py
bapsflib/_hdf/utils/helpers.py