Package bmrblib :: Module version :: Class Star_version
[hide private]
[frames] | no frames]

type Star_version

source code


A singleton for storing the NMR-STAR version information.

Instance Methods [hide private]
 
set_version(self, version)
Set the version number and extract the major, minor and revision numbers.
source code
 
parse_version(self)
Convert the version number string into the major, minor, and revision numbers.
source code
Static Methods [hide private]
 
__new__(self, *args, **kargs)
Replacement function for implementing the singleton design pattern.
source code
Class Variables [hide private]
  instance = None
Method Details [hide private]

__new__(self, *args, **kargs)
Static Method

source code 

Replacement function for implementing the singleton design pattern.

Overrides: object.__new__

set_version(self, version)

source code 

Set the version number and extract the major, minor and revision numbers.

Parameters:
  • version (str) - The NMR-STAR version number.