source: TI04-geosplat/trunk/pygss/ValidateSelection.py @ 798

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI04-geosplat/trunk/pygss/ValidateSelection.py@6809
Revision 798, 920 bytes checked in by astephen, 14 years ago (diff)

Latest working version with install method.
Can accept more than one file but doesn't combine variables yet.

Line 
1#   Copyright (C) 2004 CCLRC & NERC( Natural Environment Research Council ).
2#   This software may be distributed under the terms of the
3#   Q Public License, version 1.0 or later. http://ndg.nerc.ac.uk/public_docs/QPublic_license.txt
4
5"""
6ValidateSelection.py
7====================
8
9Contains the class ValidateSelection used to validate the contents of a
10user's selected task against the known options and limitations.
11
12"""
13
14# Import library modules
15import os, sys
16
17# Import package modules
18from serverConfig import *
19from common import *
20
21class ValidateSelection:
22    """
23    Class to validate the contents of a user request against the
24    available options.
25    """
26   
27    def __init__(self, sessionObj):
28        """
29        Defines inputs as instance variables.
30        """
31        self.bag=sessionObj
32
33    def validate(self):
34        """
35        Validates options requested.
36        """
37        return 1
38       
39   
Note: See TracBrowser for help on using the repository browser.