aboutsummaryrefslogtreecommitdiff
path: root/scripts/move-entire-detector
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-10-18 13:56:05 +0200
committerThomas White <taw@physics.org>2017-10-18 13:56:05 +0200
commit5e47163357008908d77258261bf411083a84820f (patch)
treeba239d4d84584ee790f9402283e3910a2e7dcc2d /scripts/move-entire-detector
parent8ea97aa3b3d12d4ccad01373e3ea4782645202ef (diff)
move-entire-detector: Fix output filename
Diffstat (limited to 'scripts/move-entire-detector')
-rwxr-xr-xscripts/move-entire-detector2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/move-entire-detector b/scripts/move-entire-detector
index 3d06c408..ffd6120f 100755
--- a/scripts/move-entire-detector
+++ b/scripts/move-entire-detector
@@ -46,7 +46,7 @@ args = op.parse_args()
if not args.ofn:
out = os.path.splitext(args.ifn)[0]+'-shifted.geom'
else:
- out = opt.ofn
+ out = args.ofn
if args.px:
units = 'px'