Ignore:
Timestamp:
Jun 18, 2010, 6:05:23 PM (12 years ago)
Author:
hudson
Message:

Fixed AABB parameter passing bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/file_conversion/test_csv2sts.py

    r7853 r7861  
    11#external modules
    22import os
     3import sys
    34import unittest
    45import numpy as num
     
    7576        Make sure that the python file functions as a command-line tool.
    7677        """
    77         cmd = 'python csv2sts.py --latitude ' + str(lat) + ' --lon ' + str(lon)
    78         cmd += ' ' + testfile_csv + ' ' + sts_out
    79         print cmd
     78       
     79        cmd = 'python ' + sys.path[0] + os.sep +'csv2sts.py --latitude '
     80        cmd += '%s --lon %s %s %s' % (str(lat), str(lon), testfile_csv, sts_out)
     81       
    8082        os.system(cmd)
    8183        self._check_generated_sts()
Note: See TracChangeset for help on using the changeset viewer.