Ignore:
Timestamp:
Nov 24, 2009, 3:25:22 PM (13 years ago)
Author:
ole
Message:

Got rid of environment variables and move log file to output dir.
The logging module will need some work, though.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_validation/automated_validation_tests/patong_beach_validation/project.py

    r7566 r7567  
    192192
    193193# create paths generated from environment variables.
    194 home = join(os.getenv(ENV_INUNDATIONHOME), 'data') # Absolute path for data folder
    195 muxhome = os.getenv(ENV_MUXHOME)
    196    
     194#home = join(os.getenv(ENV_INUNDATIONHOME), 'data') # Absolute path for data folder
     195#muxhome = os.getenv(ENV_MUXHOME)
     196
     197output_dirname = os.path.dirname(__file__)
     198home = os.path.join(output_dirname, 'local_data', 'data')
     199muxhome = home # FIXME (Ole): Get rid off
     200
    197201# check various directories/files that must exist
    198202anuga_folder = join(home, state, scenario_folder, 'anuga')
Note: See TracChangeset for help on using the changeset viewer.