| 17 |
|
""" |
| 18 |
|
|
| 19 |
|
__author__ = "Charles Vardeman (cvardema@nd.edu)" |
| 20 |
< |
__version__ = "$Revision: 1.4 $" |
| 21 |
< |
__date__ = "$Date: 2006-10-15 18:02:29 $" |
| 20 |
> |
__version__ = "$Revision: 1.5 $" |
| 21 |
> |
__date__ = "$Date: 2007-01-02 20:12:34 $" |
| 22 |
|
__copyright__ = "Copyright (c) 2006 by the University of Notre Dame" |
| 23 |
|
__license__ = "OOPSE" |
| 24 |
|
|
| 38 |
|
|
| 39 |
|
def splitFile(mdFileName,skipFrameNumber): |
| 40 |
|
mdFile = open(mdFileName, 'r') |
| 41 |
+ |
|
| 42 |
+ |
(filepath, filename) = os.path.split(mdFileName) |
| 43 |
|
|
| 44 |
< |
outfilePrefix,ext = os.path.splitext(mdFileName) |
| 44 |
> |
(outfilePrefix,ext) = os.path.splitext(filename) |
| 45 |
|
|
| 46 |
|
|
| 47 |
|
|