diff --git a/packages/py-cerebunit/package.py b/packages/py-cerebunit/package.py
index f0c9e6499c5c8a688fccf1eaa2e06b2a6176a8e4..4d8e91917ca1886ab2976eb652b5491613df49b1 100644
--- a/packages/py-cerebunit/package.py
+++ b/packages/py-cerebunit/package.py
@@ -22,7 +22,7 @@ class PyCerebunit(PythonPackage):
     depends_on('py-cerebstats', type=('build', 'run'))
     depends_on('py-numpy', type=('build', 'run'))
     depends_on('py-scipy', type=('build', 'run'))
-    depends_on('py-quantities', type='build', 'run')
+    depends_on('py-quantities', type=('build', 'run'))
     depends_on('py-sciunit', type=('build', 'run'))
     depends_on('py-pynwb@1.0.2', type=('build', 'run'))
     depends_on('py-hdmf@1.0.3', type=('build', 'run'))