Package magma :: Package magma :: Module __future__ :: Class Magma
[hide private]
[frames] | no frames]

Class Magma

source code

      object --+    
               |    
magma_list.Magma --+
                   |
                  Magma

Instance Methods [hide private]
 
__init__(self, *args, **kwds)
A Magma list.
source code

Inherited from magma_list.Magma: __str__, create_magma_from_files, dump, files, get_file_magnets, get_magma_metadata, get_yaml_data, is_magma, magma_v0_2_data, magma_v0_2_filelist_representation, print_data, readout_magma_from_file, readout_yaml, remove_empty_entries, save

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Instance Variables [hide private]

Inherited from magma_list.Magma: data, magnets, metadata

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args, **kwds)
(Constructor)

source code 

A Magma list.

Parameters:
  • magma_file - The path to the magma file, either absolute or relative the the location this script is invoked from.
  • input_files - A list of file_paths of input files which should be included in the magma list.
  • creator - An identifier for the creator of the Magma file.
  • yaml_data - Raw file data as read from a Magma file.
  • data - A native Python dict with the data.
Overrides: object.__init__
(inherited documentation)