diff options
-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: |