We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a04290 commit 5a58993Copy full SHA for 5a58993
deeptools/computeMatrix.py
@@ -354,6 +354,14 @@ def process_args(args=None):
354
355
if args.quiet is True:
356
args.verbose = False
357
+
358
+ # Ensure before and after region length is positive
359
+ if args.beforeRegionStartLength < 0:
360
+ print(f"beforeRegionStartLength changed from {args.beforeRegionStartLength} into {abs(args.beforeRegionStartLength)}")
361
+ args.beforeRegionStartLength = abs(args.beforeRegionStartLength)
362
+ if args.afterRegionStartLength < 0:
363
+ print(f"afterRegionStartLength changed from {args.afterRegionStartLength} into {abs(args.afterRegionStartLength)}")
364
+ args.afterRegionStartLength = abs(args.afterRegionStartLength)
365
366
if args.command == 'scale-regions':
367
args.nanAfterEnd = False
0 commit comments