From 5c4ed7a9bde6a5df559ff2638b057de6619e0ac7 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 12 Oct 2015 19:46:14 +0800 Subject: [PATCH] fix imports --- artiq/gui/schedule.py | 3 ++- artiq/tools.py | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/artiq/gui/schedule.py b/artiq/gui/schedule.py index 53d5197e9..1439dfa6d 100644 --- a/artiq/gui/schedule.py +++ b/artiq/gui/schedule.py @@ -6,7 +6,8 @@ from quamash import QtGui, QtCore from pyqtgraph import dockarea from artiq.protocols.sync_struct import Subscriber -from artiq.gui.tools import elide, DictSyncModel +from artiq.gui.tools import DictSyncModel +from artiq.tools import elide class _ScheduleModel(DictSyncModel): diff --git a/artiq/tools.py b/artiq/tools.py index 7505081f8..819979bb0 100644 --- a/artiq/tools.py +++ b/artiq/tools.py @@ -8,6 +8,8 @@ import time import collections import os.path +import numpy as np + from artiq.language.environment import is_experiment from artiq.protocols import pyon