MCPcopy Create free account
hub / github.com/NSLS2/PyXRF / SimGlobalProcessingClasses

Class SimGlobalProcessingClasses

pyxrf/gui_module/tests/test_wd_image_wizard.py:30–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 """Simulated simplified 'GlobalProcessingClasses` class for testing"""
29
30 class SimGlobalProcessingClasses:
31 def __init__(self):
32 self.range_table = copy.deepcopy(maps_info_table)
33 # Selection limit table may be the same
34 self.limit_table = copy.deepcopy(maps_info_table)
35 # Show status table
36 self.show_table = [[_[0], False] for _ in self.range_table]
37
38 def get_maps_info_table(self):
39 # TODO: implementation needed
40 return self.range_table, self.limit_table, self.show_table
41
42 return SimGlobalProcessingClasses()
43

Callers 1

_get_gpc_simFunction · 0.85

Calls

no outgoing calls

Tested by 1

_get_gpc_simFunction · 0.68