Ignore:
Timestamp:
Oct 24, 2006, 12:59:08 PM (18 years ago)
Author:
ole
Message:

Refactored references to domain.filename away.
Use

domain.set_name()
domain.get_name()

instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/examples/netherlands.py

    r3842 r3846  
    126126    #FIXME: This was os.path.splitext but caused weird filenames based on root
    127127    base = os.path.basename(sys.argv[0])
    128     domain.filename, _ = os.path.splitext(base)
     128    basename, _ = os.path.splitext(base)
     129    domain.set_name(basename)
    129130else:
    130131    #domain.initialise_visualiser(rect=[0.0,0.0,1.0,1.0])
Note: See TracChangeset for help on using the changeset viewer.