ENLIGHTEN
Cross-platform desktop GUI for Wasatch Photonics spectrometers
Loading...
Searching...
No Matches
enlighten.KnowItAll.Config.Config Class Reference

Configuration of the KnowItAll module. More...

Public Member Functions

 __init__ (self, pathname=None)
 
 get_pathname (self)
 
 load (self)
 
 save (self)
 

Public Attributes

dict aliases = {}
 
 benigns = set()
 
dict external = {}
 
 hazards = set()
 
 pathname = pathname
 
 suppressed = set()
 
dict unalias = {}
 

Detailed Description

Configuration of the KnowItAll module.

Tracks aliases, benigns, hazards and suppressed compound names.

Note that KIA compound names may include single- and double-quotes, apostrophes, backticks, Greek, TM symbols and who-knows-what-else, so hopefully the JSON module does a good job of quoting unicode.

Constructor & Destructor Documentation

◆ __init__()

enlighten.KnowItAll.Config.Config.__init__ ( self,
pathname = None )

Member Function Documentation

◆ get_pathname()

enlighten.KnowItAll.Config.Config.get_pathname ( self)

◆ load()

enlighten.KnowItAll.Config.Config.load ( self)

◆ save()

enlighten.KnowItAll.Config.Config.save ( self)

Member Data Documentation

◆ aliases

dict enlighten.KnowItAll.Config.Config.aliases = {}

◆ benigns

enlighten.KnowItAll.Config.Config.benigns = set()

◆ external

dict enlighten.KnowItAll.Config.Config.external = {}

◆ hazards

enlighten.KnowItAll.Config.Config.hazards = set()

◆ pathname

enlighten.KnowItAll.Config.Config.pathname = pathname

◆ suppressed

enlighten.KnowItAll.Config.Config.suppressed = set()

◆ unalias

dict enlighten.KnowItAll.Config.Config.unalias = {}

The documentation for this class was generated from the following file: