piberger / Xbb

New repository for VHbb plus other Xbb analyses
0 stars 8 forks source link

add check for prep output files copied to SE #61

Closed perrozzi closed 6 years ago

piberger commented 6 years ago

one could use the "isValidRootFile" function: https://github.com/piberger/Xbb/blob/master/python/myutils/FileLocator.py#L96

perrozzi commented 6 years ago

done

piberger commented 6 years ago

getRemoteFileName is not necessary (outputFile should be already the full path when it is used in the .cp command). And looks like there is no exception thrown if file exists but is bad.

perrozzi commented 6 years ago

coding after drinking is not always a good idea :-D should ok now