File tree 1 file changed +7
-5
lines changed
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 30
30
31
31
__version__ = '2.0.0'
32
32
33
- # Known version incompatabilities
34
- from distutils .version import StrictVersion
35
- from labscript_utils import VersionException
36
- if StrictVersion (pandas .__version__ ) >= StrictVersion ('0.17.0' ):
37
- raise VersionException ('lyse version %s is incompatible with pandas %s. Please downgrade pandas to 0.16.2.' % (__version__ , pandas .__version__ ))
33
+ try :
34
+ from labscript_utils import check_version
35
+ except ImportError :
36
+ raise ImportError ('Require labscript_utils > 2.1.0' )
37
+
38
+ # allow pandas v0.15.0 to v0.16.x inclusive
39
+ check_version ('pandas' , '0.15.0' , '0.17' )
38
40
39
41
# If running stand-alone, and not from within lyse, the below two variables
40
42
# will be as follows. Otherwise lyse will override them with spinning_top =
You can’t perform that action at this time.
0 commit comments