-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SPEC filewriter scan numbering when "new" data file exists #128
Comments
Example:
Yes, |
Should use a package to parse existing SPEC file. Possibilities are silx (ESRF) or spec2nexus (mine) Here is the relevant silx documentation: http://www.silx.org/doc/silx/latest/modules/io/specfile.html?highlight=spec#module-silx.io.specfile |
This has bogged down trying to get a databroker document stream into a temporary db backend for testing. We've got the JSON and can read it but the db.insert fails on the first |
Skipping the databroker for now, we have document streams (from scans with real hardware) ready to use in the unit tests. |
In SpecWriterCallback.newfile(), when kwarg
scan_id=None
(the default) and the chosen file already exists, the next scan_id should be determined from the existing file. One of these (perhaps the max of all):The text was updated successfully, but these errors were encountered: