Skip to content

wt5: constants are not being written #67

@ddkohler

Description

@ddkohler
Traceback (most recent call last):

  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run

    self._context.run(self._callback, *self._args)

  File "/usr/local/lib/python3.12/site-packages/bluesky/run_engine.py", line 2461, in process

    exceptions = self.cb_registry.process(name, name.name, doc)

                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.12/site-packages/bluesky/utils/__init__.py", line 384, in process

    func(*args, **kwargs)

  File "/usr/local/lib/python3.12/site-packages/bluesky/utils/__init__.py", line 473, in __call__

    return mtd(*args, **kwargs)

           ^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.12/site-packages/event_model/__init__.py", line 203, in __call__

    return self._dispatch(name, doc, validate)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.12/site-packages/event_model/__init__.py", line 211, in _dispatch

    output_doc = getattr(self, name)(doc)

                 ^^^^^^^^^^^^^^^^^^^^^^^^

  File "//./wt5_event_model.py", line 162, in descriptor

    c = self.data[stream_name].create_constant(terms[0][0], units=units)
TypeError: Data.create_constant() got an unexpected keyword argument units

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions