ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/applications/utilities/mdSplit
(Generate patch)

Comparing trunk/OOPSE-4/src/applications/utilities/mdSplit (file contents):
Revision 3106 by chuckv, Tue Jan 2 20:30:18 2007 UTC vs.
Revision 3107 by chuckv, Tue Jan 2 20:42:44 2007 UTC

# Line 17 | Line 17 | __version__ = "$Revision: 1.6 $"
17   """
18  
19   __author__ = "Charles Vardeman (cvardema@nd.edu)"
20 < __version__ = "$Revision: 1.6 $"
21 < __date__ = "$Date: 2007-01-02 20:30:18 $"
20 > __version__ = "$Revision: 1.7 $"
21 > __date__ = "$Date: 2007-01-02 20:42:44 $"
22   __copyright__ = "Copyright (c) 2006 by the University of Notre Dame"
23   __license__ = "OOPSE"
24  
# Line 85 | Line 85 | def splitFile(mdFileName,skipFrameNumber):
85              foundFrames += 1
86              division,remainder=divmod(foundFrames,int(skipFrameNumber))
87              if (remainder == 0):
88 <                outfilename = outfilePrefix + "_" + %04d repr(foundFrames) + ext
88 >                outfilename = outfilePrefix + "_" + "%04d" % foundFrames + ext
89                  outFile = open(outfilename,'w')
90                  outFile.write(OOPSEversion)
91                  for metaline in metaDataFrame:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines