Add optional --sxtal-refgen-path cli argument
This commit is contained in:
@@ -6,7 +6,7 @@ from bokeh.application.application import Application
|
|||||||
from bokeh.application.handlers import ScriptHandler
|
from bokeh.application.handlers import ScriptHandler
|
||||||
from bokeh.server.server import Server
|
from bokeh.server.server import Server
|
||||||
|
|
||||||
from pyzebra.anatric import ANATRIC_PATH
|
from pyzebra import ANATRIC_PATH, SXTAL_REFGEN_PATH
|
||||||
from pyzebra.app.handler import PyzebraHandler
|
from pyzebra.app.handler import PyzebraHandler
|
||||||
|
|
||||||
logging.basicConfig(format="%(asctime)s %(message)s", level=logging.INFO)
|
logging.basicConfig(format="%(asctime)s %(message)s", level=logging.INFO)
|
||||||
@@ -42,6 +42,13 @@ def main():
|
|||||||
"--anatric-path", type=str, default=ANATRIC_PATH, help="path to anatric executable",
|
"--anatric-path", type=str, default=ANATRIC_PATH, help="path to anatric executable",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
parser.add_argument(
|
||||||
|
"--sxtal-refgen-path",
|
||||||
|
type=str,
|
||||||
|
default=SXTAL_REFGEN_PATH,
|
||||||
|
help="path to Sxtal_Refgen executable",
|
||||||
|
)
|
||||||
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--spind-path", type=str, default=None, help="path to spind scripts folder",
|
"--spind-path", type=str, default=None, help="path to spind scripts folder",
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user