Closed licode closed 8 years ago
@@ master #23 diff @@
==========================================
Files 4 5 +1
Lines 848 858 +10
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
+ Hits 814 827 +13
+ Misses 34 31 -3
Partials 0 0
Powered by Codecov. Last update 5daa5da...b0c0e45
Change on mds is updated for suitcase. more comments?
I see that you added a metadatastore argument to the insert functions. This is a good change. You made it optional with a default value of db
from from databroker import db
. Unfortunately, if there are no global configuration files, that import will fail. If we want these insert functions to work going forward, I think the only safe thing to do is make the metadatastore argument required with no default.
Also, as a minor point, the name "mdsc" comes from "metadatastore.commands" which is now gone. Might as well name your new parameter mds
, the same as we have named it elsewhere.
Thanks for the suggestions. Also doc needs to be improved.
remove default on db.mds. done.
I think this is ready to go.
more comments on this? @danielballan
Sorry for the delay, @licode. Fix the one syntax problem and then self-merge this at will.
good catch. thanks!
Correction based on https://github.com/NSLS-II/suitcase/pull/21