Skip to content

reject files not ending in .root when fetching #31

@chosila

Description

@chosila

Currently run 2022 seems to have many files that end in .root.dqminfo, which when loaded by datafetcher throws and error such as

WARNING  [DataFetcher : load_data] Problem loading file                                                                                                                                        data_fetcher.py:265
     'root://eoscms.cern.ch//eos/cms/store/group/comm_dqm/DQMGUI_data/Run2022/SingleMuon/0003541xx/DQM_V0001_R000354113__SingleMuon__Run2022A-PromptReco-v1__DQMIO.root.dqminfo', it might                    
     be corrupted. We will just skip this file.                                                                                                                                                               

It does not halt the fetching as the fetcher just skips the file, but it may prevent user from knowing if one of the files really was corrupted and needs to be reported.

Perhaps we can make sure that the file ends in .root before loading the files into fetcher.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions