Ignore:
Timestamp:
Feb 25, 2009, 11:03:22 AM (15 years ago)
Author:
rwilson
Message:

Removed old code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/numpy/anuga/utilities/system_tools.py

    r6410 r6411  
    247247       
    248248   
    249 ###
    250 ## @brief Split a string into 'clean' fields.
    251 ## @param line The string to process.
    252 ## @param delimiter The delimiter string to split 'line' with.
    253 ## @return A list of 'cleaned' field strings.
    254 ## @note Any fields that were initially zero length will be removed.
    255 #def clean_line(line,delimiter):
    256 #    """Remove whitespace
    257 #    """
    258 #
    259 #    line = line.strip()
    260 #    numbers = line.split(delimiter)
    261 #
    262 #    i = len(numbers) - 1
    263 #    while i >= 0:
    264 #        if numbers[i] == '':
    265 #            numbers.pop(i)
    266 #        else:
    267 #            numbers[i] = numbers[i].strip()
    268 #        i += -1
    269 #
    270 #    return numbers
    271 
    272249##
    273250# @brief Split a string into 'clean' fields.
Note: See TracChangeset for help on using the changeset viewer.