Ignore:
Timestamp:
Jun 16, 2014, 8:08:34 PM (10 years ago)
Author:
steve
Message:

Changes to validation scripts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/__init__.py

    r9095 r9164  
    141141from anuga.file_conversion.dem2dem import dem2dem
    142142from anuga.file_conversion.sww2array import sww2array
     143
     144#-----------------------------
     145# Parsing arguments
     146#-----------------------------
     147from anuga.utilities.argparsing import create_standard_parser
     148from anuga.utilities.argparsing import parse_standard_args
     149
     150
     151def get_args():
     152    """ Explicitly parse the argument list using standard anuga arguments
     153   
     154    Don't use this if you want to setup your own parser
     155    """
     156    parser = create_standard_parser()
     157    return parser.parse_args()
     158
     159
     160#-----------------------------
     161# Running Script
     162#-----------------------------
     163from anuga.utilities.run_anuga_script import run_script as run_anuga_script
    143164
    144165
Note: See TracChangeset for help on using the changeset viewer.