immuneML.dsl.symbol_table package

Submodules

immuneML.dsl.symbol_table.SymbolTable module

class immuneML.dsl.symbol_table.SymbolTable.SymbolTable[source]

Bases: object

Symbol table contains all objects parsed from the specification in the following format:

symbol

symbol_type

item

config

e1

encoding

EncodingObject

{..}

-> SymbolTableEntry object

seq1

preprocessing

[ClonesPerRepertoireFilter(), MetadataRepertoireFilter()]

{..}

-> SymbolTableEntry object

add(symbol: str, symbol_type: SymbolType, item, config: dict = None)[source]
contains(symbol)[source]
get(symbol)[source]
get_by_type(symbol_type: SymbolType) List[SymbolTableEntry][source]
get_config(symbol)[source]
get_keys_by_type(symbol_type: SymbolType) list[source]

immuneML.dsl.symbol_table.SymbolTableEntry module

class immuneML.dsl.symbol_table.SymbolTableEntry.SymbolTableEntry(symbol: str, symbol_type: SymbolType, item, config: dict = None)[source]

Bases: object

immuneML.dsl.symbol_table.SymbolType module

class immuneML.dsl.symbol_table.SymbolType.SymbolType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

DATASET = 3
ENCODING = 4
INSTRUCTION = 8
ML_METHOD = 2
MOTIF = 0
OUTPUT = 9
PREPROCESSING = 7
REPORT = 5
SIGNAL = 1
SIMULATION = 6

Module contents