Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/PyMca5/PyMcaPhysics/xrf/McaAdvancedFitBatch.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-2025 European Synchrotron Radiation Facility
#
# This file is part of the PyMca X-ray Fluorescence Toolkit developed at
# the ESRF.
Expand Down Expand Up @@ -44,6 +44,8 @@
from PyMca5.PyMcaIO import EDFStack
from PyMca5.PyMcaIO import LispixMap
from PyMca5.PyMcaIO import NumpyStack
from PyMca5.PyMcaIO import BrukerBCF

try:
import h5py
from PyMca5.PyMcaIO import HDF5Stack1D
Expand Down Expand Up @@ -338,6 +340,10 @@ def getFileHandle(self, inputfile):
scanlist=scanlist)

ffile = self.__tryEdf(inputfile)
if ffile is None:
if BrukerBCF.HAS_BCF_SUPPORT:
if BrukerBCF.isBrukerBCFFile(inputfile):
ffile = BrukerBCF.BrukerBCF(inputfile)
if ffile is None:
ffile = self.__tryLucia(inputfile)
if ffile is None:
Expand Down