63 |
|
#### add check for outFiles |
64 |
|
#### add map {'inFileNAME':'outFileNAME'} to change out name |
65 |
|
|
66 |
– |
return msg |
66 |
|
|
67 |
|
def run( self ): |
68 |
|
""" |
69 |
|
Check if running on UI (no $middleware) or |
70 |
|
on WN (on the Grid), and take different action |
71 |
|
""" |
72 |
< |
OptRes = self.processOptions() |
72 |
> |
self.processOptions() |
73 |
|
if self.debug: print 'calling run() : \n' |
74 |
|
# stage out from WN |
75 |
|
if self.params['middleware'] : |
259 |
|
""" |
260 |
|
Make the real file copy using SE API |
261 |
|
""" |
262 |
+ |
msg = "" |
263 |
|
if self.debug : |
264 |
|
msg = 'copy() :\n' |
265 |
|
msg += '\tusing %s protocol\n'%protocol |