Open prjemian opened 3 years ago
In separate conversation, we agreed that scan_id
should remain a kwarg but with default of None
so the user does not have to retrieve the current scan ID (as RE.md["scan_id"]
) and figure out if they should +1
to it or not. Schematically, the new handling (with scan_id=None
) will be:
if scan_id is None:
# pick up from the last scan_id
else:
# use the scan_id just provided
The new kwarg to be added to skip the reporting could be either verbose=True
or quiet=False
. Be consistent with other use here in hklpy and throughout Bluesky projects.
To me, the quiet=False
alternative sounds (almost) like a double negative.
I do find the quiet=False confusing at time; verbose=True is better.
@rodolakis suggest that the call to
hkl.user.newSpecFile()
be changed a bit:scan_id
kwarg should not be1
(maybe this should be a required argument?)newSpecFile()
command should report what it is doing