about summary refs log tree commit diff
diff options
context:
space:
mode:
authorArun Isaac2026-08-27 01:11:28 +0100
committerArun Isaac2026-08-27 01:12:07 +0100
commitff40d448e277aff062b7b2cf7b61548dc898cf87 (patch)
tree58614480ea8ba6d3bd8d866ea65eb0c01fb7d29a
parenta8cf19418b66751760182952d80b327d7131f438 (diff)
downloaddomagi-ff40d448e277aff062b7b2cf7b61548dc898cf87.tar.gz
domagi-ff40d448e277aff062b7b2cf7b61548dc898cf87.tar.lz
domagi-ff40d448e277aff062b7b2cf7b61548dc898cf87.zip
Move extract --context-steps option close to --node.
-rw-r--r--domagi/domagi.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/domagi/domagi.py b/domagi/domagi.py
index 0abf006..eda2981 100644
--- a/domagi/domagi.py
+++ b/domagi/domagi.py
@@ -225,14 +225,14 @@ def depth(con, graph_depth_table, paths, bed_input, threads, progress):
 @click.option("-n", "--node", "segment_name",
               type=click.STRING,
               help="segment name from which to begin the traversal")
-@click.option("-r", "--path-range", "path_range",
-              type=click.STRING,
-              metavar="PATH[:POS1[-POS2]]",
-              help="extract segments in path range")
 @click.option("-c", "--context-steps", "steps",
               type=click.INT,
               # TODO: Add default=0
               help="number of traversal steps")
+@click.option("-r", "--path-range", "path_range",
+              type=click.STRING,
+              metavar="PATH[:POS1[-POS2]]",
+              help="extract segments in path range")
 @common_options
 def extract(con, outfile, segment_name, path_range, steps, threads, progress):
     set_duckdb_threads(con, threads)