aboutsummaryrefslogtreecommitdiff
path: root/scripts/move-entire-detector
AgeCommit message (Collapse)Author
2020-01-10Mass update of copyright datesThomas White
2019-04-12move-entire-detector: Add z directionThomas White
2017-10-18move-entire-detector: Fix output filenameThomas White
2017-05-12Make all Python scripts compatible with Python 2 and 3Thomas White
It would be nice to upgrade completely to Python 3, but this may create problems at SLAC because psana only supports Python 2 (Python 3 is available, but means that users have to jump through hoops to run a simple CrystFEL script). None of our scripts do anything complicated, so they can all be compatible with both so far. If anyone adds a script which requires a particular version, make sure to specify the version in the first line, consistent with PEP 394.
2016-08-16scripts/move-entire-detector: Use argparse instead of optparseThomas White
The main motivation for this was that argparse handles positional arguments which start with minus signs, which is the behaviour we prefer here.
2016-08-03Add scripts/move-entire-detector and scripts/split-by-maskThomas White