File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import argparse
22
33from murfey .util .db import clear , setup
4- from murfey .util .processing_db import (
5- clear as processing_db_clear ,
6- setup as processing_db_setup ,
7- )
84
95
106def run ():
@@ -18,24 +14,12 @@ def run():
1814 action = "store_false" ,
1915 help = "Do not clear current database tables before creating specified tables" ,
2016 )
21- parser .add_argument (
22- "--include-processing" ,
23- dest = "processing" ,
24- default = True ,
25- action = "store_true" ,
26- help = "Include processing results tables (MotionCorr, CTF, etc)" ,
27- )
2817
2918 args = parser .parse_args ()
3019
3120 from murfey .server .murfey_db import url
3221
33- if args .clear and args .processing :
34- processing_db_clear (url ())
35- elif args .clear :
22+ if args .clear :
3623 clear (url ())
3724
38- if args .processing :
39- processing_db_setup (url ())
40- else :
41- setup (url ())
25+ setup (url ())
You can’t perform that action at this time.
0 commit comments