File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -104,4 +104,3 @@ venv.bak/
104104# mypy
105105.mypy_cache /
106106.DS_Store
107- .vscode
Original file line number Diff line number Diff line change @@ -204,6 +204,11 @@ def parse_ref(
204204 parser: The argument parser
205205 args: Parsed command-line arguments
206206 """
207+ if args .n > 1 :
208+ logger .warning (
209+ 'Support for split indices (`-n`) will be deprecated in the next major release. '
210+ 'Please read the release notes on GitHub for more information. '
211+ )
207212
208213 if args .k is not None :
209214 if args .k < 0 or not args .k % 2 :
@@ -255,6 +260,7 @@ def parse_ref(
255260 args .g ,
256261 args .c1 ,
257262 args .c2 ,
263+ n = args .n ,
258264 k = args .k ,
259265 flank = args .flank ,
260266 include = include ,
@@ -283,6 +289,7 @@ def parse_ref(
283289 args .f1 ,
284290 args .i ,
285291 args .g ,
292+ n = args .n ,
286293 k = args .k ,
287294 no_mismatches = args .no_mismatches ,
288295 overwrite = args .overwrite ,
@@ -295,6 +302,7 @@ def parse_ref(
295302 args .f1 ,
296303 args .i ,
297304 args .g ,
305+ n = args .n ,
298306 k = args .k ,
299307 include = include ,
300308 exclude = exclude ,
You can’t perform that action at this time.
0 commit comments