used version of apstools without databroker problems
For WP 2829
Tested with:
#configure a temp run engine environment
from bluesky import RunEngine
RE = RunEngine({})
from bluesky.callbacks.best_effort import BestEffortCallback
bec = BestEffortCallback()
# Send all metadata/data captured to the BestEffortCallback.
RE.subscribe(bec)
from databroker.v2 import temp
db = temp()
# Insert all metadata/data captured into db.
RE.subscribe(db.v1.insert)
from bluesky.plans import scan
from apstools.callbacks import NXWriter
import pathlib
import os
h5_file = pathlib.Path(os.getcwd()+"/data/nxwriter.h5")
nxwriter = NXWriter()
RE.subscribe(nxwriter.receiver)
nxwriter.file_name = str(h5_file)
nxwriter.warn_on_missing_content = False
from ophyd.sim import det, motor
RE(scan([det],motor, 1,-1,10))
nexus file was produced