diff options
author | Picca Frédéric-Emmanuel <picca@synchrotron-soleil.fr> | 2016-10-12 16:38:53 +0200 |
---|---|---|
committer | Picca Frédéric-Emmanuel <picca@synchrotron-soleil.fr> | 2016-10-12 16:38:53 +0200 |
commit | b51ca907f1240726cd071f8629b372a541d077bc (patch) | |
tree | 24f73dec967e24ed2a2d0658491cf07f744c134f | |
parent | bb942c643a697c033c63209e42177263338efac4 (diff) |
fix for real the new nexusdir
-rw-r--r-- | binoculars/backends/sixs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binoculars/backends/sixs.py b/binoculars/backends/sixs.py index ebe448f..5e1bf32 100644 --- a/binoculars/backends/sixs.py +++ b/binoculars/backends/sixs.py @@ -404,7 +404,7 @@ class SIXS(backend.InputBase): filename = None if self.config.nexusdir: dirname = self.config.nexusdir - files = [f for f in os.listdir(dirname) if str(scanno) in f] + files = [f for f in os.listdir(dirname) if str(scanno).zfill(5) in f] if files is not []: filename = os.path.join(dirname, files[0]) else: |