Skip to content

Commit

Permalink
Try to distinguish tiled sources
Browse files Browse the repository at this point in the history
  • Loading branch information
vasole committed Apr 8, 2024
1 parent 069d458 commit 480f140
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion PyMca5/PyMcaCore/NexusDataSource.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# The PyMca X-Ray Fluorescence Toolkit
#
# Copyright (c) 2004-2023 European Synchrotron Radiation Facility
# Copyright (c) 2004-2024 European Synchrotron Radiation Facility
#
# This file is part of the PyMca X-ray Fluorescence Toolkit developed at
# the ESRF.
Expand Down Expand Up @@ -242,6 +242,8 @@ def refresh(self):
if '%' in name:
phynxInstance = h5py.File(name, 'r',
driver='family')
elif name.startswith("tiled"):
print("trying tiled source")
else:
raise IOError("File %s does not exists" % name)
try:
Expand Down

0 comments on commit 480f140

Please sign in to comment.