def updateCopysetups(cmd3, transferType=None, useCT=None, directIn=None, useFileStager=None): """ Update the relevant copysetup fields for remote I/O or file stager """ si = SiteInformation() _copysetupin = readpar('copysetupin') _copysetup = readpar('copysetup') if _copysetupin != "": si.updateCopysetup(cmd3, 'copysetupin', _copysetupin, transferType=transferType, useCT=useCT, directIn=directIn, useFileStager=useFileStager) else: si.updateCopysetup(cmd3, 'copysetup', _copysetup, transferType=transferType, useCT=useCT, directIn=directIn, useFileStager=useFileStager)