From f0f1847c60f5ab1e8c4b8568a82d27f5a00bf41e Mon Sep 17 00:00:00 2001 From: Brendan Jackman Date: Wed, 19 Apr 2017 10:36:57 +0100 Subject: [PATCH] energy_probe: Remove unused pandas try-import Looks like this is commit-leakage. --- devlib/instrument/energy_probe.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/devlib/instrument/energy_probe.py b/devlib/instrument/energy_probe.py index 2e1f625..b7ad832 100644 --- a/devlib/instrument/energy_probe.py +++ b/devlib/instrument/energy_probe.py @@ -20,11 +20,6 @@ import tempfile import struct import subprocess -try: - import pandas -except ImportError: - pandas = None - from devlib.instrument import Instrument, CONTINUOUS, MeasurementsCsv from devlib.exception import HostError from devlib.utils.misc import which @@ -50,9 +45,6 @@ class EnergyProbeInstrument(Instrument): if self.caiman is None: raise HostError('caiman must be installed on the host ' '(see https://github.com/ARM-software/caiman)') - if pandas is None: - self.logger.info("pandas package will significantly speed up this instrument") - self.logger.info("to install it try: pip install pandas") self.attributes_per_sample = 3 self.bytes_per_sample = self.attributes_per_sample * 4 self.attributes = ['power', 'voltage', 'current']