Changeset 54


Ignore:
Timestamp:
Jan 28, 2010 5:42:43 PM (11 years ago)
Author:
wehart
Message:

Renaming the CooprNEOSPlugin project to coopr.neos, which is consistent with other
Coopr project names.

Location:
projects
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • projects/ApplicationWaterSecuritySP/trunk/bin/impact2dat

    r41 r54  
    55import os
    66from optparse import OptionParser
     7import gzip
    78
    89
     
    1213
    1314def parse_impact(filename):
     15    if filename.endswith('.gz'):
     16        f = gzip.open(filename, 'rb')
     17        f.read().split()
     18        f.close()
     19    lines =
    1420    INPUT=open(filename, 'r')
    1521    INPUT.readline()
Note: See TracChangeset for help on using the changeset viewer.