Skip to content

Commit 44249ae

Browse files
committed
REmove processing db from cli
1 parent f615d4c commit 44249ae

1 file changed

Lines changed: 2 additions & 18 deletions

File tree

src/murfey/cli/create_db.py

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
import argparse
22

33
from 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

106
def 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())

0 commit comments

Comments
 (0)