Skip to content

Commit

Permalink
Re #1790 Partially fix issue with unique IX_detector_array container,…
Browse files Browse the repository at this point in the history
… comparing detectors on the basis of their positions and not the name of the file, they are obtained from.
  • Loading branch information
abuts committed Dec 22, 2024
1 parent 90c1ebc commit d8c8d26
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -598,8 +598,10 @@
end
function flds = hashableFields(~)
% Return cellarray of properties defining the class hash for
% comparison
flds = {'det_bank', 'filename'};
% comparison. Filename and filepath should not be used in
% hashes as detectors retrieved from different experiment files
% are usually the same.
flds = {'det_bank'};
end

function flds = saveableFields(~)
Expand Down

0 comments on commit d8c8d26

Please sign in to comment.