From 5bf2f5db5d1c3db6673ca2a3fe46aa07194cda41 Mon Sep 17 00:00:00 2001 From: Ben Webb Date: Wed, 26 Jun 2024 10:18:22 -0700 Subject: [PATCH] Skip test if pandas not available --- modules/spatiotemporal/test/test_make_graph.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/spatiotemporal/test/test_make_graph.py b/modules/spatiotemporal/test/test_make_graph.py index f98f76ad37..96700c6196 100644 --- a/modules/spatiotemporal/test/test_make_graph.py +++ b/modules/spatiotemporal/test/test_make_graph.py @@ -30,6 +30,9 @@ def test_prepare_protein_library(self): """ Test setting up a preparing a protein library for spatiotemporal library """ + if pandas is None: + self.skipTest( + 'pandas not available, will not test preparing protein library') # set input dir state_dict, expected_subcomplexes, exp_comp_map = setup_system() with IMP.test.temporary_directory() as tmpdir: