labscript-suite-oldfinal1 / runmanager

runmanager is a graphical user interface (GUI) used to aid the compilation of labscript experiment scripts into hardware instructions to be executed on the hardware. Experiment parameters can be adjusted in the GUI, and lists of parameters can be used to create sequences of experiments, and scan over complex parameter spaces.
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Globals diffing broken in pandas 0.20.1 #40

Closed philipstarkey closed 7 years ago

philipstarkey commented 7 years ago

Original report (archived issue) by Chris Billington (Bitbucket: cbillington, GitHub: chrisjbillington).


Globals diffing is broken with pandas 0.20.1

#!python

Traceback (most recent call last):
  File "/home/cjb7/labscript_suite/runmanager/__main__.py", line 1942, in on_diff_globals_file_clicked
    globals_diff_table = runmanager.globals_diff_groups(active_groups, other_groups)
  File "/home/cjb7/labscript_suite/runmanager/__init__.py", line 805, in globals_diff_groups
    df = df.sort()
  File "/usr/local/lib/python2.7/dist-packages/pandas/core/generic.py", line 2970, in __getattr__
    return object.__getattribute__(self, name)
AttributeError: 'DataFrame' object has no attribute 'sort'
philipstarkey commented 7 years ago

Original comment by Chris Billington (Bitbucket: cbillington, GitHub: chrisjbillington).


Fixed by b0794cc31b5dfc92df1ee60efccbf334948a01bf (pull request #6)