Statistiques
| Révision :

root / prepareQMX / qmxDEF.py @ 10

Historique | Voir | Annoter | Télécharger (637 octet)

1
#!/usr/bin/env python
2

    
3
# GRAPHICAL interface for setup of QMX calculations
4
#
5
# Torsten Kerber, ENS LYON: 2011, 07, 11
6
#
7
# This work is supported by Award No. UK-C0017, made by King Abdullah
8
# University of Science and Technology (KAUST)
9

    
10
#-------------------------------------------------------------------------------
11
#--- GENERAL -------------------------------------------------------------------
12
#-------------------------------------------------------------------------------
13
class Definition(object):
14
    def getValue(self, key):
15
        if self.keywords.__contains__(key):
16
            return self.keywords[key]
17
        return ''
18