/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Static Public Attributes
DybPython::chop::VldInsertDateCutter Class Reference

List of all members.

Public Member Functions

def __call__

Static Public Attributes

tuple ptn = re.compile(".*Vld\.csv$")

Detailed Description

Definition at line 78 of file chop.py.


Member Function Documentation

def DybPython::chop::VldInsertDateCutter::__call__ (   self,
  s,
  t 
)

Definition at line 80 of file chop.py.

00081                              :
00082         assert os.path.exists(s) and os.path.isfile(s)
00083         tdir = os.path.dirname(t)
00084         mkdir(tdir) 
00085         name = os.path.basename(s)
00086         match = self.ptn.match(s)
00087         if match:
00088             cmd = "cut -d, --complement -f 10 %(s)s > %(t)s " % locals() 
00089         else:
00090             cmd = "cat %(s)s > %(t)s " % locals() 
00091         pass
00092         ret, rc = do(cmd)
00093         assert rc == 0, (cmd,rc,ret) 
00094 


Member Data Documentation

tuple DybPython::chop::VldInsertDateCutter::ptn = re.compile(".*Vld\.csv$") [static]

Definition at line 79 of file chop.py.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:55:40 for DybPython by doxygen 1.7.4