NSLS-II-QAS / profile_collection

beamline configuration at QAS
BSD 3-Clause "New" or "Revised" License
0 stars 4 forks source link

ISS-QAS merge #12

Closed jklynch closed 3 years ago

jklynch commented 4 years ago

Here is where we left off.

jlynch@xf07bm-ws2:~/.ipython/profile_collection/startup$ BS_ENV=/tmp/iss-qas-env/ bsui
...
/tmp/iss-qas-env/lib/python3.7/site-packages/IPython/core/interactiveshell.py in safe_execfile(self, fname, exit_ignore, raise_exceptions, shell_futures, *where)
   2710                 py3compat.execfile(
   2711                     fname, glob, loc,
-> 2712                     self.compile if shell_futures else None)
   2713             except SystemExit as status:
   2714                 # If the call was made with 0 or None exit status (sys.exit(0)

/tmp/iss-qas-env/lib/python3.7/site-packages/IPython/utils/py3compat.py in execfile(fname, glob, loc, compiler)
    186     with open(fname, 'rb') as f:
    187         compiler = compiler or compile
--> 188         exec(compiler(f.read(), fname, 'exec'), glob, loc)
    189
    190 # Refactor print statements in doctests.

~/.ipython/profile_collection/startup/99-gui.py in <module>
     68                                     motors_dict=motors_dictionary,
     69                                     sample_stages = sample_stages,
---> 70                                     window_title="XLive @QAS/7-BM NSLS-II",
     71                                    )
     72

~/isstools/isstools/xlive.py in __init__(self, plan_funcs, service_plan_funcs, aux_plan_funcs, RE, db, accelerator, hhm, shutters_dict, det_dict, motors_dict, sample_stage, tune_elements, ic_amplifiers, window_title, *args, **kwargs)
     77         '''
     78
---> 79         super().__init__(*args, **kwargs)
     80         self.setupUi(self)
     81

TypeError: 'sample_stages' is an unknown keyword argument
jklynch commented 4 years ago

Better tools next time! graphical diff?