hexsha
string | size
int64 | ext
string | lang
string | max_stars_repo_path
string | max_stars_repo_name
string | max_stars_repo_head_hexsha
string | max_stars_repo_licenses
list | max_stars_count
int64 | max_stars_repo_stars_event_min_datetime
string | max_stars_repo_stars_event_max_datetime
string | max_issues_repo_path
string | max_issues_repo_name
string | max_issues_repo_head_hexsha
string | max_issues_repo_licenses
list | max_issues_count
int64 | max_issues_repo_issues_event_min_datetime
string | max_issues_repo_issues_event_max_datetime
string | max_forks_repo_path
string | max_forks_repo_name
string | max_forks_repo_head_hexsha
string | max_forks_repo_licenses
list | max_forks_count
int64 | max_forks_repo_forks_event_min_datetime
string | max_forks_repo_forks_event_max_datetime
string | content
string | avg_line_length
float64 | max_line_length
int64 | alphanum_fraction
float64 | qsc_code_num_words_quality_signal
int64 | qsc_code_num_chars_quality_signal
float64 | qsc_code_mean_word_length_quality_signal
float64 | qsc_code_frac_words_unique_quality_signal
float64 | qsc_code_frac_chars_top_2grams_quality_signal
float64 | qsc_code_frac_chars_top_3grams_quality_signal
float64 | qsc_code_frac_chars_top_4grams_quality_signal
float64 | qsc_code_frac_chars_dupe_5grams_quality_signal
float64 | qsc_code_frac_chars_dupe_6grams_quality_signal
float64 | qsc_code_frac_chars_dupe_7grams_quality_signal
float64 | qsc_code_frac_chars_dupe_8grams_quality_signal
float64 | qsc_code_frac_chars_dupe_9grams_quality_signal
float64 | qsc_code_frac_chars_dupe_10grams_quality_signal
float64 | qsc_code_frac_chars_replacement_symbols_quality_signal
float64 | qsc_code_frac_chars_digital_quality_signal
float64 | qsc_code_frac_chars_whitespace_quality_signal
float64 | qsc_code_size_file_byte_quality_signal
float64 | qsc_code_num_lines_quality_signal
float64 | qsc_code_num_chars_line_max_quality_signal
float64 | qsc_code_num_chars_line_mean_quality_signal
float64 | qsc_code_frac_chars_alphabet_quality_signal
float64 | qsc_code_frac_chars_comments_quality_signal
float64 | qsc_code_cate_xml_start_quality_signal
float64 | qsc_code_frac_lines_dupe_lines_quality_signal
float64 | qsc_code_cate_autogen_quality_signal
float64 | qsc_code_frac_lines_long_string_quality_signal
float64 | qsc_code_frac_chars_string_length_quality_signal
float64 | qsc_code_frac_chars_long_word_length_quality_signal
float64 | qsc_code_frac_lines_string_concat_quality_signal
float64 | qsc_code_cate_encoded_data_quality_signal
float64 | qsc_code_frac_chars_hex_words_quality_signal
float64 | qsc_code_frac_lines_prompt_comments_quality_signal
float64 | qsc_code_frac_lines_assert_quality_signal
float64 | qsc_codepython_cate_ast_quality_signal
float64 | qsc_codepython_frac_lines_func_ratio_quality_signal
float64 | qsc_codepython_cate_var_zero_quality_signal
bool | qsc_codepython_frac_lines_pass_quality_signal
float64 | qsc_codepython_frac_lines_import_quality_signal
float64 | qsc_codepython_frac_lines_simplefunc_quality_signal
float64 | qsc_codepython_score_lines_no_logic_quality_signal
float64 | qsc_codepython_frac_lines_print_quality_signal
float64 | qsc_code_num_words
int64 | qsc_code_num_chars
int64 | qsc_code_mean_word_length
int64 | qsc_code_frac_words_unique
null | qsc_code_frac_chars_top_2grams
int64 | qsc_code_frac_chars_top_3grams
int64 | qsc_code_frac_chars_top_4grams
int64 | qsc_code_frac_chars_dupe_5grams
int64 | qsc_code_frac_chars_dupe_6grams
int64 | qsc_code_frac_chars_dupe_7grams
int64 | qsc_code_frac_chars_dupe_8grams
int64 | qsc_code_frac_chars_dupe_9grams
int64 | qsc_code_frac_chars_dupe_10grams
int64 | qsc_code_frac_chars_replacement_symbols
int64 | qsc_code_frac_chars_digital
int64 | qsc_code_frac_chars_whitespace
int64 | qsc_code_size_file_byte
int64 | qsc_code_num_lines
int64 | qsc_code_num_chars_line_max
int64 | qsc_code_num_chars_line_mean
int64 | qsc_code_frac_chars_alphabet
int64 | qsc_code_frac_chars_comments
int64 | qsc_code_cate_xml_start
int64 | qsc_code_frac_lines_dupe_lines
int64 | qsc_code_cate_autogen
int64 | qsc_code_frac_lines_long_string
int64 | qsc_code_frac_chars_string_length
int64 | qsc_code_frac_chars_long_word_length
int64 | qsc_code_frac_lines_string_concat
null | qsc_code_cate_encoded_data
int64 | qsc_code_frac_chars_hex_words
int64 | qsc_code_frac_lines_prompt_comments
int64 | qsc_code_frac_lines_assert
int64 | qsc_codepython_cate_ast
int64 | qsc_codepython_frac_lines_func_ratio
int64 | qsc_codepython_cate_var_zero
int64 | qsc_codepython_frac_lines_pass
int64 | qsc_codepython_frac_lines_import
int64 | qsc_codepython_frac_lines_simplefunc
int64 | qsc_codepython_score_lines_no_logic
int64 | qsc_codepython_frac_lines_print
int64 | effective
string | hits
int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
38f47dfcd72147bfedbecca6e368f975816fe25a
| 8,921
|
py
|
Python
|
unittest/base/DirTraverserTest.py
|
hamatoma/snakeboxx
|
de4609e0d980c7ce775060e3813e71752e8670aa
|
[
"CC0-1.0"
] | null | null | null |
unittest/base/DirTraverserTest.py
|
hamatoma/snakeboxx
|
de4609e0d980c7ce775060e3813e71752e8670aa
|
[
"CC0-1.0"
] | null | null | null |
unittest/base/DirTraverserTest.py
|
hamatoma/snakeboxx
|
de4609e0d980c7ce775060e3813e71752e8670aa
|
[
"CC0-1.0"
] | null | null | null |
'''
Created on 12.04.2018
@author: hm
'''
import sys
print(sys.path)
from unittest.UnitTestCase import UnitTestCase
import shutil
import datetime
import time
import os.path
import base.DirTraverser
import base.StringUtils
import base.FileHelper
import base.MemoryLogger
DEBUG = False
class DirTraverserTest(UnitTestCase):
def __init__(self):
UnitTestCase.__init__(self)
self._base = self.tempDir('unittest.dtrav')
self._logger = base.MemoryLogger.MemoryLogger(3)
self._finish()
base.FileHelper.ensureDirectory(self._base)
base.FileHelper.createFileTree('''data1.txt|123
data2.conf
tree1/
tree1/file1.conf|blaBla|660|2020-04-05 11:22:33
tree2/
tree2/file2.txt|Jonny
tree2/file3.txt|charly7890|700
tree1/file4.conf|Judith
tree.txt/
tree.txt/x.conf/
tree.txt/x.conf/depth2.txt
tree2/link.txt|->file3.txt
link.x.conf|->tree2/x.conf
''', self._base)
def _finish(self):
shutil.rmtree(self.tempDir('unittest.dtrav'))
def debugFlag(self):
base.StringUtils.avoidWarning(self)
return DEBUG
def testAsListAll(self):
if DEBUG: return
traverser = base.DirTraverser.DirTraverser(self._base)
files = ' ' + ' '.join(traverser.asList()).replace(os.sep, '/') + ' '
self.assertIsEqual(files.count(' '), 13+1)
self.assertTrue(files.find('data1.txt') >= 0)
self.assertTrue(files.find('data2.conf') >= 0)
self.assertTrue(files.find(' tree1 ') >= 0)
self.assertTrue(files.find('tree1/file1.conf') >= 0)
self.assertTrue(files.find(' tree2 ') >= 0)
self.assertTrue(files.find('tree2/file2.txt') >= 0)
self.assertTrue(files.find('tree2/file3.txt') >= 0)
self.assertTrue(files.find('tree1/file4.conf') >= 0)
self.assertTrue(files.find(' tree.txt ') >= 0)
self.assertTrue(files.find(' tree.txt/x.conf ') >= 0)
self.assertTrue(files.find('tree.txt/x.conf/depth2.txt') >= 0)
self.assertTrue(files.find('tree2/link.txt') >= 0)
self.assertTrue(files.find('link.x.conf ') >= 0)
def testAsListFilePattern(self):
if DEBUG: return
traverser = base.DirTraverser.DirTraverser(self._base, filePattern="*.txt", dirPattern="*.txt")
files = ' ' + ' '.join(traverser.asList()).replace(os.sep, '/') + ' '
self.assertIsEqual(files.count(' '), 6+1)
self.assertTrue(files.find('data1.txt') >= 0)
self.assertFalse(files.find('data2.conf') >= 0)
self.assertFalse(files.find(' tree1 ') >= 0)
self.assertFalse(files.find('tree1/file1.conf') >= 0)
self.assertFalse(files.find(' tree2 ') >= 0)
self.assertTrue(files.find('tree2/file2.txt') >= 0)
self.assertTrue(files.find('tree2/file3.txt') >= 0)
self.assertFalse(files.find('tree1/file4.conf') >= 0)
self.assertTrue(files.find(' tree.txt ') >= 0)
self.assertFalse(files.find('tree.txt/x.conf ') >= 0)
self.assertTrue(files.find('tree2/link.txt') >= 0)
self.assertTrue(files.find('tree.txt/x.conf/depth2.txt') >= 0)
def testAsListExclude(self):
if DEBUG: return
traverser = base.DirTraverser.DirTraverser(self._base, reDirExcludes='.txt|2', reFileExcludes='.txt|2')
files = ' ' + ' '.join(traverser.asList()).replace(os.sep, '/') + ' '
self.assertIsEqual(files.count(' '), 4+1)
self.assertTrue(files.find(' tree1 ') >= 0)
self.assertTrue(files.find('tree1/file1.conf') >= 0)
self.assertTrue(files.find('tree1/file4.conf') >= 0)
self.assertTrue(files.find('link.x.conf ') >= 0)
def testAsListFileFileTypeDir(self):
if DEBUG: return
traverser = base.DirTraverser.DirTraverser(self._base, fileType='d')
files = ' ' + ' '.join(traverser.asList()).replace(os.sep, '/') + ' '
self.assertIsEqual(files.count(' '), 4+1)
self.assertTrue(files.find(' tree1 ') >= 0)
self.assertTrue(files.find(' tree2 ') >= 0)
self.assertTrue(files.find(' tree.txt ') >= 0)
self.assertTrue(files.find('tree.txt/x.conf ') >= 0)
def testAsListFileTypeFile(self):
if DEBUG: return
traverser = base.DirTraverser.DirTraverser(self._base, fileType='f')
files = ' ' + ' '.join(traverser.asList()).replace(os.sep, '/') + ' '
self.assertIsEqual(files.count(' '), 7+1)
self.assertTrue(files.find('data1.txt') >= 0)
self.assertTrue(files.find('data2.conf') >= 0)
self.assertTrue(files.find('tree1/file1.conf') >= 0)
self.assertTrue(files.find('tree2/file2.txt') >= 0)
self.assertTrue(files.find('tree2/file3.txt') >= 0)
self.assertTrue(files.find('tree1/file4.conf') >= 0)
self.assertTrue(files.find('tree.txt/x.conf/depth2.txt') >= 0)
def testAsListFileTypeLink(self):
if DEBUG: return
traverser = base.DirTraverser.DirTraverser(self._base, fileType='l')
files = ' ' + ' '.join(traverser.asList()).replace(os.sep, '/') + ' '
self.assertIsEqual(files.count(' '), 2+1)
self.assertTrue(files.find('tree2/link.txt') >= 0)
self.assertTrue(files.find('link.x.conf ') >= 0)
def testAsListDepth(self):
if DEBUG: return
traverser = base.DirTraverser.DirTraverser(self._base, minDepth=1, maxDepth=1)
files = ' ' + ' '.join(traverser.asList()).replace(os.sep, '/') + ' '
self.assertIsEqual(files.count(' '), 6+1)
self.assertTrue(files.find('tree1/file1.conf') >= 0)
self.assertTrue(files.find('tree2/file2.txt') >= 0)
self.assertTrue(files.find('tree2/file3.txt') >= 0)
self.assertTrue(files.find('tree1/file4.conf') >= 0)
self.assertTrue(files.find('tree2/link.txt') >= 0)
self.assertTrue(files.find(' tree.txt/x.conf ') >= 0)
def testAsListMaxYields(self):
if DEBUG: return
traverser = base.DirTraverser.DirTraverser(self._base, maxYields=4)
files = ' ' + ' '.join(traverser.asList()).replace(os.sep, '/') + ' '
self.assertIsEqual(files.count(' '), 4+1)
self.assertTrue(files.find('data1.txt') >= 0)
self.assertTrue(files.find('data2.conf') >= 0)
self.assertTrue(files.find(' tree1 ') >= 0)
self.assertTrue(files.find(' tree2 ') >= 0)
def testAsListYoungerThan(self):
#if DEBUG: return
date = datetime.datetime.strptime('2020-04-05 11:22:34', '%Y-%m-%d %H:%M:%S')
traverser = base.DirTraverser.DirTraverser(self._base, youngerThan=date)
files = ' ' + ' '.join(traverser.asList()).replace(os.sep, '/') + ' '
self.assertIsEqual(files.count(' '), 12+1)
self.assertTrue(files.find('data1.txt') >= 0)
self.assertTrue(files.find('data2.conf') >= 0)
self.assertTrue(files.find(' tree1 ') >= 0)
self.assertFalse(files.find('tree1/file1.conf') >= 0)
self.assertTrue(files.find(' tree2 ') >= 0)
self.assertTrue(files.find('tree2/file2.txt') >= 0)
self.assertTrue(files.find('tree2/file3.txt') >= 0)
self.assertTrue(files.find('tree1/file4.conf') >= 0)
self.assertTrue(files.find(' tree.txt ') >= 0)
self.assertTrue(files.find(' tree.txt/x.conf ') >= 0)
self.assertTrue(files.find('tree.txt/x.conf/depth2.txt') >= 0)
self.assertTrue(files.find('tree2/link.txt') >= 0)
self.assertTrue(files.find('link.x.conf ') >= 0)
def testAsListOlderThan(self):
if DEBUG: return
date = datetime.datetime.strptime('2020-04-05 11:22:34', '%Y-%m-%d %H:%M:%S')
traverser = base.DirTraverser.DirTraverser(self._base)
files = ' ' + ' '.join(traverser.asList()).replace(os.sep, '/') + ' '
self.assertTrue(files.find('tree1/file1.conf') >= 0)
def testAsListMinSize(self):
if DEBUG: return
traverser = base.DirTraverser.DirTraverser(self._base, minSize=6, fileType='f')
files = ' ' + ' '.join(traverser.asList()).replace(os.sep, '/')
self.assertIsEqual(files.count(' '), 2+1)
self.assertTrue(files.find('tree2/file3.txt') >= 0)
self.assertTrue(files.find('tree1/file4.conf') >= 0)
def testAsListMaxSize(self):
if DEBUG: return
traverser = base.DirTraverser.DirTraverser(self._base, maxSize=5, fileType='f')
files = ' ' + ' '.join(traverser.asList()).replace(os.sep, '/') + ' '
self.assertIsEqual(files.count(' '), 4+1)
self.assertTrue(files.find('data1.txt') >= 0)
self.assertTrue(files.find('data2.conf') >= 0)
self.assertTrue(files.find('tree2/file2.txt') >= 0)
self.assertFalse(files.find('tree2/file3.txt') >= 0)
self.assertFalse(files.find('tree1/file4.conf') >= 0)
self.assertTrue(files.find('tree.txt/x.conf/depth2.txt') >= 0)
if __name__ == '__main__':
# import sys;sys.argv = ['', 'Test.testName']
tester = DirTraverserTest()
tester.run()
| 43.945813
| 111
| 0.616747
| 1,090
| 8,921
| 5.016514
| 0.116514
| 0.1218
| 0.22586
| 0.273409
| 0.786028
| 0.783833
| 0.765728
| 0.765728
| 0.75951
| 0.757132
| 0
| 0.038413
| 0.200426
| 8,921
| 202
| 112
| 44.163366
| 0.728165
| 0.010649
| 0
| 0.588571
| 0
| 0
| 0.165816
| 0.036294
| 0.068571
| 0
| 0
| 0
| 0.485714
| 1
| 0.085714
| false
| 0
| 0.057143
| 0
| 0.154286
| 0.005714
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
38fa32dfb9cc0940960ee2ef40a4bc3260e3c8f6
| 14,665
|
py
|
Python
|
tests/test_output.py
|
ipa/vic
|
72247d383c5c6a9990967205519efca2ba3caeaf
|
[
"MIT"
] | null | null | null |
tests/test_output.py
|
ipa/vic
|
72247d383c5c6a9990967205519efca2ba3caeaf
|
[
"MIT"
] | null | null | null |
tests/test_output.py
|
ipa/vic
|
72247d383c5c6a9990967205519efca2ba3caeaf
|
[
"MIT"
] | null | null | null |
import sys
sys.path.insert(0, "..")
import os
import unittest
from vic.vic import vic
from vic.vic.utils import niftireader
OUTPUT_FILE = 'data/_output/Grouped.csv'
def _get_file_name(case_id, lesion_id, type):
return os.path.join('tests', 'test_data', case_id, lesion_id,
'{0}_L{1}_{2}.nii.gz'.format(case_id, lesion_id, type))
class TestMargins(unittest.TestCase):
def __init__(self, methodName='runTest'):
super().__init__(methodName)
def test_01_no_overlap_10mm_margin(self):
_, tumor_np = niftireader.load_image(_get_file_name('T01', '01_no_overlap_10mm_margin', 'Tumor'))
_, ablation_np = niftireader.load_image(_get_file_name('T01', '01_no_overlap_10mm_margin', 'Ablation'))
vic_ml = volume.compute_vic(tumor_np, ablation_np, None, [1, 1, 1])
df = volume.summarize_vic('T01', 'L01', vic_ml)
print(df)
record = df.loc[(df['Subject'] == "T01") & (df['Tumor'] == 'L01')].iloc[0]
self.assertEqual(record["VIC_0"], 0.515)
self.assertEqual(record["VIC_5"], 3.809)
self.assertEqual(record["VIC_10"], 13.546)
def test_02_perfect_overlap_0mm_margin(self):
_, tumor_np = niftireader.load_image(_get_file_name('T01', '02_perfect_overlap_0mm_margin', 'Tumor'))
_, ablation_np = niftireader.load_image(_get_file_name('T01', '02_perfect_overlap_0mm_margin', 'Ablation'))
vic_ml = volume.compute_vic(tumor_np, ablation_np, None, [1, 1, 1])
df = volume.summarize_vic('T01', 'L01', vic_ml)
print(df)
record = df.loc[(df['Subject'] == "T01") & (df['Tumor'] == 'L01')].iloc[0]
self.assertAlmostEqual(record["VIC_0"], 0, delta=0.01)
self.assertAlmostEqual(record["VIC_5"], 3.29, delta=0.01)
self.assertAlmostEqual(record["VIC_10"], 13.03, delta=0.01)
def test_03_perfect_overlap_10mm_margin(self):
_, tumor_np = niftireader.load_image(_get_file_name('T01', '03_perfect_overlap_10mm_margin', 'Tumor'))
_, ablation_np = niftireader.load_image(_get_file_name('T01', '03_perfect_overlap_10mm_margin', 'Ablation'))
vic_ml = volume.compute_vic(tumor_np, ablation_np, None, [1, 1, 1])
df = volume.summarize_vic('T01', 'L01', vic_ml)
print(df)
record = df.loc[(df['Subject'] == "T01") & (df['Tumor'] == 'L01')].iloc[0]
self.assertAlmostEqual(record["VIC_0"], 0, delta=0.01)
self.assertAlmostEqual(record["VIC_5"], 0, delta=0.01)
self.assertAlmostEqual(record["VIC_10"], 0, delta=0.01)
def test_04_perfect_overlap_5mm_margin(self):
_, tumor_np = niftireader.load_image(_get_file_name('T01', '04_perfect_overlap_5mm_margin', 'Tumor'))
_, ablation_np = niftireader.load_image(_get_file_name('T01', '04_perfect_overlap_5mm_margin', 'Ablation'))
vic_ml = volume.compute_vic(tumor_np, ablation_np, None, [1, 1, 1])
df = volume.summarize_vic('T01', 'L01', vic_ml)
print(df)
record = df.loc[(df['Subject'] == "T01") & (df['Tumor'] == 'L01')].iloc[0]
self.assertAlmostEqual(record["VIC_0"], 0, delta=0.01)
self.assertAlmostEqual(record["VIC_5"], 0, delta=0.01)
self.assertAlmostEqual(record["VIC_10"], 9.378, delta=0.01)
def test_05_perfect_overlap_n5mm_margin(self):
_, tumor_np = niftireader.load_image(_get_file_name('T01', '05_perfect_overlap_-5mm_margin', 'Tumor'))
_, ablation_np = niftireader.load_image(_get_file_name('T01', '05_perfect_overlap_-5mm_margin', 'Ablation'))
vic_ml = volume.compute_vic(tumor_np, ablation_np, None, [1, 1, 1])
df = volume.summarize_vic('T01', 'L01', vic_ml)
print(df)
record = df.loc[(df['Subject'] == "T01") & (df['Tumor'] == 'L01')].iloc[0]
self.assertAlmostEqual(record["VIC_0"], 3.654, delta=0.01)
self.assertAlmostEqual(record["VIC_5"], 13.032, delta=0.01)
self.assertAlmostEqual(record["VIC_10"], 31.878, delta=0.01)
def test_06_perfect_shifted_5mm_xy_margin(self):
_, tumor_np = niftireader.load_image(_get_file_name('T01', '06_perfect_shifted_5mm_xy_margin', 'Tumor'))
_, ablation_np = niftireader.load_image(_get_file_name('T01', '06_perfect_shifted_5mm_xy_margin', 'Ablation'))
vic_ml = volume.compute_vic(tumor_np, ablation_np, None, [1, 1, 1])
df = volume.summarize_vic('T01', 'L01', vic_ml)
print(df)
record = df.loc[(df['Subject'] == "T01") & (df['Tumor'] == 'L01')].iloc[0]
self.assertAlmostEqual(record["VIC_0"], 0.087, delta=0.01)
self.assertAlmostEqual(record["VIC_5"], 1.881, delta=0.01)
self.assertAlmostEqual(record["VIC_10"], 9.698, delta=0.01)
def test_07_perfect_shifted_5mm_x_margin(self):
_, tumor_np = niftireader.load_image(_get_file_name('T01', '07_perfect_shifted_5mm_x_margin', 'Tumor'))
_, ablation_np = niftireader.load_image(_get_file_name('T01', '07_perfect_shifted_5mm_x_margin', 'Ablation'))
vic_ml = volume.compute_vic(tumor_np, ablation_np, None, [1, 1, 1])
df = volume.summarize_vic('T01', 'L01', vic_ml)
print(df)
record = df.loc[(df['Subject'] == "T01") & (df['Tumor'] == 'L01')].iloc[0]
self.assertAlmostEqual(record["VIC_0"], 0.0, delta=0.01)
self.assertAlmostEqual(record["VIC_5"], 1.309, delta=0.01)
self.assertAlmostEqual(record["VIC_10"], 9.378, delta=0.01)
def test_08_perfect_shifted_5mm_y_margin(self):
_, tumor_np = niftireader.load_image(_get_file_name('T01', '08_perfect_shifted_5mm_y_margin', 'Tumor'))
_, ablation_np = niftireader.load_image(_get_file_name('T01', '08_perfect_shifted_5mm_y_margin', 'Ablation'))
vic_ml = volume.compute_vic(tumor_np, ablation_np, None, [1, 1, 1])
df = volume.summarize_vic('T01', 'L01', vic_ml)
print(df)
record = df.loc[(df['Subject'] == "T01") & (df['Tumor'] == 'L01')].iloc[0]
self.assertAlmostEqual(record["VIC_0"], 0.0, delta=0.01)
self.assertAlmostEqual(record["VIC_5"], 1.309, delta=0.01)
self.assertAlmostEqual(record["VIC_10"], 9.378, delta=0.01)
def test_09_perfect_shifted_5mm_z_margin(self):
_, tumor_np = niftireader.load_image(_get_file_name('T01', '09_perfect_shifted_5mm_z_margin', 'Tumor'))
_, ablation_np = niftireader.load_image(_get_file_name('T01', '09_perfect_shifted_5mm_z_margin', 'Ablation'))
vic_ml = volume.compute_vic(tumor_np, ablation_np, None, [1, 1, 1])
df = volume.summarize_vic('T01', 'L01', vic_ml)
print(df)
record = df.loc[(df['Subject'] == "T01") & (df['Tumor'] == 'L01')].iloc[0]
self.assertAlmostEqual(record["VIC_0"], 0.0, delta=0.01)
self.assertAlmostEqual(record["VIC_5"], 1.309, delta=0.01)
self.assertAlmostEqual(record["VIC_10"], 9.378, delta=0.01)
class TestSubcapsularLesions(unittest.TestCase):
def __init__(self, methodName='runTest'):
super().__init__(methodName)
def test_01_0mm_margin_subcapsular(self):
_, tumor_np = niftireader.load_image(_get_file_name('T02', '01_0mm_margin_subcapsular', 'Tumor'))
_, ablation_np = niftireader.load_image(_get_file_name('T02', '01_0mm_margin_subcapsular', 'Ablation'))
_, liver_np = niftireader.load_image(_get_file_name('T02', '01_0mm_margin_subcapsular', 'Liver'))
vic_ml = volume.compute_vic(tumor_np, ablation_np, liver_np, [1, 1, 1])
df = volume.summarize_vic('T02', 'L01', vic_ml)
print(df)
record = df.loc[(df['Subject'] == "T02") & (df['Tumor'] == 'L01')].iloc[0]
self.assertAlmostEqual(record["VIC_0"], 0.0, delta=0.01)
self.assertAlmostEqual(record["VIC_5"], 1.489, delta=0.01)
self.assertAlmostEqual(record["VIC_10"], 5.574, delta=0.01)
def test_02_5mm_margin_subcapsular(self):
_, tumor_np = niftireader.load_image(_get_file_name('T02', '02_5mm_margin_subcapsular', 'Tumor'))
_, ablation_np = niftireader.load_image(_get_file_name('T02', '02_5mm_margin_subcapsular', 'Ablation'))
_, liver_np = niftireader.load_image(_get_file_name('T02', '02_5mm_margin_subcapsular', 'Liver'))
vic_ml = volume.compute_vic(tumor_np, ablation_np, liver_np, [1, 1, 1])
df = volume.summarize_vic('T02', 'L01', vic_ml)
print(df)
record = df.loc[(df['Subject'] == "T02") & (df['Tumor'] == 'L01')].iloc[0]
self.assertAlmostEqual(record["VIC_0"], 0.0, delta=0.01)
self.assertAlmostEqual(record["VIC_5"], 0.468, delta=0.01)
self.assertAlmostEqual(record["VIC_10"], 4.537, delta=0.01)
def test_03_n5mm_margin_subcapsular(self):
_, tumor_np = niftireader.load_image(_get_file_name('T02', '03_-5mm_margin_subcapsular', 'Tumor'))
_, ablation_np = niftireader.load_image(_get_file_name('T02', '03_-5mm_margin_subcapsular', 'Ablation'))
_, liver_np = niftireader.load_image(_get_file_name('T02', '03_-5mm_margin_subcapsular', 'Liver'))
vic_ml = volume.compute_vic(tumor_np, ablation_np, liver_np, [1, 1, 1])
df = volume.summarize_vic('T02', 'L01', vic_ml)
print(df)
record = df.loc[(df['Subject'] == "T02") & (df['Tumor'] == 'L01')].iloc[0]
self.assertAlmostEqual(record["VIC_0"], 1.037, delta=0.01)
self.assertAlmostEqual(record["VIC_5"], 4.446, delta=0.01)
self.assertAlmostEqual(record["VIC_10"], 11.071, delta=0.01)
def test_04_2mm_shifted_tumor_subcapsular(self):
_, tumor_np = niftireader.load_image(_get_file_name('T02', '04_2mm_shifted_tumor_subcapsular', 'Tumor'))
_, ablation_np = niftireader.load_image(_get_file_name('T02', '04_2mm_shifted_tumor_subcapsular', 'Ablation'))
_, liver_np = niftireader.load_image(_get_file_name('T02', '04_2mm_shifted_tumor_subcapsular', 'Liver'))
vic_ml = volume.compute_vic(tumor_np, ablation_np, liver_np, [1, 1, 1])
df = volume.summarize_vic('T02', 'L01', vic_ml)
print(df)
record = df.loc[(df['Subject'] == "T02") & (df['Tumor'] == 'L01')].iloc[0]
self.assertAlmostEqual(record["VIC_0"], 0.0, delta=0.01)
self.assertAlmostEqual(record["VIC_5"], 0.764, delta=0.01)
self.assertAlmostEqual(record["VIC_10"], 5.569, delta=0.01)
def test_05_4mm_shifted_tumor_subcapsular(self):
_, tumor_np = niftireader.load_image(_get_file_name('T02', '05_4mm_shifted_tumor_subcapsular', 'Tumor'))
_, ablation_np = niftireader.load_image(_get_file_name('T02', '05_4mm_shifted_tumor_subcapsular', 'Ablation'))
_, liver_np = niftireader.load_image(_get_file_name('T02', '05_4mm_shifted_tumor_subcapsular', 'Liver'))
vic_ml = volume.compute_vic(tumor_np, ablation_np, liver_np, [1, 1, 1])
df = volume.summarize_vic('T02', 'L01', vic_ml)
print(df)
record = df.loc[(df['Subject'] == "T02") & (df['Tumor'] == 'L01')].iloc[0]
self.assertAlmostEqual(record["VIC_0"], 0.0, delta=0.01)
self.assertAlmostEqual(record["VIC_5"], 1.132, delta=0.01)
self.assertAlmostEqual(record["VIC_10"], 6.757, delta=0.01)
def test_06_shifted_ablation_5mm_xy_margin_subcapsular(self):
_, tumor_np = niftireader.load_image(_get_file_name('T02', '06_shifted_ablation_5mm_xy_margin_subcapsular', 'Tumor'))
_, ablation_np = niftireader.load_image(_get_file_name('T02', '06_shifted_ablation_5mm_xy_margin_subcapsular', 'Ablation'))
_, liver_np = niftireader.load_image(_get_file_name('T02', '06_shifted_ablation_5mm_xy_margin_subcapsular', 'Liver'))
vic_ml = volume.compute_vic(tumor_np, ablation_np, liver_np, [1, 1, 1])
df = volume.summarize_vic('T02', 'L01', vic_ml)
print(df)
record = df.loc[(df['Subject'] == "T02") & (df['Tumor'] == 'L01')].iloc[0]
self.assertAlmostEqual(record["VIC_0"], 0.061, delta=0.01)
self.assertAlmostEqual(record["VIC_5"], 0.834, delta=0.01)
self.assertAlmostEqual(record["VIC_10"], 4.214, delta=0.01)
def test_07_shifted_5mm_x_margin_subcapsular(self):
_, tumor_np = niftireader.load_image(_get_file_name('T02', '07_shifted_5mm_x_margin_subcapsular', 'Tumor'))
_, ablation_np = niftireader.load_image(_get_file_name('T02', '07_shifted_5mm_x_margin_subcapsular', 'Ablation'))
_, liver_np = niftireader.load_image(_get_file_name('T02', '07_shifted_5mm_x_margin_subcapsular', 'Liver'))
vic_ml = volume.compute_vic(tumor_np, ablation_np, liver_np, [1, 1, 1])
df = volume.summarize_vic('T02', 'L01', vic_ml)
print(df)
record = df.loc[(df['Subject'] == "T02") & (df['Tumor'] == 'L01')].iloc[0]
self.assertAlmostEqual(record["VIC_0"], 0.024, delta=0.01)
self.assertAlmostEqual(record["VIC_5"], 0.708, delta=0.01)
self.assertAlmostEqual(record["VIC_10"], 3.992, delta=0.01)
def test_08_shifted_5mm_y_margin_subcapsular(self):
_, tumor_np = niftireader.load_image(_get_file_name('T02', '08_shifted_ablation_5mm_y_margin_subcapsular', 'Tumor'))
_, ablation_np = niftireader.load_image(_get_file_name('T02', '08_shifted_ablation_5mm_y_margin_subcapsular', 'Ablation'))
_, liver_np = niftireader.load_image(_get_file_name('T02', '08_shifted_ablation_5mm_y_margin_subcapsular', 'Liver'))
vic_ml = volume.compute_vic(tumor_np, ablation_np, liver_np, [1, 1, 1])
df = volume.summarize_vic('T02', 'L01', vic_ml)
print(df)
record = df.loc[(df['Subject'] == "T02") & (df['Tumor'] == 'L01')].iloc[0]
self.assertAlmostEqual(record["VIC_0"], 0.041, delta=0.01)
self.assertAlmostEqual(record["VIC_5"], 0.867, delta=0.01)
self.assertAlmostEqual(record["VIC_10"], 4.587, delta=0.01)
def test_09_shifted_ablation_5mm_z_margin_subcapsular(self):
_, tumor_np = niftireader.load_image(_get_file_name('T02', '09_shifted_ablation_5mm_z_margin_subcapsular', 'Tumor'))
_, ablation_np = niftireader.load_image(_get_file_name('T02', '09_shifted_ablation_5mm_z_margin_subcapsular', 'Ablation'))
_, liver_np = niftireader.load_image(_get_file_name('T02', '09_shifted_ablation_5mm_z_margin_subcapsular', 'Liver'))
vic_ml = volume.compute_vic(tumor_np, ablation_np, liver_np, [1, 1, 1])
df = volume.summarize_vic('T02', 'L01', vic_ml)
print(df)
record = df.loc[(df['Subject'] == "T02") & (df['Tumor'] == 'L01')].iloc[0]
self.assertAlmostEqual(record["VIC_0"], 0.041, delta=0.01)
self.assertAlmostEqual(record["VIC_5"], 0.867, delta=0.01)
self.assertAlmostEqual(record["VIC_10"], 4.587, delta=0.01)
if __name__ == '__main__':
unittest.main()
| 52.188612
| 131
| 0.667849
| 2,080
| 14,665
| 4.335577
| 0.063942
| 0.053892
| 0.152695
| 0.169661
| 0.94633
| 0.935019
| 0.905633
| 0.900865
| 0.870038
| 0.833999
| 0
| 0.075355
| 0.170201
| 14,665
| 280
| 132
| 52.375
| 0.665708
| 0
| 0
| 0.487923
| 0
| 0
| 0.182407
| 0.101193
| 0
| 0
| 0
| 0
| 0.26087
| 1
| 0.101449
| false
| 0
| 0.024155
| 0.004831
| 0.140097
| 0.086957
| 0
| 0
| 0
| null | 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
ac0dc3dc0c23e43fe275a05efd53b2000b841d26
| 102
|
py
|
Python
|
dagger/client/__init__.py
|
ko-han/dagger
|
839de31f7b23f6bcf14c33d822e23d4ce5323815
|
[
"MIT"
] | null | null | null |
dagger/client/__init__.py
|
ko-han/dagger
|
839de31f7b23f6bcf14c33d822e23d4ce5323815
|
[
"MIT"
] | null | null | null |
dagger/client/__init__.py
|
ko-han/dagger
|
839de31f7b23f6bcf14c33d822e23d4ce5323815
|
[
"MIT"
] | null | null | null |
from dagger.client._client import Client
from dagger.client._configuration import ClientConfiguration
| 34
| 60
| 0.882353
| 12
| 102
| 7.333333
| 0.5
| 0.227273
| 0.363636
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.078431
| 102
| 2
| 61
| 51
| 0.93617
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
3bbd32dda6c6e250a284c78e8a6775f2813f8c92
| 91
|
py
|
Python
|
python/swig_/multiple_include/test_foo.py
|
SnoopJeDi/playground
|
73fab4a38ceeff3da23683e3dd1cb1b3a74cf4cf
|
[
"MIT"
] | null | null | null |
python/swig_/multiple_include/test_foo.py
|
SnoopJeDi/playground
|
73fab4a38ceeff3da23683e3dd1cb1b3a74cf4cf
|
[
"MIT"
] | null | null | null |
python/swig_/multiple_include/test_foo.py
|
SnoopJeDi/playground
|
73fab4a38ceeff3da23683e3dd1cb1b3a74cf4cf
|
[
"MIT"
] | null | null | null |
import pytest
import foo
def test_foo():
# write a test for your object here
pass
| 13
| 39
| 0.692308
| 15
| 91
| 4.133333
| 0.8
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.263736
| 91
| 6
| 40
| 15.166667
| 0.925373
| 0.362637
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| true
| 0.25
| 0.5
| 0
| 0.75
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 0
| 1
| 0
|
0
| 7
|
ce0252613e1151051ed236c657626cd631afc0d1
| 266
|
py
|
Python
|
test.py
|
andkom/rand48.py
|
bb8cfc2dd0f2e046947e68e4b4011e89b5e2e46e
|
[
"MIT"
] | null | null | null |
test.py
|
andkom/rand48.py
|
bb8cfc2dd0f2e046947e68e4b4011e89b5e2e46e
|
[
"MIT"
] | null | null | null |
test.py
|
andkom/rand48.py
|
bb8cfc2dd0f2e046947e68e4b4011e89b5e2e46e
|
[
"MIT"
] | null | null | null |
from rand48 import Rand48
rng = Rand48(1538857073237)
assert rng.random() == 0.6400923397828205
assert rng.random() == 0.20170841895667824
assert rng.random() == 0.19708366795806354
assert rng.random() == 0.7711449869389728
assert rng.random() == 0.7308651738682106
| 33.25
| 42
| 0.774436
| 32
| 266
| 6.4375
| 0.40625
| 0.218447
| 0.364078
| 0.38835
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.443515
| 0.101504
| 266
| 8
| 43
| 33.25
| 0.41841
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.714286
| 1
| 0
| false
| 0
| 0.142857
| 0
| 0.142857
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
ce1e0b16021d10ceab9b7a63937e6f256e97fff8
| 20,039
|
py
|
Python
|
integration-test/370-prisons.py
|
rinnyB/vector-datasource
|
024909ed8245a4ad4a25c908413ba3602de6c335
|
[
"MIT"
] | null | null | null |
integration-test/370-prisons.py
|
rinnyB/vector-datasource
|
024909ed8245a4ad4a25c908413ba3602de6c335
|
[
"MIT"
] | 2
|
2021-03-31T20:22:37.000Z
|
2021-12-13T20:50:11.000Z
|
integration-test/370-prisons.py
|
rinnyB/vector-datasource
|
024909ed8245a4ad4a25c908413ba3602de6c335
|
[
"MIT"
] | null | null | null |
# -*- encoding: utf-8 -*-
from shapely.wkt import loads as wkt_loads
import dsl
from . import FixtureTest
class Prisons(FixtureTest):
def test_rikers_island(self):
self.generate_fixtures(dsl.way(113738569, wkt_loads('LINESTRING (-73.88619559241629 40.78670926170489, -73.88598960872169 40.7867636061766, -73.88581210162148 40.78669477437268, -73.88544783477379 40.78668321171088, -73.88529018044149 40.78672259276838, -73.88495340204139 40.78655996721398, -73.883889617082 40.78629157636468, -73.88361302580599 40.78626858693091, -73.88341225233998 40.78631579007937, -73.8833307751437 40.78649045504029, -73.88328738651551 40.78648215710478, -73.88328738651551 40.78631789857658, -73.8829500691263 40.7861866955101, -73.88169287688619 40.78589680995149, -73.88157798236141 40.78593775585329, -73.88141251268598 40.7858288614642, -73.88110654650029 40.78573180179259, -73.8807860276069 40.78578771144548, -73.8794390936699 40.78556169196288, -73.87916142441559 40.7854651760361, -73.87862306406581 40.78537117659838, -73.87804203374 40.78545470143099, -73.87782455160971 40.78556720132448, -73.8766314990809 40.78586048914709, -73.876209740055 40.78582926956337, -73.8760088767575 40.78590007474199, -73.87512152091979 40.78593816395188, -73.8743435798838 40.78582457642207, -73.8736586144796 40.7858032192241, -73.87312357789638 40.78588232244199, -73.8729069042499 40.7859578206963, -73.87267298294989 40.78618309065278, -73.8723882170048 40.7863659178819, -73.87206850659518 40.78650956749447, -73.87172292470538 40.78674721441948, -73.8715374225992 40.78687011849157, -73.8714113889649 40.78732058343628, -73.87127897729199 40.787511977401, -73.8711282399873 40.78760957858857, -73.870890006774 40.7879340760004, -73.8709898994336 40.7884577846806, -73.87103867795351 40.78882471836661, -73.8710150522615 40.78898216936368, -73.8710622138139 40.78919987960899, -73.8710590697104 40.78938970386069, -73.8712609211548 40.7899572690156, -73.8713451831284 40.79014348645999, -73.871699388845 40.79054836137328, -73.8720644641764 40.7908744086858, -73.8728886684496 40.79141836140191, -73.87358504245789 40.79172175694869, -73.8738783423981 40.79182479278079, -73.8741893391495 40.7918462160525, -73.87428527922179 40.79181336703301, -73.87487690966789 40.79212498999629, -73.87526866496339 40.79240519097548, -73.87530989763491 40.79251611487138, -73.8755793023886 40.79288717469921, -73.87592048253349 40.79315438273728, -73.87630505130659 40.79332576528559, -73.8769245295266 40.79370158118189, -73.87768118049038 40.79410786256829, -73.8780131079879 40.79429651665539, -73.87850394745909 40.79447836943888, -73.8791124662326 40.79465369300449, -73.87945247856759 40.79470408654268, -73.87967651839951 40.79481038209889, -73.87984216773791 40.7947959645414, -73.8799593978824 40.7948418014822, -73.8804840140084 40.79485628703697, -73.88151429180769 40.79501800818069, -73.88172665354088 40.7950254209571, -73.88205364030431 40.79509771248509, -73.8826248789935 40.79517381232468, -73.8830125918701 40.79532118325839, -73.88324552502328 40.79548997596088, -73.883586166179 40.79585428654799, -73.88368004012619 40.79587781671319, -73.8837236084175 40.79585727882378, -73.88357673386849 40.79560347895109, -73.88365183302629 40.79557491620369, -73.8838148772504 40.79563476194608)'), {u'source': u'openstreetmap.org', u'area': u'yes'}),dsl.way(-3955540, wkt_loads('POLYGON ((-73.892691849225 40.79306338658551, -73.89258018863518 40.79354427739299, -73.89255449681798 40.7938367138842, -73.89243430223299 40.7939277089761, -73.8924429260597 40.7939666776881, -73.8923999865892 40.7945450169311, -73.89222831853839 40.79494775678188, -73.89221125054799 40.79525317640758, -73.89212528177529 40.79569508367947, -73.8919107640854 40.79654631474289, -73.89165330692499 40.79691667199458, -73.8910352660095 40.7974690077811, -73.89073486937851 40.79770709151379, -73.890674772086 40.79775476256129, -73.8906644414602 40.79775945485938, -73.89063093430009 40.79777448381198, -73.8902113312309 40.7979627874593, -73.8901255421213 40.79784582028729, -73.8895247488593 40.79780025743779, -73.8890439705192 40.79783276347388, -73.8886577847786 40.79806016927321, -73.8883882003618 40.7982225626507, -73.88825453104748 40.79830321516039, -73.88823719356249 40.79831361973499, -73.8878939472925 40.79837856328498, -73.88742179277918 40.79834605751611, -73.8869154124535 40.79815768695209, -73.88628883754281 40.79775476256129, -73.88537902382311 40.79710511408508, -73.8844692101033 40.79632536430771, -73.88407440053589 40.79598098210779, -73.8838148772504 40.79563476194608, -73.88365183302629 40.79557491620369, -73.88357673386849 40.79560347895109, -73.8837236084175 40.79585727882378, -73.88368004012619 40.79587781671319, -73.883586166179 40.79585428654799, -73.88324552502328 40.79548997596088, -73.8830125918701 40.79532118325839, -73.8826248789935 40.79517381232468, -73.88205364030431 40.79509771248509, -73.88172665354088 40.7950254209571, -73.88151429180769 40.79501800818069, -73.8804840140084 40.79485628703697, -73.8799593978824 40.7948418014822, -73.87984216773791 40.7947959645414, -73.87967651839951 40.79481038209889, -73.87945247856759 40.79470408654268, -73.8791124662326 40.79465369300449, -73.87850394745909 40.79447836943888, -73.8780131079879 40.79429651665539, -73.87768118049038 40.79410786256829, -73.8769245295266 40.79370158118189, -73.87630505130659 40.79332576528559, -73.87592048253349 40.79315438273728, -73.8755793023886 40.79288717469921, -73.87530989763491 40.79251611487138, -73.87526866496339 40.79240519097548, -73.87487690966789 40.79212498999629, -73.87428527922179 40.79181336703301, -73.8741893391495 40.7918462160525, -73.8738783423981 40.79182479278079, -73.87358504245789 40.79172175694869, -73.8728886684496 40.79141836140191, -73.8720644641764 40.7908744086858, -73.871699388845 40.79054836137328, -73.8713451831284 40.79014348645999, -73.8712609211548 40.7899572690156, -73.8710590697104 40.78938970386069, -73.8710622138139 40.78919987960899, -73.8710150522615 40.78898216936368, -73.87103867795351 40.78882471836661, -73.8709898994336 40.7884577846806, -73.870890006774 40.7879340760004, -73.8711282399873 40.78760957858857, -73.87127897729199 40.787511977401, -73.8714113889649 40.78732058343628, -73.8715374225992 40.78687011849157, -73.87172292470538 40.78674721441948, -73.87206850659518 40.78650956749447, -73.8723882170048 40.7863659178819, -73.87267298294989 40.78618309065278, -73.8729069042499 40.7859578206963, -73.87312357789638 40.78588232244199, -73.8736586144796 40.7858032192241, -73.8743435798838 40.78582457642207, -73.87512152091979 40.78593816395188, -73.8760088767575 40.78590007474199, -73.876209740055 40.78582926956337, -73.8766314990809 40.78586048914709, -73.87782455160971 40.78556720132448, -73.87804203374 40.78545470143099, -73.87862306406581 40.78537117659838, -73.87916142441559 40.7854651760361, -73.8794390936699 40.78556169196288, -73.8807860276069 40.78578771144548, -73.88110654650029 40.78573180179259, -73.88141251268598 40.7858288614642, -73.88157798236141 40.78593775585329, -73.88169287688619 40.78589680995149, -73.8829500691263 40.7861866955101, -73.88328738651551 40.78631789857658, -73.88328738651551 40.78648215710478, -73.8833307751437 40.78649045504029, -73.88341225233998 40.78631579007937, -73.88361302580599 40.78626858693091, -73.883889617082 40.78629157636468, -73.88495340204139 40.78655996721398, -73.88529018044149 40.78672259276838, -73.88544783477379 40.78668321171088, -73.88581210162148 40.78669477437268, -73.88598960872169 40.7867636061766, -73.88619559241629 40.78670926170489, -73.8869056208169 40.78672558545581, -73.8878939472925 40.7868835175382, -73.8886406269566 40.78713048120878, -73.88915563110901 40.78744239820899, -73.88965338760802 40.7882676857086, -73.88986799512941 40.7890150877971, -73.8902113312309 40.78992475912329, -73.8906146747935 40.7901717794957, -73.89094094290471 40.7901717794957, -73.89145576739399 40.79018476980371, -73.89205674031911 40.79024972130569, -73.89221125054799 40.79060059434208, -73.89230557365281 40.79109449311719, -73.8923914525939 40.7915039189505, -73.8924943995255 40.7920172619265, -73.89257156480841 40.79233568492049, -73.8926832253982 40.7926866149435, -73.892691849225 40.79306338658551))'), {u'amenity': u'prison', u'gnis:state_id': u'36', u'name': u'Rikers Island', u'way_area': u'2.91925e+06', u'wikipedia': u'en:Rikers Island', u'gnis:county_id': u'005', u'ele': u'8', u'source': u'openstreetmap.org', u'wikidata': u'Q120119', u'gnis:created': u'01/23/1980', u'place': u'island', u'gnis:feature_id': u'962524', u'gnis:edited': u'10/27/2005'})) # noqa
self.assert_has_feature(
13, 2414, 3077, 'pois',
{'kind': 'prison', 'name': 'Rikers Island'})
def test_sf_county_jail(self):
self.generate_fixtures(dsl.way(103383866, wkt_loads('POLYGON ((-122.405405674236 37.7750759902303, -122.405402530132 37.77510730333, -122.405390941865 37.77513542120428, -122.405370370445 37.7751609828988, -122.405343510818 37.7751800831593, -122.405308207027 37.77519329002789, -122.405271106606 37.77519925441941, -122.405233916353 37.77521459142397, -122.405207236389 37.77523738391099, -122.405195109133 37.77526841292399, -122.405189988736 37.77530178507459, -122.40517902929 37.77532777273878, -122.405156481576 37.7753534763759, -122.405124681215 37.7753754877707, -122.405084706185 37.77539231583258, -122.405040239578 37.77539998431529, -122.405001701852 37.7754085048506, -122.404973404921 37.77543001919798, -122.40495984036 37.77546040909061, -122.404953731816 37.775489378883, -122.40494510799 37.7755201947773, -122.404926692526 37.7755525017494, -122.404902617677 37.77558026443279, -122.404866146076 37.77560497392239, -122.404823835426 37.77562357703839, -122.404775416232 37.77563138750548, -122.404730500468 37.7756304644503, -122.404686932177 37.7756232930214, -122.404642914728 37.77560589697787, -122.404608060095 37.77558267857869, -122.404580571647 37.7755517917062, -122.40456547995 37.77552090482079, -122.404540506786 37.77548952089179, -122.404512928506 37.77546616044729, -122.404495770684 37.77547972228678, -122.404411329048 37.7754131201402, -122.404476007748 37.7753617839031, -122.404456244812 37.77534658893809, -122.405062877123 37.77486759091759, -122.405081023092 37.77488172090658, -122.405129891443 37.77484302319169, -122.405137976281 37.77484941364138, -122.405149474717 37.7748406800266, -122.405161781636 37.77483620671129, -122.405176514007 37.77483499962618, -122.405191066714 37.7748381238465, -122.405202834645 37.7748440882667, -122.405212626281 37.7748518988162, -122.405216309374 37.77484849057651, -122.405254038616 37.77487809965338, -122.405214872069 37.77490905781239, -122.405243887653 37.77493256044269, -122.405271825258 37.77494796850748, -122.40530775787 37.7749591872807, -122.405339109073 37.77497061906689, -122.405367944994 37.77499028741538, -122.405387528267 37.77501549413599, -122.405400194512 37.77504538716529, -122.405405674236 37.7750759902303))'), {u'building': u'yes', u'addr:housenumber': u'425', u'amenity': u'prison', u'name': u'SF County Jail', u'way_area': u'6040.46', u'height': u'18.63', u'source': u'openstreetmap.org', u'addr:street': u'7th Street'})) # noqa
self.assert_has_feature(
14, 2621, 6332, 'pois',
{'kind': 'prison', 'name': 'SF County Jail'})
def test_rikers_island_landuse(self):
# Rikers Island also should have a landuse polygon
self.generate_fixtures(dsl.way(113738569, wkt_loads('LINESTRING (-73.88619559241629 40.78670926170489, -73.88598960872169 40.7867636061766, -73.88581210162148 40.78669477437268, -73.88544783477379 40.78668321171088, -73.88529018044149 40.78672259276838, -73.88495340204139 40.78655996721398, -73.883889617082 40.78629157636468, -73.88361302580599 40.78626858693091, -73.88341225233998 40.78631579007937, -73.8833307751437 40.78649045504029, -73.88328738651551 40.78648215710478, -73.88328738651551 40.78631789857658, -73.8829500691263 40.7861866955101, -73.88169287688619 40.78589680995149, -73.88157798236141 40.78593775585329, -73.88141251268598 40.7858288614642, -73.88110654650029 40.78573180179259, -73.8807860276069 40.78578771144548, -73.8794390936699 40.78556169196288, -73.87916142441559 40.7854651760361, -73.87862306406581 40.78537117659838, -73.87804203374 40.78545470143099, -73.87782455160971 40.78556720132448, -73.8766314990809 40.78586048914709, -73.876209740055 40.78582926956337, -73.8760088767575 40.78590007474199, -73.87512152091979 40.78593816395188, -73.8743435798838 40.78582457642207, -73.8736586144796 40.7858032192241, -73.87312357789638 40.78588232244199, -73.8729069042499 40.7859578206963, -73.87267298294989 40.78618309065278, -73.8723882170048 40.7863659178819, -73.87206850659518 40.78650956749447, -73.87172292470538 40.78674721441948, -73.8715374225992 40.78687011849157, -73.8714113889649 40.78732058343628, -73.87127897729199 40.787511977401, -73.8711282399873 40.78760957858857, -73.870890006774 40.7879340760004, -73.8709898994336 40.7884577846806, -73.87103867795351 40.78882471836661, -73.8710150522615 40.78898216936368, -73.8710622138139 40.78919987960899, -73.8710590697104 40.78938970386069, -73.8712609211548 40.7899572690156, -73.8713451831284 40.79014348645999, -73.871699388845 40.79054836137328, -73.8720644641764 40.7908744086858, -73.8728886684496 40.79141836140191, -73.87358504245789 40.79172175694869, -73.8738783423981 40.79182479278079, -73.8741893391495 40.7918462160525, -73.87428527922179 40.79181336703301, -73.87487690966789 40.79212498999629, -73.87526866496339 40.79240519097548, -73.87530989763491 40.79251611487138, -73.8755793023886 40.79288717469921, -73.87592048253349 40.79315438273728, -73.87630505130659 40.79332576528559, -73.8769245295266 40.79370158118189, -73.87768118049038 40.79410786256829, -73.8780131079879 40.79429651665539, -73.87850394745909 40.79447836943888, -73.8791124662326 40.79465369300449, -73.87945247856759 40.79470408654268, -73.87967651839951 40.79481038209889, -73.87984216773791 40.7947959645414, -73.8799593978824 40.7948418014822, -73.8804840140084 40.79485628703697, -73.88151429180769 40.79501800818069, -73.88172665354088 40.7950254209571, -73.88205364030431 40.79509771248509, -73.8826248789935 40.79517381232468, -73.8830125918701 40.79532118325839, -73.88324552502328 40.79548997596088, -73.883586166179 40.79585428654799, -73.88368004012619 40.79587781671319, -73.8837236084175 40.79585727882378, -73.88357673386849 40.79560347895109, -73.88365183302629 40.79557491620369, -73.8838148772504 40.79563476194608)'), {u'source': u'openstreetmap.org', u'area': u'yes'}),dsl.way(-3955540, wkt_loads('POLYGON ((-73.892691849225 40.79306338658551, -73.89258018863518 40.79354427739299, -73.89255449681798 40.7938367138842, -73.89243430223299 40.7939277089761, -73.8924429260597 40.7939666776881, -73.8923999865892 40.7945450169311, -73.89222831853839 40.79494775678188, -73.89221125054799 40.79525317640758, -73.89212528177529 40.79569508367947, -73.8919107640854 40.79654631474289, -73.89165330692499 40.79691667199458, -73.8910352660095 40.7974690077811, -73.89073486937851 40.79770709151379, -73.890674772086 40.79775476256129, -73.8906644414602 40.79775945485938, -73.89063093430009 40.79777448381198, -73.8902113312309 40.7979627874593, -73.8901255421213 40.79784582028729, -73.8895247488593 40.79780025743779, -73.8890439705192 40.79783276347388, -73.8886577847786 40.79806016927321, -73.8883882003618 40.7982225626507, -73.88825453104748 40.79830321516039, -73.88823719356249 40.79831361973499, -73.8878939472925 40.79837856328498, -73.88742179277918 40.79834605751611, -73.8869154124535 40.79815768695209, -73.88628883754281 40.79775476256129, -73.88537902382311 40.79710511408508, -73.8844692101033 40.79632536430771, -73.88407440053589 40.79598098210779, -73.8838148772504 40.79563476194608, -73.88365183302629 40.79557491620369, -73.88357673386849 40.79560347895109, -73.8837236084175 40.79585727882378, -73.88368004012619 40.79587781671319, -73.883586166179 40.79585428654799, -73.88324552502328 40.79548997596088, -73.8830125918701 40.79532118325839, -73.8826248789935 40.79517381232468, -73.88205364030431 40.79509771248509, -73.88172665354088 40.7950254209571, -73.88151429180769 40.79501800818069, -73.8804840140084 40.79485628703697, -73.8799593978824 40.7948418014822, -73.87984216773791 40.7947959645414, -73.87967651839951 40.79481038209889, -73.87945247856759 40.79470408654268, -73.8791124662326 40.79465369300449, -73.87850394745909 40.79447836943888, -73.8780131079879 40.79429651665539, -73.87768118049038 40.79410786256829, -73.8769245295266 40.79370158118189, -73.87630505130659 40.79332576528559, -73.87592048253349 40.79315438273728, -73.8755793023886 40.79288717469921, -73.87530989763491 40.79251611487138, -73.87526866496339 40.79240519097548, -73.87487690966789 40.79212498999629, -73.87428527922179 40.79181336703301, -73.8741893391495 40.7918462160525, -73.8738783423981 40.79182479278079, -73.87358504245789 40.79172175694869, -73.8728886684496 40.79141836140191, -73.8720644641764 40.7908744086858, -73.871699388845 40.79054836137328, -73.8713451831284 40.79014348645999, -73.8712609211548 40.7899572690156, -73.8710590697104 40.78938970386069, -73.8710622138139 40.78919987960899, -73.8710150522615 40.78898216936368, -73.87103867795351 40.78882471836661, -73.8709898994336 40.7884577846806, -73.870890006774 40.7879340760004, -73.8711282399873 40.78760957858857, -73.87127897729199 40.787511977401, -73.8714113889649 40.78732058343628, -73.8715374225992 40.78687011849157, -73.87172292470538 40.78674721441948, -73.87206850659518 40.78650956749447, -73.8723882170048 40.7863659178819, -73.87267298294989 40.78618309065278, -73.8729069042499 40.7859578206963, -73.87312357789638 40.78588232244199, -73.8736586144796 40.7858032192241, -73.8743435798838 40.78582457642207, -73.87512152091979 40.78593816395188, -73.8760088767575 40.78590007474199, -73.876209740055 40.78582926956337, -73.8766314990809 40.78586048914709, -73.87782455160971 40.78556720132448, -73.87804203374 40.78545470143099, -73.87862306406581 40.78537117659838, -73.87916142441559 40.7854651760361, -73.8794390936699 40.78556169196288, -73.8807860276069 40.78578771144548, -73.88110654650029 40.78573180179259, -73.88141251268598 40.7858288614642, -73.88157798236141 40.78593775585329, -73.88169287688619 40.78589680995149, -73.8829500691263 40.7861866955101, -73.88328738651551 40.78631789857658, -73.88328738651551 40.78648215710478, -73.8833307751437 40.78649045504029, -73.88341225233998 40.78631579007937, -73.88361302580599 40.78626858693091, -73.883889617082 40.78629157636468, -73.88495340204139 40.78655996721398, -73.88529018044149 40.78672259276838, -73.88544783477379 40.78668321171088, -73.88581210162148 40.78669477437268, -73.88598960872169 40.7867636061766, -73.88619559241629 40.78670926170489, -73.8869056208169 40.78672558545581, -73.8878939472925 40.7868835175382, -73.8886406269566 40.78713048120878, -73.88915563110901 40.78744239820899, -73.88965338760802 40.7882676857086, -73.88986799512941 40.7890150877971, -73.8902113312309 40.78992475912329, -73.8906146747935 40.7901717794957, -73.89094094290471 40.7901717794957, -73.89145576739399 40.79018476980371, -73.89205674031911 40.79024972130569, -73.89221125054799 40.79060059434208, -73.89230557365281 40.79109449311719, -73.8923914525939 40.7915039189505, -73.8924943995255 40.7920172619265, -73.89257156480841 40.79233568492049, -73.8926832253982 40.7926866149435, -73.892691849225 40.79306338658551))'), {u'amenity': u'prison', u'gnis:state_id': u'36', u'name': u'Rikers Island', u'way_area': u'2.91925e+06', u'wikipedia': u'en:Rikers Island', u'gnis:county_id': u'005', u'ele': u'8', u'source': u'openstreetmap.org', u'wikidata': u'Q120119', u'gnis:created': u'01/23/1980', u'place': u'island', u'gnis:feature_id': u'962524', u'gnis:edited': u'10/27/2005'})) # noqa
self.assert_has_feature(
13, 2414, 3077, 'landuse',
{'kind': 'prison'})
| 691
| 8,459
| 0.818304
| 2,264
| 20,039
| 7.228799
| 0.204505
| 0.003055
| 0.008799
| 0.006416
| 0.864536
| 0.862092
| 0.858487
| 0.858487
| 0.858487
| 0.858487
| 0
| 0.813646
| 0.063826
| 20,039
| 28
| 8,460
| 715.678571
| 0.058742
| 0.004342
| 0
| 0.263158
| 1
| 0.263158
| 0.941191
| 0
| 0
| 0
| 0
| 0
| 0.157895
| 1
| 0.157895
| false
| 0
| 0.157895
| 0
| 0.368421
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 13
|
020f3c63b916ec5ecb1a7b31ea7563cd012cc11a
| 23,398
|
py
|
Python
|
tests/test_plots_basic.py
|
markusrobertjonsson/learning_simulator
|
91d0c37f51f4af6bfe23de1bc9eca25c6bb6f262
|
[
"MIT"
] | 1
|
2021-06-11T08:41:17.000Z
|
2021-06-11T08:41:17.000Z
|
tests/test_plots_basic.py
|
markusrobertjonsson/learning_simulator
|
91d0c37f51f4af6bfe23de1bc9eca25c6bb6f262
|
[
"MIT"
] | 1
|
2020-12-05T19:24:50.000Z
|
2021-09-29T14:11:29.000Z
|
tests/test_plots_basic.py
|
markusrobertjonsson/learning_simulator
|
91d0c37f51f4af6bfe23de1bc9eca25c6bb6f262
|
[
"MIT"
] | 2
|
2018-09-21T01:07:09.000Z
|
2019-03-18T09:43:05.000Z
|
import matplotlib.pyplot as plt
import unittest
import LsScript
class TestPlots(unittest.TestCase):
def setUp(self):
pass
def tearDown(self):
plt.close('all')
def test_wplot(self):
script='''@parameters
{
'subjects' : 1,
'mechanism' : 'GA',
'behaviors' : ['R0','R1','R2'],
'stimulus_elements' : ['S1','S2','reward','reward2','new trial'],
'start_v' : {'default':-1},
'alpha_v' : 0.1,
'alpha_w' : 0.1,
'beta' : 1,
'behavior_cost' : {'R1':1, 'R2':1, 'default':0},
'u' : {'reward':10, 'default': 0},
'omit_learning' : ['new trial']
}
## ------------- SEQUENCE LEARNING -------------
@phase {'label':'chaining', 'end': 'reward=100'}
NEW_TRIAL 'new trial' | STIMULUS_1
STIMULUS_1 'S1' | R1: STIMULUS_2 | NEW_TRIAL
STIMULUS_2 'S2' | R2: REWARD | NEW_TRIAL
REWARD reward | NEW_TRIAL
# @phase {'label':'test_A', 'end': 'S1=100'}
# NEW_TRIAL 'new trial' | STIMULUS_1
# STIMULUS_1 'S1' | REWARD
# REWARD 'reward2' | NEW_TRIAL
# @phase {'label':'test_B', 'end': 'S1=100'}
# NEW_TRIAL 'new trial' | STIMULUS_1
# STIMULUS_1 'S1' | R1: STIMULUS_2 | NEW_TRIAL
# STIMULUS_2 'S2' | NEW_TRIAL
# @run {'phases':('chaining','test_B')}
@run {'phases':('chaining',)}
@figure
@wplot 'S1' {'steps':'reward'} {'color':'red'}
@wplot 'S2' {'steps':'reward'} {'color':'green'}
@legend
@figure
@pplot (('S1','S2'), 'R1')
@pplot ('S1', 'R0')
@legend
@figure
@vplot ('S1', 'R1')
@vplot ('S1', 'R0')
@legend
@figure
@nplot 'reward' {'cumulative':'on'} {}
@nplot 'S1' {'cumulative':'on'} {}
'''
script_obj = LsScript.LsScript(script)
simulation_data = script_obj.run()
script_obj.postproc(simulation_data, False)
# plt.show(block=False)
axw = plt.figure(1).axes
self.assertEqual(len(axw), 1)
axw = axw[0]
lines = axw.get_lines()
self.assertEqual(len(lines), 2)
if lines[0].get_color() == 'red':
wS1 = lines[0]
wS2 = lines[1]
else:
wS1 = lines[1]
wS2 = lines[0]
self.assertEqual(wS1.get_color(), 'red')
self.assertEqual(wS2.get_color(), 'green')
# wS1
xmin = wS1.get_xdata(True).min(0)
xmax = wS1.get_xdata(True).max(0)
ymin = wS1.get_ydata(True).min(0)
ymax = wS1.get_ydata(True).max(0)
self.assertEqual(xmin, 0)
self.assertEqual(xmax, 99)
self.assertLessEqual(ymin, 0)
self.assertAlmostEqual(ymax, 8, 2)
# wS2
xmin = wS2.get_xdata(True).min(0)
xmax = wS2.get_xdata(True).max(0)
ymin = wS2.get_ydata(True).min(0)
ymax = wS2.get_ydata(True).max(0)
self.assertEqual(xmin, 0)
self.assertEqual(xmax, 99)
self.assertAlmostEqual(ymax, 9, 2)
# ydata = lines[0].get_ydata(True).tolist()
def test_vplot(self):
script = '''@parameters
{
'subjects' : 1,
'mechanism' : 'GA',
'behaviors' : ['R0','R1','R2'],
'stimulus_elements' : ['S1','S2','reward','reward2','new trial'],
'start_v' : {'default':-1},
'alpha_v' : 0.1,
'alpha_w' : 0.1,
'beta' : 1,
'behavior_cost' : {'R1':1, 'R2':1, 'default':0},
'u' : {'reward':10, 'default': 0},
'omit_learning' : ['new trial']
}
## ------------- SEQUENCE LEARNING -------------
@phase {'label':'chaining', 'end': 'reward=100'}
NEW_TRIAL 'new trial' | STIMULUS_1
STIMULUS_1 'S1' | R1: STIMULUS_2 | NEW_TRIAL
STIMULUS_2 'S2' | R2: REWARD | NEW_TRIAL
REWARD reward | NEW_TRIAL
@run {'phases':('chaining',)}
@vplot ('S1', 'R1') {'steps':'reward'} {'linestyle':'-'}
@vplot ('S1', 'R0') {'steps':'reward'} {'linestyle':':'}
'''
script_obj = LsScript.LsScript(script)
simulation_data = script_obj.run()
script_obj.postproc(simulation_data, False)
# plt.show(block=False)
axv = plt.figure(1).axes
self.assertEqual(len(axv), 1)
axv = axv[0]
lines = axv.get_lines()
self.assertEqual(len(lines), 2)
if lines[0].get_linestyle() == '-':
vS1R1 = lines[0]
vS1R0 = lines[1]
else:
vS1R1 = lines[1]
vS1R0 = lines[0]
self.assertEqual(vS1R1.get_linestyle(), '-')
self.assertEqual(vS1R0.get_linestyle(), ':')
# vS1R1
xmin = vS1R1.get_xdata(True).min(0)
xmax = vS1R1.get_xdata(True).max(0)
ymin = vS1R1.get_ydata(True).min(0)
ymax = vS1R1.get_ydata(True).max(0)
self.assertEqual(xmin, 0)
self.assertEqual(xmax, 99)
self.assertLessEqual(ymin, 0)
self.assertAlmostEqual(ymax, 8, 2)
# vS1R0
xmin = vS1R0.get_xdata(True).min(0)
xmax = vS1R0.get_xdata(True).max(0)
ymin = vS1R0.get_ydata(True).min(0)
ymax = vS1R0.get_ydata(True).max(0)
self.assertEqual(xmin, 0)
self.assertEqual(xmax, 99)
self.assertLessEqual(ymin, 0)
self.assertAlmostEqual(ymax, -1, 2)
def test_pplot(self):
script = '''@parameters
{
'subjects' : 1,
'mechanism' : 'GA',
'behaviors' : ['R0','R1','R2'],
'stimulus_elements' : ['S1','S2','reward','reward2','new trial'],
'start_v' : {'default':-1},
'alpha_v' : 0.1,
'alpha_w' : 0.1,
'beta' : 1,
'behavior_cost' : {'R1':1, 'R2':1, 'default':0},
'u' : {'reward':10, 'default': 0},
'omit_learning' : ['new trial']
}
## ------------- SEQUENCE LEARNING -------------
@phase {'label':'chaining', 'end': 'reward=100'}
NEW_TRIAL 'new trial' | STIMULUS_1
STIMULUS_1 'S1' | R1: STIMULUS_2 | NEW_TRIAL
STIMULUS_2 'S2' | R2: REWARD | NEW_TRIAL
REWARD reward | NEW_TRIAL
@run {'phases':('chaining',)}
@pplot (('S1','S2'), 'R1') {'steps':'reward'} {'marker':'o', 'markevery':5}
@pplot ('S1', 'R0') {'steps':'reward'} {'marker':'*'}
'''
script_obj = LsScript.LsScript(script)
simulation_data = script_obj.run()
script_obj.postproc(simulation_data, False)
# plt.show(block=False)
ax = plt.figure(1).axes
self.assertEqual(len(ax), 1)
ax = ax[0]
lines = ax.get_lines()
self.assertEqual(len(lines), 2)
if lines[0].get_marker() == 'o':
pS1S2R1 = lines[0]
vS1R0 = lines[1]
else:
pS1S2R1 = lines[1]
vS1R0 = lines[0]
self.assertEqual(pS1S2R1.get_marker(), 'o')
self.assertEqual(vS1R0.get_marker(), '*')
# pS1S2R1
xmin = pS1S2R1.get_xdata(True).min(0)
xmax = pS1S2R1.get_xdata(True).max(0)
xfirst = pS1S2R1.get_xdata(True).tolist()[0]
xlast = pS1S2R1.get_xdata(True).tolist()[-1]
ymin = pS1S2R1.get_ydata(True).min(0)
ymax = pS1S2R1.get_ydata(True).max(0)
yfirst = pS1S2R1.get_ydata(True).tolist()[0]
ylast = pS1S2R1.get_ydata(True).tolist()[-1]
self.assertEqual(xmin, 0)
self.assertEqual(xmax, 99)
self.assertEqual(xfirst, 0)
self.assertEqual(xlast, 99)
self.assertAlmostEqual(ymin, 0.02, 1)
self.assertAlmostEqual(ymax, 0.27, 2)
self.assertAlmostEqual(yfirst, 0.21, 2)
self.assertAlmostEqual(ylast, 0.27, 2)
# vS1R0
xmin = vS1R0.get_xdata(True).min(0)
xmax = vS1R0.get_xdata(True).max(0)
xfirst = vS1R0.get_xdata(True).tolist()[0]
xlast = vS1R0.get_xdata(True).tolist()[-1]
ymin = vS1R0.get_ydata(True).min(0)
ymax = vS1R0.get_ydata(True).max(0)
yfirst = vS1R0.get_ydata(True).tolist()[0]
ylast = vS1R0.get_ydata(True).tolist()[-1]
self.assertEqual(xmin, 0)
self.assertEqual(xmax, 99)
self.assertEqual(xfirst, 0)
self.assertEqual(xlast, 99)
self.assertAlmostEqual(ymin, 0, 1)
self.assertAlmostEqual(ymax, 0.333, 3)
self.assertAlmostEqual(yfirst, 0.333, 3)
self.assertAlmostEqual(ylast, 0, 3)
def test_nplot(self):
script = '''@parameters
{
'subjects' : 1,
'mechanism' : 'GA',
'behaviors' : ['R0','R1','R2'],
'stimulus_elements' : ['S1','S2','reward','reward2','new trial'],
'start_v' : {'default':-1},
'alpha_v' : 0.1,
'alpha_w' : 0.1,
'beta' : 1,
'behavior_cost' : {'R1':1, 'R2':1, 'default':0},
'u' : {'reward':10, 'default': 0},
'omit_learning' : ['new trial']
}
@phase {'end': 'reward=100'}
NEW_TRIAL 'new trial' | STIMULUS_1
STIMULUS_1 'S1' | R1: STIMULUS_2 | NEW_TRIAL
STIMULUS_2 'S2' | R2: REWARD | NEW_TRIAL
REWARD reward | NEW_TRIAL
@run
@figure
@nplot 'reward' {'cumulative':'off'}
@figure
@nplot 'reward' {'cumulative':'on'} {'marker':'o', 'markevery':50}
@figure
@nplot ['S1','R1','S2','R2'] {'cumulative':'on'}
@figure
@nplot 'reward' 'new trial' {'cumulative':'on'} {}
'''
script_obj = LsScript.LsScript(script)
simulation_data = script_obj.run()
script_obj.postproc(simulation_data, False)
# plt.show(block=False)
ax = plt.figure(1).axes
self.assertEqual(len(ax), 1)
ax = ax[0]
lines = ax.get_lines()
self.assertEqual(len(lines), 1)
line = lines[0]
xmin = line.get_xdata(True).min(0)
ymin = line.get_ydata(True).min(0)
ymax = line.get_ydata(True).max(0)
self.assertEqual(xmin, 0)
self.assertEqual(ymin, 0)
self.assertEqual(ymax, 1)
ax = plt.figure(2).axes
self.assertEqual(len(ax), 1)
ax = ax[0]
lines = ax.get_lines()
self.assertEqual(len(lines), 1)
line = lines[0]
self.assertEqual(line.get_marker(), 'o')
xmin = line.get_xdata(True).min(0)
# xmax = line.get_xdata(True).max(0)
ymin = line.get_ydata(True).min(0)
ymax = line.get_ydata(True).max(0)
y0 = list(line.get_ydata(True))[0]
yend = list(line.get_ydata(True))[-1]
npts = len(line.get_ydata(True))
midind = npts // 2
ymid = list(line.get_ydata(True))[midind]
self.assertGreater(ymid / ymax, 0)
self.assertLess(ymid / ymax, 0.5)
self.assertGreater(ymid / ymax, 0.3, 1)
self.assertLess(ymid / ymax, 0.5, 1)
self.assertEqual(xmin, 0)
self.assertEqual(ymin, 0)
self.assertEqual(ymax, 100)
self.assertEqual(y0, 0)
self.assertEqual(yend, 100)
ax = plt.figure(3).axes
self.assertEqual(len(ax), 1)
ax = ax[0]
lines = ax.get_lines()
self.assertEqual(len(lines), 1)
line = lines[0]
self.assertEqual(line.get_marker(), 'None')
xmin = line.get_ydata(True).min(0)
ymin = line.get_ydata(True).min(0)
ymax = line.get_ydata(True).max(0)
y0 = list(line.get_ydata(True))[0]
yend = list(line.get_ydata(True))[-1]
npts = len(line.get_ydata(True))
midind = npts // 2
ymid = list(line.get_ydata(True))[midind]
self.assertGreater(ymid / ymax, 0)
self.assertLess(ymid / ymax, 0.5)
self.assertGreater(ymid / ymax, 0.3)
self.assertLess(ymid / ymax, 0.5)
self.assertEqual(xmin, 0)
self.assertEqual(ymin, 0)
self.assertEqual(ymax, 100)
self.assertEqual(y0, 0)
self.assertEqual(yend, 100)
ax = plt.figure(4).axes
self.assertEqual(len(ax), 1)
ax = ax[0]
lines = ax.get_lines()
self.assertEqual(len(lines), 1)
line = lines[0]
self.assertEqual(line.get_marker(), 'None')
xmin = line.get_ydata(True).min(0)
ymin = line.get_ydata(True).min(0)
ymax = line.get_ydata(True).max(0)
y0 = list(line.get_ydata(True))[0]
yend = list(line.get_ydata(True))[-1]
npts = len(line.get_ydata(True))
midind = npts // 2
ymid = list(line.get_ydata(True))[midind]
self.assertGreater(ymid / ymax, 0)
self.assertGreater(ymid / ymax, 0.5)
self.assertGreater(ymid / ymax, 0.6)
self.assertLess(ymid / ymax, 1)
self.assertEqual(xmin, 0)
self.assertEqual(ymin, 0)
self.assertEqual(y0, 0)
self.assertGreater(yend, 0.5)
self.assertLess(yend, 0.99)
self.assertGreater(ymid, 0.4)
self.assertLess(ymid, 0.99)
def test_wplot_properties_not_dict(self):
script = '''@parameters
{
'subjects' : 1,
'mechanism' : 'GA',
'behaviors' : ['R0','R1','R2'],
'stimulus_elements' : ['S1','S2','reward','reward2','new trial'],
'start_v' : {'default':-1},
'alpha_v' : 0.1,
'alpha_w' : 0.1,
'beta' : 1,
'behavior_cost' : {'R1':1, 'R2':1, 'default':0},
'u' : {'reward':10, 'default': 0},
'omit_learning' : ['new trial']
}
@phase {'label':'chaining', 'end': 'reward=25'}
NEW_TRIAL 'new trial' | STIMULUS_1
STIMULUS_1 'S1' | R1: STIMULUS_2 | NEW_TRIAL
STIMULUS_2 'S2' | R2: REWARD | NEW_TRIAL
REWARD reward | NEW_TRIAL
@run
@wplot 'S1' {'steps','reward'}
'''
with self.assertRaises(Exception): # {'steps','reward'} instead of
# {'steps:'reward'}
script_obj = LsScript.LsScript(script)
self.assertIsNone(script_obj)
def test_wplot_plotproperties_not_dict(self):
script='''@parameters
{
'subjects' : 1,
'mechanism' : 'GA',
'behaviors' : ['R0','R1','R2'],
'stimulus_elements' : ['S1','S2','reward','reward2','new trial'],
'start_v' : {'default':-1},
'alpha_v' : 0.1,
'alpha_w' : 0.1,
'beta' : 1,
'behavior_cost' : {'R1':1, 'R2':1, 'default':0},
'u' : {'reward':10, 'default': 0},
'omit_learning' : ['new trial']
}
@phase {'label':'chaining', 'end': 'reward=25'}
NEW_TRIAL 'new trial' | STIMULUS_1
STIMULUS_1 'S1' | R1: STIMULUS_2 | NEW_TRIAL
STIMULUS_2 'S2' | R2: REWARD | NEW_TRIAL
REWARD reward | NEW_TRIAL
@run
@wplot 'S1' {'steps':'reward'} {'linecolor','red'}
'''
with self.assertRaises(Exception): # {'linecolor','red'} instead of
# {'linecolor:'red'}
script_obj = LsScript.LsScript(script)
self.assertIsNone(script_obj)
def test_vplot_properties_not_dict(self):
script='''@parameters
{
'subjects' : 1,
'mechanism' : 'GA',
'behaviors' : ['R0','R1','R2'],
'stimulus_elements' : ['S1','S2','reward','reward2','new trial'],
'start_v' : {'default':-1},
'alpha_v' : 0.1,
'alpha_w' : 0.1,
'beta' : 1,
'behavior_cost' : {'R1':1, 'R2':1, 'default':0},
'u' : {'reward':10, 'default': 0},
'omit_learning' : ['new trial']
}
@phase {'label':'chaining', 'end': 'reward=25'}
NEW_TRIAL 'new trial' | STIMULUS_1
STIMULUS_1 'S1' | R1: STIMULUS_2 | NEW_TRIAL
STIMULUS_2 'S2' | R2: REWARD | NEW_TRIAL
REWARD reward | NEW_TRIAL
@run
@vplot ('S1','R1') {'steps','reward'}
'''
with self.assertRaises(Exception): # {'steps','reward'} instead of
# {'steps:'reward'}
script_obj = LsScript.LsScript(script)
self.assertIsNone(script_obj)
def test_vplot_plotproperties_not_dict(self):
script='''@parameters
{
'subjects' : 1,
'mechanism' : 'GA',
'behaviors' : ['R0','R1','R2'],
'stimulus_elements' : ['S1','S2','reward','reward2','new trial'],
'start_v' : {'default':-1},
'alpha_v' : 0.1,
'alpha_w' : 0.1,
'beta' : 1,
'behavior_cost' : {'R1':1, 'R2':1, 'default':0},
'u' : {'reward':10, 'default': 0},
'omit_learning' : ['new trial']
}
@phase {'label':'chaining', 'end': 'reward=25'}
NEW_TRIAL 'new trial' | STIMULUS_1
STIMULUS_1 'S1' | R1: STIMULUS_2 | NEW_TRIAL
STIMULUS_2 'S2' | R2: REWARD | NEW_TRIAL
REWARD reward | NEW_TRIAL
@run
@vplot ('S1','R1') {'steps':'reward'} {'linecolor','red'}
'''
with self.assertRaises(Exception): # {'linecolor','red'} instead of
# {'linecolor:'red'}
script_obj = LsScript.LsScript(script)
self.assertIsNone(script_obj)
def test_pplot_properties_not_dict(self):
script='''@parameters
{
'subjects' : 1,
'mechanism' : 'GA',
'behaviors' : ['R0','R1','R2'],
'stimulus_elements' : ['S1','S2','reward','reward2','new trial'],
'start_v' : {'default':-1},
'alpha_v' : 0.1,
'alpha_w' : 0.1,
'beta' : 1,
'behavior_cost' : {'R1':1, 'R2':1, 'default':0},
'u' : {'reward':10, 'default': 0},
'omit_learning' : ['new trial']
}
@phase {'label':'chaining', 'end': 'reward=25'}
NEW_TRIAL 'new trial' | STIMULUS_1
STIMULUS_1 'S1' | R1: STIMULUS_2 | NEW_TRIAL
STIMULUS_2 'S2' | R2: REWARD | NEW_TRIAL
REWARD reward | NEW_TRIAL
@run
@pplot ('S1','R1') {'steps','reward'}
'''
with self.assertRaises(Exception): # {'steps','reward'} instead of
# {'steps:'reward'}
script_obj = LsScript.LsScript(script)
self.assertIsNone(script_obj)
def test_pplot_plotproperties_not_dict(self):
script='''@parameters
{
'subjects' : 1,
'mechanism' : 'GA',
'behaviors' : ['R0','R1','R2'],
'stimulus_elements' : ['S1','S2','reward','reward2','new trial'],
'start_v' : {'default':-1},
'alpha_v' : 0.1,
'alpha_w' : 0.1,
'beta' : 1,
'behavior_cost' : {'R1':1, 'R2':1, 'default':0},
'u' : {'reward':10, 'default': 0},
'omit_learning' : ['new trial']
}
@phase {'label':'chaining', 'end': 'reward=25'}
NEW_TRIAL 'new trial' | STIMULUS_1
STIMULUS_1 'S1' | R1: STIMULUS_2 | NEW_TRIAL
STIMULUS_2 'S2' | R2: REWARD | NEW_TRIAL
REWARD reward | NEW_TRIAL
@run
@pplot ('S1','R1') {'steps':'reward'} {'linecolor','red'}
'''
with self.assertRaises(Exception): # {'linecolor','red'} instead of
# {'linecolor:'red'}
script_obj = LsScript.LsScript(script)
self.assertIsNone(script_obj)
def test_nplot_properties_not_dict(self):
script='''@parameters
{
'subjects' : 1,
'mechanism' : 'GA',
'behaviors' : ['R0','R1','R2'],
'stimulus_elements' : ['S1','S2','reward','reward2','new trial'],
'start_v' : {'default':-1},
'alpha_v' : 0.1,
'alpha_w' : 0.1,
'beta' : 1,
'behavior_cost' : {'R1':1, 'R2':1, 'default':0},
'u' : {'reward':10, 'default': 0},
'omit_learning' : ['new trial']
}
@phase {'label':'chaining', 'end': 'reward=25'}
NEW_TRIAL 'new trial' | STIMULUS_1
STIMULUS_1 'S1' | R1: STIMULUS_2 | NEW_TRIAL
STIMULUS_2 'S2' | R2: REWARD | NEW_TRIAL
REWARD reward | NEW_TRIAL
@run
@nplot 'S1' {'cumulative','on'} {'linecolor':'red'}
'''
with self.assertRaises(Exception): # {'steps','reward'} instead of
# {'steps:'reward'}
script_obj = LsScript.LsScript(script)
self.assertIsNone(script_obj)
def test_nplot_plotproperties_not_dict(self):
script='''@parameters
{
'subjects' : 1,
'mechanism' : 'GA',
'behaviors' : ['R0','R1','R2'],
'stimulus_elements' : ['S1','S2','reward','reward2','new trial'],
'start_v' : {'default':-1},
'alpha_v' : 0.1,
'alpha_w' : 0.1,
'beta' : 1,
'behavior_cost' : {'R1':1, 'R2':1, 'default':0},
'u' : {'reward':10, 'default': 0},
'omit_learning' : ['new trial']
}
@phase {'label':'chaining', 'end': 'reward=25'}
NEW_TRIAL 'new trial' | STIMULUS_1
STIMULUS_1 'S1' | R1: STIMULUS_2 | NEW_TRIAL
STIMULUS_2 'S2' | R2: REWARD | NEW_TRIAL
REWARD reward | NEW_TRIAL
@run
@nplot 'S1' {'cumulative':'on'} {'linecolor','red'}
'''
with self.assertRaises(Exception): # {'linecolor','red'} instead of
# {'linecolor:'red'}
script_obj = LsScript.LsScript(script)
self.assertIsNone(script_obj)
| 36.332298
| 83
| 0.474827
| 2,491
| 23,398
| 4.327178
| 0.059815
| 0.068281
| 0.043418
| 0.032656
| 0.885889
| 0.856944
| 0.81065
| 0.792838
| 0.792838
| 0.789498
| 0
| 0.051987
| 0.36533
| 23,398
| 643
| 84
| 36.388802
| 0.673872
| 0.025216
| 0
| 0.723757
| 0
| 0.001842
| 0.546951
| 0.023399
| 0
| 0
| 0
| 0
| 0.187845
| 1
| 0.025783
| false
| 0.001842
| 0.005525
| 0
| 0.033149
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
023a5cac5c4486edba64c476c0f6c84657512bed
| 66,283
|
py
|
Python
|
dlkit/services/logging_.py
|
UOC/dlkit
|
a9d265db67e81b9e0f405457464e762e2c03f769
|
[
"MIT"
] | 2
|
2018-02-23T12:16:11.000Z
|
2020-10-08T17:54:24.000Z
|
dlkit/services/logging_.py
|
UOC/dlkit
|
a9d265db67e81b9e0f405457464e762e2c03f769
|
[
"MIT"
] | 87
|
2017-04-21T18:57:15.000Z
|
2021-12-13T19:43:57.000Z
|
dlkit/services/logging_.py
|
UOC/dlkit
|
a9d265db67e81b9e0f405457464e762e2c03f769
|
[
"MIT"
] | 1
|
2018-03-01T16:44:25.000Z
|
2018-03-01T16:44:25.000Z
|
"""DLKit Services implementations of logging service."""
# pylint: disable=no-init
# osid specification includes some 'marker' interfaces.
# pylint: disable=too-many-ancestors
# number of ancestors defined in spec.
# pylint: disable=too-few-public-methods,too-many-public-methods
# number of methods defined in spec. Worse yet, these are aggregates.
# pylint: disable=invalid-name
# method and class names defined in spec.
# pylint: disable=no-self-use,unused-argument
# to catch unimplemented methods.
# pylint: disable=super-init-not-called
# it just isn't.
from . import osid
from .osid_errors import Unimplemented, IllegalState, InvalidArgument
from dlkit.abstract_osid.logging_ import objects as abc_logging_objects
from dlkit.manager_impls.logging_ import managers as logging_managers
DEFAULT = 0
COMPARATIVE = 0
PLENARY = 1
FEDERATED = 0
ISOLATED = 1
ANY_STATUS = 0
ACTIVE = 1
UNSEQUESTERED = 0
SEQUESTERED = 1
AUTOMATIC = 0
MANDATORY = 1
DISABLED = -1
class LoggingProfile(osid.OsidProfile, logging_managers.LoggingProfile):
"""LoggingProfile convenience adapter including related Session methods."""
def __init__(self):
self._provider_manager = None
def supports_logging(self):
"""Pass through to provider supports_logging"""
# Implemented from kitosid template for -
# osid.resource.ResourceProfile.supports_resource_lookup
return self._provider_manager.supports_logging()
def supports_log_entry_lookup(self):
"""Pass through to provider supports_log_entry_lookup"""
# Implemented from kitosid template for -
# osid.resource.ResourceProfile.supports_resource_lookup
return self._provider_manager.supports_log_entry_lookup()
def supports_log_entry_query(self):
"""Pass through to provider supports_log_entry_query"""
# Implemented from kitosid template for -
# osid.resource.ResourceProfile.supports_resource_lookup
return self._provider_manager.supports_log_entry_query()
def supports_log_entry_log(self):
"""Pass through to provider supports_log_entry_log"""
# Implemented from kitosid template for -
# osid.resource.ResourceProfile.supports_resource_lookup
return self._provider_manager.supports_log_entry_log()
def supports_log_entry_log_assignment(self):
"""Pass through to provider supports_log_entry_log_assignment"""
# Implemented from kitosid template for -
# osid.resource.ResourceProfile.supports_resource_lookup
return self._provider_manager.supports_log_entry_log_assignment()
def supports_log_lookup(self):
"""Pass through to provider supports_log_lookup"""
# Implemented from kitosid template for -
# osid.resource.ResourceProfile.supports_resource_lookup
return self._provider_manager.supports_log_lookup()
def supports_log_admin(self):
"""Pass through to provider supports_log_admin"""
# Implemented from kitosid template for -
# osid.resource.ResourceProfile.supports_resource_lookup
return self._provider_manager.supports_log_admin()
def supports_log_hierarchy(self):
"""Pass through to provider supports_log_hierarchy"""
# Implemented from kitosid template for -
# osid.resource.ResourceProfile.supports_resource_lookup
return self._provider_manager.supports_log_hierarchy()
def supports_log_hierarchy_design(self):
"""Pass through to provider supports_log_hierarchy_design"""
# Implemented from kitosid template for -
# osid.resource.ResourceProfile.supports_resource_lookup
return self._provider_manager.supports_log_hierarchy_design()
def get_log_entry_record_types(self):
"""Pass through to provider get_log_entry_record_types"""
# Implemented from kitosid template for -
# osid.resource.ResourceProfile.get_resource_record_types
return self._provider_manager.get_log_entry_record_types()
log_entry_record_types = property(fget=get_log_entry_record_types)
def get_log_entry_search_record_types(self):
"""Pass through to provider get_log_entry_search_record_types"""
# Implemented from kitosid template for -
# osid.resource.ResourceProfile.get_resource_record_types
return self._provider_manager.get_log_entry_search_record_types()
log_entry_search_record_types = property(fget=get_log_entry_search_record_types)
def get_log_record_types(self):
"""Pass through to provider get_log_record_types"""
# Implemented from kitosid template for -
# osid.resource.ResourceProfile.get_resource_record_types
return self._provider_manager.get_log_record_types()
log_record_types = property(fget=get_log_record_types)
def get_log_search_record_types(self):
"""Pass through to provider get_log_search_record_types"""
# Implemented from kitosid template for -
# osid.resource.ResourceProfile.get_resource_record_types
return self._provider_manager.get_log_search_record_types()
log_search_record_types = property(fget=get_log_search_record_types)
def get_priority_types(self):
"""Pass through to provider get_priority_types"""
# Implemented from kitosid template for -
# osid.repository.RepositoryProfile.get_coordinate_types
return self._provider_manager.get_priority_types()
priority_types = property(fget=get_priority_types)
def get_content_types(self):
"""Pass through to provider get_content_types"""
# Implemented from kitosid template for -
# osid.repository.RepositoryProfile.get_coordinate_types
return self._provider_manager.get_content_types()
content_types = property(fget=get_content_types)
def supports_log_entry_admin(self):
"""Pass through to provider supports_log_entry_admin"""
# Implemented from kitosid template for -
# osid.resource.ResourceProfile.supports_resource_lookup
return self._provider_manager.supports_log_entry_admin()
class LoggingManager(osid.OsidManager, osid.OsidSession, LoggingProfile, logging_managers.LoggingManager):
"""LoggingManager convenience adapter including related Session methods."""
def __init__(self, proxy=None):
self._runtime = None
self._provider_manager = None
self._provider_sessions = dict()
self._session_management = AUTOMATIC
self._log_view = DEFAULT
# This is to initialize self._proxy
osid.OsidSession.__init__(self, proxy)
self._sub_package_provider_managers = dict()
def _set_log_view(self, session):
"""Sets the underlying log view to match current view"""
if self._log_view == COMPARATIVE:
try:
session.use_comparative_log_view()
except AttributeError:
pass
else:
try:
session.use_plenary_log_view()
except AttributeError:
pass
def _get_provider_session(self, session_name, proxy=None):
"""Gets the session for the provider"""
agent_key = self._get_agent_key(proxy)
if session_name in self._provider_sessions[agent_key]:
return self._provider_sessions[agent_key][session_name]
else:
session = self._instantiate_session('get_' + session_name, self._proxy)
self._set_log_view(session)
if self._session_management != DISABLED:
self._provider_sessions[agent_key][session_name] = session
return session
def _get_sub_package_provider_manager(self, sub_package_name):
if sub_package_name in self._sub_package_provider_managers:
return self._sub_package_provider_managers[sub_package_name]
config = self._runtime.get_configuration()
parameter_id = Id('parameter:{0}ProviderImpl@dlkit_service'.format(sub_package_name))
provider_impl = config.get_value_by_parameter(parameter_id).get_string_value()
if self._proxy is None:
# need to add version argument
sub_package = self._runtime.get_manager(sub_package_name.upper(), provider_impl)
else:
# need to add version argument
sub_package = self._runtime.get_proxy_manager(sub_package_name.upper(), provider_impl)
self._sub_package_provider_managers[sub_package_name] = sub_package
return sub_package
def _get_sub_package_provider_session(self, sub_package, session_name, proxy=None):
"""Gets the session from a sub-package"""
agent_key = self._get_agent_key(proxy)
if session_name in self._provider_sessions[agent_key]:
return self._provider_sessions[agent_key][session_name]
else:
manager = self._get_sub_package_provider_manager(sub_package)
try:
session = self._instantiate_session('get_' + session_name + '_for_bank',
proxy=self._proxy,
manager=manager)
except AttributeError:
session = self._instantiate_session('get_' + session_name,
proxy=self._proxy,
manager=manager)
self._set_bank_view(session)
if self._session_management != DISABLED:
self._provider_sessions[agent_key][session_name] = session
return session
def _instantiate_session(self, method_name, proxy=None, *args, **kwargs):
"""Instantiates a provider session"""
if 'manager' in kwargs:
session_class = getattr(kwargs['manager'], method_name)
del kwargs['manager']
else:
session_class = getattr(self._provider_manager, method_name)
if proxy is None:
try:
return session_class(bank_id=self._catalog_id, *args, **kwargs)
except AttributeError:
return session_class(*args, **kwargs)
else:
try:
return session_class(bank_id=self._catalog_id, proxy=proxy, *args, **kwargs)
except AttributeError:
return session_class(proxy=proxy, *args, **kwargs)
def initialize(self, runtime):
"""OSID Manager initialize"""
from .primitives import Id
if self._runtime is not None:
raise IllegalState('Manager has already been initialized')
self._runtime = runtime
config = runtime.get_configuration()
parameter_id = Id('parameter:loggingProviderImpl@dlkit_service')
provider_impl = config.get_value_by_parameter(parameter_id).get_string_value()
if self._proxy is None:
# need to add version argument
self._provider_manager = runtime.get_manager('LOGGING', provider_impl)
else:
# need to add version argument
self._provider_manager = runtime.get_proxy_manager('LOGGING', provider_impl)
def close_sessions(self):
"""Close all sessions, unless session management is set to MANDATORY"""
if self._session_management != MANDATORY:
self._provider_sessions = dict()
def use_automatic_session_management(self):
"""Session state will be saved unless closed by consumers"""
self._session_management = AUTOMATIC
def use_mandatory_session_management(self):
"""Session state will be saved and can not be closed by consumers"""
self._session_management = MANDATORY
def disable_session_management(self):
"""Session state will never be saved"""
self._session_management = DISABLED
self.close_sessions()
def get_logging_session(self, *args, **kwargs):
"""Pass through to provider get_logging_session"""
# Implemented from kitosid template for -
# osid.resource.ResourceManager.get_resource_lookup_session_manager_template
return self._provider_manager.get_logging_session(*args, **kwargs)
logging_session = property(fget=get_logging_session)
def get_logging_session_for_log(self, *args, **kwargs):
"""Pass through to provider get_logging_session_for_log"""
# Implemented from kitosid template for -
# osid.resource.ResourceManager.get_resource_lookup_session_for_bin_manager_template
return self._provider_manager.get_logging_session_for_log(*args, **kwargs)
def get_log_entry_lookup_session(self, *args, **kwargs):
"""Pass through to provider get_log_entry_lookup_session"""
# Implemented from kitosid template for -
# osid.resource.ResourceManager.get_resource_lookup_session_catalog_template
return self._provider_manager.get_log_entry_lookup_session(*args, **kwargs)
log_entry_lookup_session = property(fget=get_log_entry_lookup_session)
def get_log_entry_lookup_session_for_log(self, *args, **kwargs):
"""Pass through to provider get_log_entry_lookup_session_for_log"""
# Implemented from kitosid template for -
# osid.resource.ResourceManager.get_resource_lookup_session_for_bin_catalog_template
return self._provider_manager.get_log_entry_lookup_session_for_log(*args, **kwargs)
def get_log_entry_query_session(self, *args, **kwargs):
"""Pass through to provider get_log_entry_query_session"""
# Implemented from kitosid template for -
# osid.resource.ResourceManager.get_resource_lookup_session_catalog_template
return self._provider_manager.get_log_entry_query_session(*args, **kwargs)
log_entry_query_session = property(fget=get_log_entry_query_session)
def get_log_entry_query_session_for_log(self, *args, **kwargs):
"""Pass through to provider get_log_entry_query_session_for_log"""
# Implemented from kitosid template for -
# osid.resource.ResourceManager.get_resource_lookup_session_for_bin_catalog_template
return self._provider_manager.get_log_entry_query_session_for_log(*args, **kwargs)
def get_log_entry_admin_session(self, *args, **kwargs):
"""Pass through to provider get_log_entry_admin_session"""
# Implemented from kitosid template for -
# osid.resource.ResourceManager.get_resource_lookup_session_catalog_template
return self._provider_manager.get_log_entry_admin_session(*args, **kwargs)
log_entry_admin_session = property(fget=get_log_entry_admin_session)
def get_log_entry_admin_session_for_log(self, *args, **kwargs):
"""Pass through to provider get_log_entry_admin_session_for_log"""
# Implemented from kitosid template for -
# osid.resource.ResourceManager.get_resource_lookup_session_for_bin_catalog_template
return self._provider_manager.get_log_entry_admin_session_for_log(*args, **kwargs)
def get_log_entry_log_session(self, *args, **kwargs):
"""Pass through to provider get_log_entry_log_session"""
# Implemented from kitosid template for -
# osid.resource.ResourceManager.get_resource_lookup_session_manager_template
return self._provider_manager.get_log_entry_log_session(*args, **kwargs)
log_entry_log_session = property(fget=get_log_entry_log_session)
def get_log_entry_log_assignment_session(self, *args, **kwargs):
"""Pass through to provider get_log_entry_log_assignment_session"""
# Implemented from kitosid template for -
# osid.resource.ResourceManager.get_resource_lookup_session_manager_template
return self._provider_manager.get_log_entry_log_assignment_session(*args, **kwargs)
log_entry_log_assignment_session = property(fget=get_log_entry_log_assignment_session)
def get_log_lookup_session(self, *args, **kwargs):
"""Pass through to provider get_log_lookup_session"""
# Implemented from kitosid template for -
# osid.resource.ResourceManager.get_resource_lookup_session_manager_template
return self._provider_manager.get_log_lookup_session(*args, **kwargs)
log_lookup_session = property(fget=get_log_lookup_session)
def get_log_admin_session(self, *args, **kwargs):
"""Pass through to provider get_log_admin_session"""
# Implemented from kitosid template for -
# osid.resource.ResourceManager.get_resource_lookup_session_manager_template
return self._provider_manager.get_log_admin_session(*args, **kwargs)
log_admin_session = property(fget=get_log_admin_session)
def get_log_hierarchy_session(self, *args, **kwargs):
"""Pass through to provider get_log_hierarchy_session"""
# Implemented from kitosid template for -
# osid.resource.ResourceManager.get_resource_lookup_session_manager_template
return self._provider_manager.get_log_hierarchy_session(*args, **kwargs)
log_hierarchy_session = property(fget=get_log_hierarchy_session)
def get_log_hierarchy_design_session(self, *args, **kwargs):
"""Pass through to provider get_log_hierarchy_design_session"""
# Implemented from kitosid template for -
# osid.resource.ResourceManager.get_resource_lookup_session_manager_template
return self._provider_manager.get_log_hierarchy_design_session(*args, **kwargs)
log_hierarchy_design_session = property(fget=get_log_hierarchy_design_session)
def get_logging_batch_manager(self, *args, **kwargs):
"""Pass through to provider unimplemented"""
raise Unimplemented('Unimplemented in dlkit.services')
logging_batch_manager = property(fget=get_logging_batch_manager)
##
# The following methods are from osid.logging.LoggingSession
def get_log_id(self):
return self._get_provider_session('logging_session').get_log_id()
log_id = property(fget=get_log_id)
def can_log(self):
return self._get_provider_session('logging_session').can_log()
def log(self, *args, **kwargs):
"""Pass through to provider unimplemented"""
raise Unimplemented('Unimplemented in dlkit.services - args=' + str(args) + ', kwargs=' + str(kwargs))
def log_at_priority(self, *args, **kwargs):
"""Pass through to provider unimplemented"""
raise Unimplemented('Unimplemented in dlkit.services - args=' + str(args) + ', kwargs=' + str(kwargs))
def get_log_entry_form(self):
"""Pass through to provider unimplemented"""
raise Unimplemented('Unimplemented in dlkit.services')
log_entry_form = property(fget=get_log_entry_form)
def create_log_entry(self, *args, **kwargs):
"""Pass through to provider unimplemented"""
raise Unimplemented('Unimplemented in dlkit.services - args=' + str(args) + ', kwargs=' + str(kwargs))
##
# The following methods are from osid.logging.LogEntryLogSession
def use_comparative_log_view(self):
"""Pass through to provider LogEntryLogSession.use_comparative_log_view"""
self._log_view = COMPARATIVE
# self._get_provider_session('log_entry_log_session') # To make sure the session is tracked
for session in self._get_provider_sessions():
try:
session.use_comparative_log_view()
except AttributeError:
pass
def use_plenary_log_view(self):
"""Pass through to provider LogEntryLogSession.use_plenary_log_view"""
self._log_view = PLENARY
# self._get_provider_session('log_entry_log_session') # To make sure the session is tracked
for session in self._get_provider_sessions():
try:
session.use_plenary_log_view()
except AttributeError:
pass
def can_lookup_log_entry_log_mappings(self):
"""Pass through to provider LogEntryLogSession.can_lookup_log_entry_log_mappings"""
# Implemented from kitosid template for -
# osid.resource.ResourceBinSession.can_lookup_resource_bin_mappings
return self._get_provider_session('log_entry_log_session').can_lookup_log_entry_log_mappings()
def get_log_entry_ids_by_log(self, *args, **kwargs):
"""Pass through to provider LogEntryLogSession.get_log_entry_ids_by_log"""
# Implemented from kitosid template for -
# osid.resource.ResourceBinSession.get_resource_ids_by_bin
return self._get_provider_session('log_entry_log_session').get_log_entry_ids_by_log(*args, **kwargs)
def get_log_entries_by_log(self, *args, **kwargs):
"""Pass through to provider LogEntryLogSession.get_log_entries_by_log"""
# Implemented from kitosid template for -
# osid.resource.ResourceBinSession.get_resources_by_bin
return self._get_provider_session('log_entry_log_session').get_log_entries_by_log(*args, **kwargs)
def get_log_entrie_by_log(self, *args, **kwargs):
"""Pass through to provider LogEntryLogSession.get_log_entrie_by_log"""
# Implemented from kitosid template for -
# osid.resource.ResourceBinSession.get_resources_by_bin
return self._get_provider_session('log_entry_log_session').get_log_entrie_by_log(*args, **kwargs)
def get_log_ids_by_log_entry(self, *args, **kwargs):
"""Pass through to provider LogEntryLogSession.get_log_ids_by_log_entry"""
# Implemented from kitosid template for -
# osid.resource.ResourceBinSession.get_bin_ids_by_resource
return self._get_provider_session('log_entry_log_session').get_log_ids_by_log_entry(*args, **kwargs)
def get_log_by_log_entry(self, *args, **kwargs):
"""Pass through to provider unimplemented"""
raise Unimplemented('Unimplemented in dlkit.services - args=' + str(args) + ', kwargs=' + str(kwargs))
##
# The following methods are from osid.logging.LogEntryLogAssignmentSession
def can_assign_log_entries(self):
"""Pass through to provider LogEntryLogAssignmentSession.can_assign_log_entries"""
# Implemented from kitosid template for -
# osid.resource.ResourceBinAssignmentSession.can_assign_resources
return self._get_provider_session('log_entry_log_assignment_session').can_assign_log_entries()
def can_assign_log_entries_to_log(self, *args, **kwargs):
"""Pass through to provider LogEntryLogAssignmentSession.can_assign_log_entries_to_log"""
# Implemented from kitosid template for -
# osid.resource.ResourceBinAssignmentSession.can_assign_resources_to_bin
return self._get_provider_session('log_entry_log_assignment_session').can_assign_log_entries_to_log(*args, **kwargs)
def get_assignable_log_ids(self, *args, **kwargs):
"""Pass through to provider LogEntryLogAssignmentSession.get_assignable_log_ids"""
# Implemented from kitosid template for -
# osid.resource.ResourceBinAssignmentSession.get_assignable_bin_ids
return self._get_provider_session('log_entry_log_assignment_session').get_assignable_log_ids(*args, **kwargs)
def get_assignable_log_ids_for_log_entry(self, *args, **kwargs):
"""Pass through to provider LogEntryLogAssignmentSession.get_assignable_log_ids_for_log_entry"""
# Implemented from kitosid template for -
# osid.resource.ResourceBinAssignmentSession.get_assignable_bin_ids_for_resource
return self._get_provider_session('log_entry_log_assignment_session').get_assignable_log_ids_for_log_entry(*args, **kwargs)
def assign_log_entry_to_log(self, *args, **kwargs):
"""Pass through to provider LogEntryLogAssignmentSession.assign_log_entry_to_log"""
# Implemented from kitosid template for -
# osid.resource.ResourceBinAssignmentSession.assign_resource_to_bin
self._get_provider_session('log_entry_log_assignment_session').assign_log_entry_to_log(*args, **kwargs)
def unassign_log_entry_from_log(self, *args, **kwargs):
"""Pass through to provider LogEntryLogAssignmentSession.unassign_log_entry_from_log"""
# Implemented from kitosid template for -
# osid.resource.ResourceBinAssignmentSession.unassign_resource_from_bin
self._get_provider_session('log_entry_log_assignment_session').unassign_log_entry_from_log(*args, **kwargs)
def reassign_log_entry_to_log(self, *args, **kwargs):
"""Pass through to provider unimplemented"""
raise Unimplemented('Unimplemented in dlkit.services - args=' + str(args) + ', kwargs=' + str(kwargs))
##
# The following methods are from osid.logging.LogLookupSession
def can_lookup_logs(self):
"""Pass through to provider LogLookupSession.can_lookup_logs"""
# Implemented from kitosid template for -
# osid.resource.BinLookupSession.can_lookup_bins_template
return self._get_provider_session('log_lookup_session').can_lookup_logs()
def get_log(self, *args, **kwargs):
"""Pass through to provider LogLookupSession.get_log"""
# Implemented from kitosid template for -
# osid.resource.BinLookupSession.get_bin
return Log(
self._provider_manager,
self._get_provider_session('log_lookup_session').get_log(*args, **kwargs),
self._runtime,
self._proxy)
def get_logs_by_ids(self, *args, **kwargs):
"""Pass through to provider LogLookupSession.get_logs_by_ids"""
# Implemented from kitosid template for -
# osid.resource.BinLookupSession.get_bins_by_ids
catalogs = self._get_provider_session('log_lookup_session').get_logs_by_ids(*args, **kwargs)
cat_list = []
for cat in catalogs:
cat_list.append(Log(self._provider_manager, cat, self._runtime, self._proxy))
return LogList(cat_list)
def get_logs_by_genus_type(self, *args, **kwargs):
"""Pass through to provider LogLookupSession.get_logs_by_genus_type"""
# Implemented from kitosid template for -
# osid.resource.BinLookupSession.get_bins_by_genus_type
catalogs = self._get_provider_session('log_lookup_session').get_logs_by_genus_type(*args, **kwargs)
cat_list = []
for cat in catalogs:
cat_list.append(Log(self._provider_manager, cat, self._runtime, self._proxy))
return LogList(cat_list)
def get_logs_by_parent_genus_type(self, *args, **kwargs):
"""Pass through to provider LogLookupSession.get_logs_by_parent_genus_type"""
# Implemented from kitosid template for -
# osid.resource.BinLookupSession.get_bins_by_parent_genus_type
catalogs = self._get_provider_session('log_lookup_session').get_logs_by_parent_genus_type(*args, **kwargs)
cat_list = []
for cat in catalogs:
cat_list.append(Log(self._provider_manager, cat, self._runtime, self._proxy))
return LogList(cat_list)
def get_logs_by_record_type(self, *args, **kwargs):
"""Pass through to provider LogLookupSession.get_logs_by_record_type"""
# Implemented from kitosid template for -
# osid.resource.BinLookupSession.get_bins_by_record_type
catalogs = self._get_provider_session('log_lookup_session').get_logs_by_record_type(*args, **kwargs)
cat_list = []
for cat in catalogs:
cat_list.append(Log(self._provider_manager, cat, self._runtime, self._proxy))
return LogList(cat_list)
def get_logs_by_provider(self, *args, **kwargs):
"""Pass through to provider LogLookupSession.get_logs_by_provider"""
# Implemented from kitosid template for -
# osid.resource.BinLookupSession.get_bins_by_provider
catalogs = self._get_provider_session('log_lookup_session').get_logs_by_provider(*args, **kwargs)
cat_list = []
for cat in catalogs:
cat_list.append(Log(self._provider_manager, cat, self._runtime, self._proxy))
return LogList(cat_list)
def get_logs(self):
"""Pass through to provider LogLookupSession.get_logs"""
# Implemented from kitosid template for -
# osid.resource.BinLookupSession.get_bins_template
catalogs = self._get_provider_session('log_lookup_session').get_logs()
cat_list = []
for cat in catalogs:
cat_list.append(Log(self._provider_manager, cat, self._runtime, self._proxy))
return LogList(cat_list)
logs = property(fget=get_logs)
##
# The following methods are from osid.logging.LogAdminSession
def can_create_logs(self):
"""Pass through to provider LogAdminSession.can_create_logs"""
# Implemented from kitosid template for -
# osid.resource.BinAdminSession.can_create_bins
return self._get_provider_session('log_admin_session').can_create_logs()
def can_create_log_with_record_types(self, *args, **kwargs):
"""Pass through to provider LogAdminSession.can_create_log_with_record_types"""
# Implemented from kitosid template for -
# osid.resource.BinAdminSession.can_create_bin_with_record_types
return self._get_provider_session('log_admin_session').can_create_log_with_record_types(*args, **kwargs)
def get_log_form_for_create(self, *args, **kwargs):
"""Pass through to provider LogAdminSession.get_log_form_for_create"""
# Implemented from kitosid template for -
# osid.resource.BinAdminSession.get_bin_form_for_create
return self._get_provider_session('log_admin_session').get_log_form_for_create(*args, **kwargs)
def create_log(self, *args, **kwargs):
"""Pass through to provider LogAdminSession.create_log"""
# Implemented from kitosid template for -
# osid.resource.BinAdminSession.create_bin
return Log(
self._provider_manager,
self._get_provider_session('log_admin_session').create_log(*args, **kwargs),
self._runtime,
self._proxy)
def can_update_logs(self):
"""Pass through to provider LogAdminSession.can_update_logs"""
# Implemented from kitosid template for -
# osid.resource.BinAdminSession.can_update_bins
return self._get_provider_session('log_admin_session').can_update_logs()
def get_log_form_for_update(self, *args, **kwargs):
"""Pass through to provider LogAdminSession.get_log_form_for_update"""
# Implemented from kitosid template for -
# osid.resource.BinAdminSession.get_bin_form_for_update
return self._get_provider_session('log_admin_session').get_log_form_for_update(*args, **kwargs)
def get_log_form(self, *args, **kwargs):
"""Pass through to provider LogAdminSession.get_log_form_for_update"""
# Implemented from kitosid template for -
# osid.resource.BinAdminSession.get_bin_form_for_update_template
# This method might be a bit sketchy. Time will tell.
if isinstance(args[-1], list) or 'log_record_types' in kwargs:
return self.get_log_form_for_create(*args, **kwargs)
else:
return self.get_log_form_for_update(*args, **kwargs)
def update_log(self, *args, **kwargs):
"""Pass through to provider LogAdminSession.update_log"""
# Implemented from kitosid template for -
# osid.resource.BinAdminSession.update_bin
# OSID spec does not require returning updated catalog
return Log(
self._provider_manager,
self._get_provider_session('log_admin_session').update_log(*args, **kwargs),
self._runtime,
self._proxy)
def save_log(self, log_form, *args, **kwargs):
"""Pass through to provider LogAdminSession.update_log"""
# Implemented from kitosid template for -
# osid.resource.BinAdminSession.update_bin
if log_form.is_for_update():
return self.update_log(log_form, *args, **kwargs)
else:
return self.create_log(log_form, *args, **kwargs)
def can_delete_logs(self):
"""Pass through to provider LogAdminSession.can_delete_logs"""
# Implemented from kitosid template for -
# osid.resource.BinAdminSession.can_delete_bins
return self._get_provider_session('log_admin_session').can_delete_logs()
def delete_log(self, *args, **kwargs):
"""Pass through to provider LogAdminSession.delete_log"""
# Implemented from kitosid template for -
# osid.resource.BinAdminSession.delete_bin
self._get_provider_session('log_admin_session').delete_log(*args, **kwargs)
def can_manage_log_aliases(self):
"""Pass through to provider LogAdminSession.can_manage_log_aliases"""
# Implemented from kitosid template for -
# osid.resource.ResourceAdminSession.can_manage_resource_aliases_template
return self._get_provider_session('log_admin_session').can_manage_log_aliases()
def alias_log(self, *args, **kwargs):
"""Pass through to provider LogAdminSession.alias_log"""
# Implemented from kitosid template for -
# osid.resource.BinAdminSession.alias_bin
self._get_provider_session('log_admin_session').alias_log(*args, **kwargs)
##
# The following methods are from osid.logging.LogHierarchySession
def get_log_hierarchy_id(self):
"""Pass through to provider LogHierarchySession.get_log_hierarchy_id"""
# Implemented from kitosid template for -
# osid.resource.BinHierarchySession.get_bin_hierarchy_id
return self._get_provider_session('log_hierarchy_session').get_log_hierarchy_id()
log_hierarchy_id = property(fget=get_log_hierarchy_id)
def get_log_hierarchy(self):
"""Pass through to provider LogHierarchySession.get_log_hierarchy"""
# Implemented from kitosid template for -
# osid.resource.BinHierarchySession.get_bin_hierarchy
return self._get_provider_session('log_hierarchy_session').get_log_hierarchy()
log_hierarchy = property(fget=get_log_hierarchy)
def can_access_log_hierarchy(self):
"""Pass through to provider LogHierarchySession.can_access_log_hierarchy"""
# Implemented from kitosid template for -
# osid.resource.BinHierarchySession.can_access_bin_hierarchy
return self._get_provider_session('log_hierarchy_session').can_access_log_hierarchy()
def get_root_log_ids(self):
"""Pass through to provider LogHierarchySession.get_root_log_ids"""
# Implemented from kitosid template for -
# osid.resource.BinHierarchySession.get_root_bin_ids
return self._get_provider_session('log_hierarchy_session').get_root_log_ids()
root_log_ids = property(fget=get_root_log_ids)
def get_root_logs(self):
"""Pass through to provider LogHierarchySession.get_root_logs"""
# Implemented from kitosid template for -
# osid.resource.BinHierarchySession.get_root_bins
return self._get_provider_session('log_hierarchy_session').get_root_logs()
root_logs = property(fget=get_root_logs)
def has_parent_logs(self, *args, **kwargs):
"""Pass through to provider LogHierarchySession.has_parent_logs"""
# Implemented from kitosid template for -
# osid.resource.BinHierarchySession.has_parent_bins
return self._get_provider_session('log_hierarchy_session').has_parent_logs(*args, **kwargs)
def is_parent_of_log(self, *args, **kwargs):
"""Pass through to provider LogHierarchySession.is_parent_of_log"""
# Implemented from kitosid template for -
# osid.resource.BinHierarchySession.is_parent_of_bin
return self._get_provider_session('log_hierarchy_session').is_parent_of_log(*args, **kwargs)
def get_parent_log_ids(self, *args, **kwargs):
"""Pass through to provider LogHierarchySession.get_parent_log_ids"""
# Implemented from kitosid template for -
# osid.resource.BinHierarchySession.get_parent_bin_ids
return self._get_provider_session('log_hierarchy_session').get_parent_log_ids(*args, **kwargs)
def get_parent_logs(self, *args, **kwargs):
"""Pass through to provider LogHierarchySession.get_parent_logs"""
# Implemented from kitosid template for -
# osid.resource.BinHierarchySession.get_parent_bins
return self._get_provider_session('log_hierarchy_session').get_parent_logs(*args, **kwargs)
def is_ancestor_of_log(self, *args, **kwargs):
"""Pass through to provider LogHierarchySession.is_ancestor_of_log"""
# Implemented from kitosid template for -
# osid.resource.BinHierarchySession.is_ancestor_of_bin
return self._get_provider_session('log_hierarchy_session').is_ancestor_of_log(*args, **kwargs)
def has_child_logs(self, *args, **kwargs):
"""Pass through to provider LogHierarchySession.has_child_logs"""
# Implemented from kitosid template for -
# osid.resource.BinHierarchySession.has_child_bins
return self._get_provider_session('log_hierarchy_session').has_child_logs(*args, **kwargs)
def is_child_of_log(self, *args, **kwargs):
"""Pass through to provider LogHierarchySession.is_child_of_log"""
# Implemented from kitosid template for -
# osid.resource.BinHierarchySession.is_child_of_bin
return self._get_provider_session('log_hierarchy_session').is_child_of_log(*args, **kwargs)
def get_child_log_ids(self, *args, **kwargs):
"""Pass through to provider LogHierarchySession.get_child_log_ids"""
# Implemented from kitosid template for -
# osid.resource.BinHierarchySession.get_child_bin_ids
return self._get_provider_session('log_hierarchy_session').get_child_log_ids(*args, **kwargs)
def get_child_logs(self, *args, **kwargs):
"""Pass through to provider LogHierarchySession.get_child_logs"""
# Implemented from kitosid template for -
# osid.resource.BinHierarchySession.get_child_bins
return self._get_provider_session('log_hierarchy_session').get_child_logs(*args, **kwargs)
def is_descendant_of_log(self, *args, **kwargs):
"""Pass through to provider LogHierarchySession.is_descendant_of_log"""
# Implemented from kitosid template for -
# osid.resource.BinHierarchySession.is_descendant_of_bin
return self._get_provider_session('log_hierarchy_session').is_descendant_of_log(*args, **kwargs)
def get_log_node_ids(self, *args, **kwargs):
"""Pass through to provider LogHierarchySession.get_log_node_ids"""
# Implemented from kitosid template for -
# osid.resource.BinHierarchySession.get_bin_node_ids
return self._get_provider_session('log_hierarchy_session').get_log_node_ids(*args, **kwargs)
def get_log_nodes(self, *args, **kwargs):
"""Pass through to provider LogHierarchySession.get_log_nodes"""
# Implemented from kitosid template for -
# osid.resource.BinHierarchySession.get_bin_nodes
return self._get_provider_session('log_hierarchy_session').get_log_nodes(*args, **kwargs)
##
# The following methods are from osid.logging.LogHierarchyDesignSession
def can_modify_log_hierarchy(self):
"""Pass through to provider LogHierarchyDesignSession.can_modify_log_hierarchy"""
# Implemented from kitosid template for -
# osid.resource.BinHierarchyDesignSession.can_modify_bin_hierarchy
return self._get_provider_session('log_hierarchy_design_session').can_modify_log_hierarchy()
def create_log_hierarchy(self, *args, **kwargs):
"""Pass through to provider LogHierarchyDesignSession.can_modify_log_hierarchy"""
# Patched in by cjshaw@mit.edu, Jul 23, 2014, added by birdland to template on Aug 8, 2014
# Is not part of specs for catalog hierarchy design sessions, but may want to be in hierarchy service instead
# Will not return an actual object, just JSON
# since a BankHierarchy does not seem to be an OSID thing.
return self._get_provider_session('log_hierarchy_design_session').create_log_hierarchy(*args, **kwargs)
def delete_log_hierarchy(self, *args, **kwargs):
"""Pass through to provider LogHierarchyDesignSession.can_modify_log_hierarchy"""
# Patched in by cjshaw@mit.edu, Jul 23, 2014, added by birdland to template on Aug 8, 2014
# Is not part of specs for catalog hierarchy design sessions, but may want to be in hierarchy service instead
# Will not return an actual object, just JSON
# since a BankHierarchy does not seem to be an OSID thing.
return self._get_provider_session('log_hierarchy_design_session').delete_log_hierarchy(*args, **kwargs)
def add_root_log(self, *args, **kwargs):
"""Pass through to provider LogHierarchyDesignSession.add_root_log"""
# Implemented from kitosid template for -
# osid.resource.BinHierarchyDesignSession.add_root_bin
self._get_provider_session('log_hierarchy_design_session').add_root_log(*args, **kwargs)
def remove_root_log(self, *args, **kwargs):
"""Pass through to provider LogHierarchyDesignSession.remove_root_log"""
# Implemented from kitosid template for -
# osid.resource.BinHierarchyDesignSession.remove_root_bin
self._get_provider_session('log_hierarchy_design_session').remove_root_log(*args, **kwargs)
def add_child_log(self, *args, **kwargs):
"""Pass through to provider LogHierarchyDesignSession.add_child_log"""
# Implemented from kitosid template for -
# osid.resource.BinHierarchyDesignSession.add_child_bin
self._get_provider_session('log_hierarchy_design_session').add_child_log(*args, **kwargs)
def remove_child_log(self, *args, **kwargs):
"""Pass through to provider LogHierarchyDesignSession.remove_child_log"""
# Implemented from kitosid template for -
# osid.resource.BinHierarchyDesignSession.remove_child_bin
self._get_provider_session('log_hierarchy_design_session').remove_child_log(*args, **kwargs)
def remove_child_logs(self, *args, **kwargs):
"""Pass through to provider LogHierarchyDesignSession.remove_child_logs"""
# Implemented from kitosid template for -
# osid.resource.BinHierarchyDesignSession.remove_child_bins
self._get_provider_session('log_hierarchy_design_session').remove_child_logs(*args, **kwargs)
class LoggingProxyManager(osid.OsidProxyManager, LoggingProfile, logging_managers.LoggingProxyManager):
"""LoggingProxyManager convenience adapter including related Session methods."""
def get_logging_session(self, *args, **kwargs):
"""Pass through to provider unimplemented"""
raise Unimplemented('Unimplemented in dlkit.services - args=' + str(args) + ', kwargs=' + str(kwargs))
def get_logging_session_for_log(self, *args, **kwargs):
"""Pass through to provider unimplemented"""
raise Unimplemented('Unimplemented in dlkit.services - args=' + str(args) + ', kwargs=' + str(kwargs))
def get_log_entry_lookup_session(self, *args, **kwargs):
"""Sends control to Manager"""
# Implemented from kitosid template for -
# osid.resource.ResourceProxyManager.get_resource_lookup_session_template
return LoggingManager.get_log_entry_lookup_session(*args, **kwargs)
def get_log_entry_lookup_session_for_log(self, *args, **kwargs):
"""Sends control to Manager"""
# Implemented from kitosid template for -
# osid.resource.ResourceProxyManager.get_resource_lookup_session_for_bin_template
return LoggingManager.get_log_entry_lookup_session_for_log(*args, **kwargs)
def get_log_entry_query_session(self, *args, **kwargs):
"""Sends control to Manager"""
# Implemented from kitosid template for -
# osid.resource.ResourceProxyManager.get_resource_lookup_session_template
return LoggingManager.get_log_entry_query_session(*args, **kwargs)
def get_log_entry_query_session_for_log(self, *args, **kwargs):
"""Sends control to Manager"""
# Implemented from kitosid template for -
# osid.resource.ResourceProxyManager.get_resource_lookup_session_for_bin_template
return LoggingManager.get_log_entry_query_session_for_log(*args, **kwargs)
def get_log_entry_admin_session(self, *args, **kwargs):
"""Pass through to provider unimplemented"""
raise Unimplemented('Unimplemented in dlkit.services - args=' + str(args) + ', kwargs=' + str(kwargs))
def get_log_entry_admin_session_for_log(self, *args, **kwargs):
"""Pass through to provider unimplemented"""
raise Unimplemented('Unimplemented in dlkit.services - args=' + str(args) + ', kwargs=' + str(kwargs))
def get_log_entry_log_session(self, *args, **kwargs):
"""Pass through to provider unimplemented"""
raise Unimplemented('Unimplemented in dlkit.services - args=' + str(args) + ', kwargs=' + str(kwargs))
def get_log_entry_log_assignment_session(self, *args, **kwargs):
"""Pass through to provider unimplemented"""
raise Unimplemented('Unimplemented in dlkit.services - args=' + str(args) + ', kwargs=' + str(kwargs))
def get_log_lookup_session(self, *args, **kwargs):
"""Pass through to provider unimplemented"""
raise Unimplemented('Unimplemented in dlkit.services - args=' + str(args) + ', kwargs=' + str(kwargs))
def get_log_admin_session(self, *args, **kwargs):
"""Pass through to provider unimplemented"""
raise Unimplemented('Unimplemented in dlkit.services - args=' + str(args) + ', kwargs=' + str(kwargs))
def get_log_hierarchy_session(self, *args, **kwargs):
"""Pass through to provider unimplemented"""
raise Unimplemented('Unimplemented in dlkit.services - args=' + str(args) + ', kwargs=' + str(kwargs))
def get_log_hierarchy_design_session(self, *args, **kwargs):
"""Pass through to provider unimplemented"""
raise Unimplemented('Unimplemented in dlkit.services - args=' + str(args) + ', kwargs=' + str(kwargs))
def get_logging_batch_proxy_manager(self, *args, **kwargs):
"""Pass through to provider unimplemented"""
raise Unimplemented('Unimplemented in dlkit.services')
logging_batch_proxy_manager = property(fget=get_logging_batch_proxy_manager)
class Log(abc_logging_objects.Log, osid.OsidSession, osid.OsidCatalog):
"""Log convenience adapter including related Session methods."""
# WILL THIS EVER BE CALLED DIRECTLY - OUTSIDE OF A MANAGER?
def __init__(self, provider_manager, catalog, runtime, proxy, **kwargs):
self._provider_manager = provider_manager
self._catalog = catalog
self._runtime = runtime
osid.OsidObject.__init__(self, self._catalog) # This is to initialize self._object
osid.OsidSession.__init__(self, proxy) # This is to initialize self._proxy
self._catalog_id = catalog.get_id()
self._provider_sessions = kwargs
self._session_management = AUTOMATIC
self._log_view = DEFAULT
self._object_views = dict()
self._operable_views = dict()
self._containable_views = dict()
def _set_log_view(self, session):
"""Sets the underlying log view to match current view"""
if self._log_view == FEDERATED:
try:
session.use_federated_log_view()
except AttributeError:
pass
else:
try:
session.use_isolated_log_view()
except AttributeError:
pass
def _set_object_view(self, session):
"""Sets the underlying object views to match current view"""
for obj_name in self._object_views:
if self._object_views[obj_name] == PLENARY:
try:
getattr(session, 'use_plenary_' + obj_name + '_view')()
except AttributeError:
pass
else:
try:
getattr(session, 'use_comparative_' + obj_name + '_view')()
except AttributeError:
pass
def _set_operable_view(self, session):
"""Sets the underlying operable views to match current view"""
for obj_name in self._operable_views:
if self._operable_views[obj_name] == ACTIVE:
try:
getattr(session, 'use_active_' + obj_name + '_view')()
except AttributeError:
pass
else:
try:
getattr(session, 'use_any_status_' + obj_name + '_view')()
except AttributeError:
pass
def _set_containable_view(self, session):
"""Sets the underlying containable views to match current view"""
for obj_name in self._containable_views:
if self._containable_views[obj_name] == SEQUESTERED:
try:
getattr(session, 'use_sequestered_' + obj_name + '_view')()
except AttributeError:
pass
else:
try:
getattr(session, 'use_unsequestered_' + obj_name + '_view')()
except AttributeError:
pass
def _get_provider_session(self, session_name):
"""Returns the requested provider session.
Instantiates a new one if the named session is not already known.
"""
agent_key = self._get_agent_key()
if session_name in self._provider_sessions[agent_key]:
return self._provider_sessions[agent_key][session_name]
else:
session_class = getattr(self._provider_manager, 'get_' + session_name + '_for_log')
if self._proxy is None:
if 'notification_session' in session_name:
# Is there something else we should do about the receiver field?
session = session_class('fake receiver', self._catalog.get_id())
else:
session = session_class(self._catalog.get_id())
else:
if 'notification_session' in session_name:
# Is there something else we should do about the receiver field?
session = session_class('fake receiver', self._catalog.get_id(), self._proxy)
else:
session = session_class(self._catalog.get_id(), self._proxy)
self._set_log_view(session)
self._set_object_view(session)
self._set_operable_view(session)
self._set_containable_view(session)
if self._session_management != DISABLED:
self._provider_sessions[agent_key][session_name] = session
return session
def get_log_id(self):
"""Gets the Id of this log."""
return self._catalog_id
def get_log(self):
"""Strange little method to assure conformance for inherited Sessions."""
return self
def __getattr__(self, name):
if '_catalog' in self.__dict__:
try:
return self._catalog[name]
except AttributeError:
pass
raise AttributeError
def close_sessions(self):
"""Close all sessions currently being managed by this Manager to save memory."""
if self._session_management != MANDATORY:
self._provider_sessions = dict()
else:
raise IllegalState()
def use_automatic_session_management(self):
"""Session state will be saved until closed by consumers."""
self._session_management = AUTOMATIC
def use_mandatory_session_management(self):
"""Session state will always be saved and can not be closed by consumers."""
# Session state will be saved and can not be closed by consumers
self._session_management = MANDATORY
def disable_session_management(self):
"""Session state will never be saved."""
self._session_management = DISABLED
self.close_sessions()
def get_log_record(self, *args, **kwargs):
"""Pass through to provider unimplemented"""
raise Unimplemented('Unimplemented in dlkit.services - args=' + str(args) + ', kwargs=' + str(kwargs))
##
# The following methods are from osid.logging.LogEntryLookupSession
def can_read_log(self):
return self.can_lookup_log_entries()
def can_lookup_log_entries(self):
"""Pass through to provider LogEntryLookupSession.can_lookup_log_entries"""
return self._get_provider_session('log_entry_lookup_session').can_lookup_log_entries()
def use_comparative_log_entry_view(self):
"""Pass through to provider LogEntryLookupSession.use_comparative_log_entry_view"""
self._object_views['log_entry'] = COMPARATIVE
# self._get_provider_session('log_entry_lookup_session') # To make sure the session is tracked
for session in self._get_provider_sessions():
try:
session.use_comparative_log_entry_view()
except AttributeError:
pass
def use_plenary_log_entry_view(self):
"""Pass through to provider LogEntryLookupSession.use_plenary_log_entry_view"""
self._object_views['log_entry'] = PLENARY
# self._get_provider_session('log_entry_lookup_session') # To make sure the session is tracked
for session in self._get_provider_sessions():
try:
session.use_plenary_log_entry_view()
except AttributeError:
pass
def use_federated_log_view(self):
"""Pass through to provider LogEntryLookupSession.use_federated_log_view"""
self._log_view = FEDERATED
# self._get_provider_session('log_entry_lookup_session') # To make sure the session is tracked
for session in self._get_provider_sessions():
try:
session.use_federated_log_view()
except AttributeError:
pass
def use_isolated_log_view(self):
"""Pass through to provider LogEntryLookupSession.use_isolated_log_view"""
self._log_view = ISOLATED
# self._get_provider_session('log_entry_lookup_session') # To make sure the session is tracked
for session in self._get_provider_sessions():
try:
session.use_isolated_log_view()
except AttributeError:
pass
def get_log_entry(self, *args, **kwargs):
"""Pass through to provider LogEntryLookupSession.get_log_entry"""
# Implemented from kitosid template for -
# osid.resource.ResourceLookupSession.get_resource_template
return self._get_provider_session('log_entry_lookup_session').get_log_entry(*args, **kwargs)
def get_log_entries_by_ids(self, *args, **kwargs):
"""Pass through to provider LogEntryLookupSession.get_log_entries_by_ids"""
# Implemented from kitosid template for -
# osid.resource.ResourceLookupSession.get_resources_by_ids_template
return self._get_provider_session('log_entry_lookup_session').get_log_entries_by_ids(*args, **kwargs)
def get_log_entries_by_genus_type(self, *args, **kwargs):
"""Pass through to provider LogEntryLookupSession.get_log_entries_by_genus_type"""
# Implemented from kitosid template for -
# osid.resource.ResourceLookupSession.get_resources_by_genus_type_template
return self._get_provider_session('log_entry_lookup_session').get_log_entries_by_genus_type(*args, **kwargs)
def get_log_entries_by_parent_genus_type(self, *args, **kwargs):
"""Pass through to provider LogEntryLookupSession.get_log_entries_by_parent_genus_type"""
# Implemented from kitosid template for -
# osid.resource.ResourceLookupSession.get_resources_by_parent_genus_type_template
return self._get_provider_session('log_entry_lookup_session').get_log_entries_by_parent_genus_type(*args, **kwargs)
def get_log_entries_by_record_type(self, *args, **kwargs):
"""Pass through to provider LogEntryLookupSession.get_log_entries_by_record_type"""
# Implemented from kitosid template for -
# osid.resource.ResourceLookupSession.get_resources_by_record_type_template
return self._get_provider_session('log_entry_lookup_session').get_log_entries_by_record_type(*args, **kwargs)
def get_log_entries_by_priority_type(self, *args, **kwargs):
"""Pass through to provider unimplemented"""
raise Unimplemented('Unimplemented in dlkit.services - args=' + str(args) + ', kwargs=' + str(kwargs))
def get_log_entries_by_date(self, *args, **kwargs):
"""Pass through to provider unimplemented"""
raise Unimplemented('Unimplemented in dlkit.services - args=' + str(args) + ', kwargs=' + str(kwargs))
def get_log_entries_by_priority_type_and_date(self, *args, **kwargs):
"""Pass through to provider unimplemented"""
raise Unimplemented('Unimplemented in dlkit.services - args=' + str(args) + ', kwargs=' + str(kwargs))
def get_log_entries_for_resource(self, *args, **kwargs):
"""Pass through to provider unimplemented"""
raise Unimplemented('Unimplemented in dlkit.services - args=' + str(args) + ', kwargs=' + str(kwargs))
def get_log_entries_by_date_for_resource(self, *args, **kwargs):
"""Pass through to provider unimplemented"""
raise Unimplemented('Unimplemented in dlkit.services - args=' + str(args) + ', kwargs=' + str(kwargs))
def get_log_entries_by_priority_type_and_date_for_resource(self, *args, **kwargs):
"""Pass through to provider unimplemented"""
raise Unimplemented('Unimplemented in dlkit.services - args=' + str(args) + ', kwargs=' + str(kwargs))
def get_log_entries(self):
"""Pass through to provider LogEntryLookupSession.get_log_entries"""
# Implemented from kitosid template for -
# osid.resource.ResourceLookupSession.get_resources_template
return self._get_provider_session('log_entry_lookup_session').get_log_entries()
log_entries = property(fget=get_log_entries)
##
# The following methods are from osid.logging.LogEntryQuerySession
def can_search_log_entries(self):
"""Pass through to provider LogEntryQuerySession.can_search_log_entries"""
# Implemented from kitosid template for -
# osid.resource.ResourceQuerySession.can_search_resources_template
return self._get_provider_session('log_entry_query_session').can_search_log_entries()
def get_log_entry_query(self):
"""Pass through to provider LogEntryQuerySession.get_log_entry_query"""
# Implemented from kitosid template for -
# osid.resource.ResourceQuerySession.get_item_query_template
return self._get_provider_session('log_entry_query_session').get_log_entry_query()
log_entry_query = property(fget=get_log_entry_query)
def get_log_entries_by_query(self, *args, **kwargs):
"""Pass through to provider LogEntryQuerySession.get_log_entries_by_query"""
# Implemented from kitosid template for -
# osid.resource.ResourceQuerySession.get_items_by_query_template
return self._get_provider_session('log_entry_query_session').get_log_entries_by_query(*args, **kwargs)
##
# The following methods are from osid.logging.LogEntryAdminSession
def can_create_log_entries(self):
"""Pass through to provider LogEntryAdminSession.can_create_log_entries"""
# Implemented from kitosid template for -
# osid.resource.BinAdminSession.can_create_bins
return self._get_provider_session('log_entry_admin_session').can_create_log_entries()
def can_create_log_entry_with_record_types(self, *args, **kwargs):
"""Pass through to provider LogEntryAdminSession.can_create_log_entry_with_record_types"""
# Implemented from kitosid template for -
# osid.resource.BinAdminSession.can_create_bin_with_record_types
return self._get_provider_session('log_entry_admin_session').can_create_log_entry_with_record_types(*args, **kwargs)
def get_log_entry_form_for_create(self, *args, **kwargs):
"""Pass through to provider LogEntryAdminSession.get_log_entry_form_for_create"""
# Implemented from kitosid template for -
# osid.resource.ResourceAdminSession.get_resource_form_for_create
return self._get_provider_session('log_entry_admin_session').get_log_entry_form_for_create(*args, **kwargs)
def create_log_entry(self, *args, **kwargs):
"""Pass through to provider LogEntryAdminSession.create_log_entry"""
# Implemented from kitosid template for -
# osid.resource.ResourceAdminSession.create_resource
return self._get_provider_session('log_entry_admin_session').create_log_entry(*args, **kwargs)
def can_update_log_entries(self):
"""Pass through to provider LogEntryAdminSession.can_update_log_entries"""
# Implemented from kitosid template for -
# osid.resource.BinAdminSession.can_update_bins
return self._get_provider_session('log_entry_admin_session').can_update_log_entries()
def get_log_entry_form_for_update(self, *args, **kwargs):
"""Pass through to provider LogEntryAdminSession.get_log_entry_form_for_update"""
# Implemented from kitosid template for -
# osid.resource.ResourceAdminSession.get_resource_form_for_update
return self._get_provider_session('log_entry_admin_session').get_log_entry_form_for_update(*args, **kwargs)
def get_log_entry_form(self, *args, **kwargs):
"""Pass through to provider LogEntryAdminSession.get_log_entry_form_for_update"""
# Implemented from kitosid template for -
# osid.resource.ResourceAdminSession.get_resource_form_for_update
# This method might be a bit sketchy. Time will tell.
if isinstance(args[-1], list) or 'log_entry_record_types' in kwargs:
return self.get_log_entry_form_for_create(*args, **kwargs)
else:
return self.get_log_entry_form_for_update(*args, **kwargs)
def duplicate_log_entry(self, log_entry_id):
# Implemented from kitosid template for -
# osid.resource.ResourceAdminSession.get_resource_form_for_update
return self._get_provider_session('log_entry_admin_session').duplicate_log_entry(log_entry_id)
def update_log_entry(self, *args, **kwargs):
"""Pass through to provider LogEntryAdminSession.update_log_entry"""
# Implemented from kitosid template for -
# osid.resource.ResourceAdminSession.update_resource
# Note: The OSID spec does not require returning updated object
return self._get_provider_session('log_entry_admin_session').update_log_entry(*args, **kwargs)
def save_log_entry(self, log_entry_form, *args, **kwargs):
"""Pass through to provider LogEntryAdminSession.update_log_entry"""
# Implemented from kitosid template for -
# osid.resource.ResourceAdminSession.update_resource
if log_entry_form.is_for_update():
return self.update_log_entry(log_entry_form, *args, **kwargs)
else:
return self.create_log_entry(log_entry_form, *args, **kwargs)
def can_delete_log_entries(self):
"""Pass through to provider LogEntryAdminSession.can_delete_log_entries"""
# Implemented from kitosid template for -
# osid.resource.BinAdminSession.can_delete_bins
return self._get_provider_session('log_entry_admin_session').can_delete_log_entries()
def delete_log_entry(self, *args, **kwargs):
"""Pass through to provider LogEntryAdminSession.delete_log_entry"""
# Implemented from kitosid template for -
# osid.resource.ResourceAdminSession.delete_resource
self._get_provider_session('log_entry_admin_session').delete_log_entry(*args, **kwargs)
def can_manage_log_entry_aliases(self):
"""Pass through to provider LogEntryAdminSession.can_manage_log_entry_aliases"""
# Implemented from kitosid template for -
# osid.resource.ResourceAdminSession.can_manage_resource_aliases_template
return self._get_provider_session('log_entry_admin_session').can_manage_log_entry_aliases()
def alias_log_entry(self, *args, **kwargs):
"""Pass through to provider LogEntryAdminSession.alias_log_entry"""
# Implemented from kitosid template for -
# osid.resource.ResourceAdminSession.alias_resources
self._get_provider_session('log_entry_admin_session').alias_log_entry(*args, **kwargs)
class LogList(abc_logging_objects.LogList, osid.OsidList):
"""LogList convenience adapter including related Session methods."""
def get_next_log(self):
"""Gets next object"""
# Implemented from kitosid template for -
# osid.resource.ResourceList.get_next_resource
try:
next_item = next(self)
except StopIteration:
raise IllegalState('no more elements available in this list')
else:
return next_item
def next(self):
"""next method for enumerator"""
# Implemented from kitosid template for -
# osid.resource.ResourceList.get_next_resource
next_item = osid.OsidList.next(self)
return next_item
__next__ = next
next_log = property(fget=get_next_log)
def get_next_logs(self, n):
"""gets next n objects from list"""
# Implemented from kitosid template for -
# osid.resource.ResourceList.get_next_resources
if n > self.available():
# !!! This is not quite as specified (see method docs) !!!
raise IllegalState('not enough elements available in this list')
else:
next_list = []
i = 0
while i < n:
try:
next_list.append(next(self))
except StopIteration:
break
i += 1
return next_list
| 49.464925
| 131
| 0.707798
| 7,929
| 66,283
| 5.554294
| 0.044394
| 0.047003
| 0.041621
| 0.067234
| 0.873501
| 0.837625
| 0.80352
| 0.759991
| 0.704609
| 0.636785
| 0
| 0.000742
| 0.206493
| 66,283
| 1,339
| 132
| 49.501867
| 0.836585
| 0.366519
| 0
| 0.389908
| 0
| 0
| 0.08374
| 0.036648
| 0
| 0
| 0
| 0
| 0
| 1
| 0.270642
| false
| 0.025994
| 0.007645
| 0.006116
| 0.527523
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 8
|
027dad829b052a40b8a03569e9807e261a326f39
| 614
|
py
|
Python
|
seqgentools/__init__.py
|
NCAR/seqgentools
|
c9276b13876b24a99ba218f7abbd1daee115fed5
|
[
"MIT"
] | 3
|
2019-06-12T09:19:25.000Z
|
2022-02-09T15:47:16.000Z
|
seqgentools/__init__.py
|
NCAR/seqgentools
|
c9276b13876b24a99ba218f7abbd1daee115fed5
|
[
"MIT"
] | null | null | null |
seqgentools/__init__.py
|
NCAR/seqgentools
|
c9276b13876b24a99ba218f7abbd1daee115fed5
|
[
"MIT"
] | 1
|
2021-11-22T18:46:50.000Z
|
2021-11-22T18:46:50.000Z
|
#from seqgentools.sequence import nPr, nCr, nCRr # noqa: F401
#from seqgentools.sequence import Sequence, Range, Count, Cycle # noqa: F401
#from seqgentools.sequence import Repeat, Chain, Product # noqa: F401
#from seqgentools.sequence import Permutations, Combinations # noqa: F401
#from seqgentools.sequence import PermutationRange # noqa: F401
#from seqgentools.sequence import CombinationRange # noqa: F401
#from seqgentools.sequence import Combinations_with_replacement # noqa: F401
from seqgentools.sequence import *
from seqgentools.algorithms import *
| 47.230769
| 76
| 0.741042
| 67
| 614
| 6.761194
| 0.328358
| 0.298013
| 0.406181
| 0.512141
| 0.571744
| 0.571744
| 0
| 0
| 0
| 0
| 0
| 0.042424
| 0.193811
| 614
| 12
| 77
| 51.166667
| 0.872727
| 0.843648
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
5a23cabae4f6e5e23436c8ca58416630d970be47
| 2,808
|
py
|
Python
|
awesome_flask_webapp/forms/auth.py
|
yeh-George/awesome-flask-webapp
|
dd5cf5f1ae9df0d2d25e41c113df50b16a8465e7
|
[
"MIT"
] | null | null | null |
awesome_flask_webapp/forms/auth.py
|
yeh-George/awesome-flask-webapp
|
dd5cf5f1ae9df0d2d25e41c113df50b16a8465e7
|
[
"MIT"
] | 4
|
2021-06-08T21:13:22.000Z
|
2022-03-12T00:22:47.000Z
|
awesome_flask_webapp/forms/auth.py
|
yeh-George/awesome-flask-webapp
|
dd5cf5f1ae9df0d2d25e41c113df50b16a8465e7
|
[
"MIT"
] | null | null | null |
# -*- coding: utf-8 -*-
from flask_wtf import FlaskForm
from wtforms import StringField, PasswordField, SubmitField, BooleanField
from wtforms.validators import DataRequired, Length, EqualTo, Email, Regexp, ValidationError
from awesome_flask_webapp.models import User
class LoginForm(FlaskForm):
email = StringField('Email', validators=[DataRequired(), Length(1, 30), Email()])
password = PasswordField('Password', validators=[DataRequired(), Length(1, 128)])
remember = BooleanField('Remember me')
submit = SubmitField('Log in')
class RegisterForm(FlaskForm):
username = StringField('Username', validators=[DataRequired(), Length(1, 30),
Regexp('^[a-zA-Z0-9]*$',
message='username only contain a-z, A-Z, 0-9.')])
email = StringField('Email', validators=[DataRequired(), Length(1, 254), Email()])
password = PasswordField('Password', validators=[DataRequired(), Length(1, 128), EqualTo('password_confirm')])
password_confirm = PasswordField('Confirm Password', validators=[DataRequired(), Length(1, 128)])
submit = SubmitField('Register')
def validate_username(self, field):
if User.query.filter_by(username=field.data).first():
raise ValidationError(message='This username has been used.')
def validate_email(self, field):
if User.query.filter_by(email=field.data.lower()).first():
raise ValidationError(message='This email has been used.')
class ForgetPasswordForm(FlaskForm):
email = StringField('Email', validators=[DataRequired(), Length(1, 254), Email()])
submit = SubmitField()
class ResetPasswordForm(FlaskForm):
email = StringField('Email', validators=[DataRequired(), Length(1, 254), Email()])
password = PasswordField('Password', validators=[DataRequired(), Length(1, 128), EqualTo('password_confirm')])
password_confirm = PasswordField('Confirm Password', validators=[DataRequired(), Length(1, 128)])
submit = SubmitField()
class RegisterSetPasswordForm(FlaskForm):
username = StringField('Username', validators=[DataRequired(), Length(1, 30),
Regexp('^[a-zA-Z0-9]*$',
message='username only contain a-z, A-Z, 0-9.')])
password = PasswordField('Password', validators=[DataRequired(), Length(1, 128), EqualTo('password_confirm')])
password_confirm = PasswordField('Confirm Password', validators=[DataRequired(), Length(1, 128)])
submit = SubmitField('Register')
def validate_username(self, field):
if User.query.filter_by(username=field.data).first():
raise ValidationError(message='This username has been used.')
| 46.8
| 114
| 0.655271
| 285
| 2,808
| 6.403509
| 0.238596
| 0.138082
| 0.199452
| 0.206575
| 0.758356
| 0.737534
| 0.737534
| 0.722192
| 0.689863
| 0.653699
| 0
| 0.025997
| 0.205484
| 2,808
| 59
| 115
| 47.59322
| 0.792022
| 0.007479
| 0
| 0.609756
| 0
| 0
| 0.135873
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.073171
| false
| 0.268293
| 0.097561
| 0
| 0.756098
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
|
0
| 8
|
5a4c6bb5d1e5c56dc4e344d39ed6050396de7663
| 103
|
py
|
Python
|
app/datalattes/__init__.py
|
JoseJuniorTK/data-lattes
|
cf5cc32b9f23f29b76ab2fa8300e321e7aeb61e9
|
[
"MIT"
] | null | null | null |
app/datalattes/__init__.py
|
JoseJuniorTK/data-lattes
|
cf5cc32b9f23f29b76ab2fa8300e321e7aeb61e9
|
[
"MIT"
] | null | null | null |
app/datalattes/__init__.py
|
JoseJuniorTK/data-lattes
|
cf5cc32b9f23f29b76ab2fa8300e321e7aeb61e9
|
[
"MIT"
] | null | null | null |
from flask import Blueprint
datalattes_bp = Blueprint('datalattes_bp', __name__)
from . import views
| 17.166667
| 52
| 0.796117
| 13
| 103
| 5.846154
| 0.615385
| 0.5
| 0.552632
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.135922
| 103
| 5
| 53
| 20.6
| 0.853933
| 0
| 0
| 0
| 0
| 0
| 0.126214
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.666667
| 0
| 0.666667
| 0.666667
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 1
|
0
| 7
|
5a801d32ac4ed189728771b4960c372ad6ccc841
| 17,408
|
py
|
Python
|
django_comments_xtd/tests/test_moderation.py
|
rockmaga/django-comments-xtd
|
29a49f29fddc0ec16bdfc77e16b46d97e83d2363
|
[
"BSD-2-Clause"
] | null | null | null |
django_comments_xtd/tests/test_moderation.py
|
rockmaga/django-comments-xtd
|
29a49f29fddc0ec16bdfc77e16b46d97e83d2363
|
[
"BSD-2-Clause"
] | null | null | null |
django_comments_xtd/tests/test_moderation.py
|
rockmaga/django-comments-xtd
|
29a49f29fddc0ec16bdfc77e16b46d97e83d2363
|
[
"BSD-2-Clause"
] | null | null | null |
from __future__ import unicode_literals
import re
try:
from unittest.mock import patch
except ImportError:
from mock import patch
from datetime import datetime, timedelta
import django
from django.contrib.auth.models import AnonymousUser, User
from django.test import TestCase, RequestFactory
from django.urls import reverse
try:
from django_comments.models import CommentFlag
except ImportError:
from django.contrib.comments.models import CommentFlag
from django_comments_xtd import django_comments, views
from django_comments_xtd.models import LIKEDIT_FLAG, DISLIKEDIT_FLAG
from django_comments_xtd.tests.models import Diary
from django_comments_xtd.tests.test_views import (confirm_comment_url,
post_diary_comment)
request_factory = RequestFactory()
send_mail = '' # string to send_mail function to patch
try:
import imp
imp.find_module('django_comments')
send_mail = 'django_comments.moderation.send_mail'
except ImportError:
send_mail = 'django.contrib.comments.moderation.send_mail'
class ModeratorApprovesComment(TestCase):
def setUp(self):
patcher_app1 = patch(send_mail)
patcher_app2 = patch('django_comments_xtd.views.send_mail')
self.mailer_app1 = patcher_app1.start()
self.mailer_app2 = patcher_app2.start()
self.diary_entry = Diary.objects.create(
body="What I did on October...",
allow_comments=True,
publish=datetime.now())
self.form = django_comments.get_form()(self.diary_entry)
def post_valid_data(self, auth_user=None):
data = {"name": "Bob", "email": "bob@example.com", "followup": True,
"reply_to": 0, "level": 1, "order": 1,
"comment": "Es war einmal eine kleine..."}
data.update(self.form.initial)
response = post_diary_comment(data, self.diary_entry, auth_user=auth_user)
self.assertEqual(response.status_code, 302)
self.assertTrue(response.url.startswith('/comments/posted/?c='))
def test_moderation_with_registered_user(self):
user = User.objects.create_user("bob", "bob@example.com", "pwd")
self.assertTrue(self.mailer_app1.call_count == 0)
self.post_valid_data(user)
# Moderation class:
# django_comments_xtd.tests.models.DiaryCommentModerator
# must trigger an email once comment has passed moderation.
self.assertTrue(self.mailer_app1.call_count == 1)
comment = django_comments.get_model()\
.objects.for_app_models('tests.diary')[0]
self.assertTrue(comment.is_public is True)
def test_moderation_with_unregistered_user(self):
self.post_valid_data()
self.assertTrue(self.mailer_app1.call_count == 0)
self.assertTrue(self.mailer_app2.call_count == 1)
mail_msg = self.mailer_app2.call_args[0][1]
key = str(re.search(r'http://.+/confirm/(?P<key>[\S]+)/',
mail_msg).group("key"))
confirm_comment_url(key)
self.assertTrue(self.mailer_app1.call_count == 1)
self.assertTrue(self.mailer_app2.call_count == 1)
comment = django_comments.get_model()\
.objects.for_app_models('tests.diary')[0]
self.assertTrue(comment.is_public is True)
class ModeratorHoldsComment(TestCase):
def setUp(self):
patcher_app1 = patch(send_mail)
patcher_app2 = patch('django_comments_xtd.views.send_mail')
self.mailer_app1 = patcher_app1.start()
self.mailer_app2 = patcher_app2.start()
self.diary_entry = Diary.objects.create(
body="What I did Yesterday...",
allow_comments=True,
publish=datetime.now() - timedelta(days=5))
self.form = django_comments.get_form()(self.diary_entry)
def post_valid_data(self, auth_user=None):
data = {"name": "Bob", "email": "bob@example.com", "followup": True,
"reply_to": 0, "level": 1, "order": 1,
"comment": "Es war einmal eine kleine..."}
data.update(self.form.initial)
response = post_diary_comment(data, self.diary_entry, auth_user=auth_user)
self.assertEqual(response.status_code, 302)
self.assertTrue(response.url.startswith('/comments/posted/?c='))
def test_moderation_with_registered_user(self):
user = User.objects.create_user("bob", "bob@example.com", "pwd")
self.assertTrue(self.mailer_app1.call_count == 0)
self.post_valid_data(user)
# Moderation class:
# django_comments_xtd.tests.models.DiaryCommentModerator
# must trigger an email once comment has passed moderation.
self.assertTrue(self.mailer_app1.call_count == 1)
comment = django_comments.get_model()\
.objects.for_app_models('tests.diary')[0]
self.assertTrue(comment.is_public is False)
def test_moderation_with_unregistered_user(self):
self.post_valid_data()
self.assertTrue(self.mailer_app1.call_count == 0)
self.assertTrue(self.mailer_app2.call_count == 1)
mail_msg = self.mailer_app2.call_args[0][1]
key = str(re.search(r'http://.+/confirm/(?P<key>[\S]+)/',
mail_msg).group("key"))
confirm_comment_url(key)
self.assertTrue(self.mailer_app1.call_count == 1)
self.assertTrue(self.mailer_app2.call_count == 1)
comment = django_comments.get_model()\
.objects.for_app_models('tests.diary')[0]
self.assertTrue(comment.is_public is False)
class FlaggingRemovalSuggestion(TestCase):
"""Scenario to test the flag removal_suggestion_notification"""
def setUp(self):
patcher = patch('django_comments_xtd.moderation.send_mail')
self.mailer = patcher.start()
diary_entry = Diary.objects.create(
body="What I did on October...",
allow_comments=True,
publish=datetime.now())
form = django_comments.get_form()(diary_entry)
self.user = User.objects.create_user("bob", "bob@example.com", "pwd")
data = {"name": "Bob", "email": "bob@example.com", "followup": True,
"reply_to": 0, "level": 1, "order": 1,
"comment": "Es war einmal eine kleine..."}
data.update(form.initial)
post_diary_comment(data, diary_entry, auth_user=self.user)
def test_anonymous_user_redirected_when_flagging(self):
comment = django_comments.get_model()\
.objects.for_app_models('tests.diary')[0]
flag_url = reverse("comments-flag", args=[comment.id])
request = request_factory.get(flag_url)
request.user = AnonymousUser()
response = views.flag(request, comment.id)
dest_url = '/accounts/login/?next=/comments/flag/1/'
self.assertEqual(response.status_code, 302)
self.assertEqual(response.url, dest_url)
def test_loggedin_user_can_flag_comment(self):
comment = django_comments.get_model()\
.objects.for_app_models('tests.diary')[0]
flag_url = reverse("comments-flag", args=[comment.id])
request = request_factory.get(flag_url)
request.user = self.user
response = views.flag(request, comment.id)
self.assertEqual(response.status_code, 200)
self.assertTrue(response.content.find(b'Flag comment') > -1)
request = request_factory.post(flag_url)
request.user = self.user
request._dont_enforce_csrf_checks = True
response = views.flag(request, comment.id)
self.assertEqual(response.status_code, 302)
self.assertEqual(response.url, reverse("comments-flag-done") + "?c=1")
flags = CommentFlag.objects.filter(comment=comment,
user=self.user,
flag=CommentFlag.SUGGEST_REMOVAL)
self.assertTrue(flags.count() == 1)
def test_email_is_triggered(self):
flag_url = reverse("comments-flag", args=[1])
self.assertTrue(self.mailer.call_count == 0)
request = request_factory.post(flag_url)
request.user = self.user
request._dont_enforce_csrf_checks = True
views.flag(request, 1)
self.assertTrue(self.mailer.call_count == 1)
class FlaggingLikedItAndDislikedIt(TestCase):
"""Scenario to test the flag removal_suggestion_notification"""
def setUp(self):
diary_entry = Diary.objects.create(
body="What I did on October...",
allow_comments=True,
publish=datetime.now())
form = django_comments.get_form()(diary_entry)
self.user = User.objects.create_user("bob", "bob@example.com", "pwd")
data = {"name": "Bob", "email": "bob@example.com", "followup": True,
"reply_to": 0, "level": 1, "order": 1,
"comment": "Es war einmal eine kleine..."}
data.update(form.initial)
post_diary_comment(data, diary_entry, auth_user=self.user)
def test_anonymous_user_is_redirected(self):
comment = django_comments.get_model()\
.objects.for_app_models('tests.diary')[0]
# Like it.
like_url = reverse("comments-xtd-like", args=[comment.id])
request = request_factory.get(like_url)
request.user = AnonymousUser()
response = views.like(request, comment.id)
dest_url = '/accounts/login/?next=/comments/like/1/'
self.assertEqual(response.status_code, 302)
self.assertEqual(response.url, dest_url)
# Dislike it.
dislike_url = reverse("comments-xtd-dislike", args=[comment.id])
request = request_factory.get(dislike_url)
request.user = AnonymousUser()
response = views.dislike(request, comment.id)
dest_url = '/accounts/login/?next=/comments/dislike/1/'
self.assertEqual(response.status_code, 302)
self.assertEqual(response.url, dest_url)
def test_loggedin_user_can_like(self):
if django.VERSION < (1, 5):
return
comment = django_comments.get_model()\
.objects.for_app_models('tests.diary')[0]
like_url = reverse("comments-xtd-like", args=[comment.id])
request = request_factory.get(like_url)
request.user = self.user
response = views.like(request, comment.id)
self.assertEqual(response.status_code, 200)
self.assertTrue(response.content.find(b'value="I like it"') > -1)
request = request_factory.post(like_url)
request.user = self.user
request._dont_enforce_csrf_checks = True
response = views.like(request, comment.id)
self.assertEqual(response.status_code, 302)
self.assertEqual(response.url, reverse("comments-xtd-like-done") + "?c=1")
flags = CommentFlag.objects.filter(comment=comment,
user=self.user,
flag=LIKEDIT_FLAG)
self.assertTrue(flags.count() == 1)
def test_loggedin_user_can_dislike(self):
if django.VERSION < (1, 5):
return
comment = django_comments.get_model()\
.objects.for_app_models('tests.diary')[0]
dislike_url = reverse("comments-xtd-dislike", args=[comment.id])
request = request_factory.get(dislike_url)
request.user = self.user
response = views.dislike(request, comment.id)
self.assertEqual(response.status_code, 200)
self.assertTrue(response.content.find(b'value="I dislike it"') > -1)
request = request_factory.post(dislike_url)
request.user = self.user
request._dont_enforce_csrf_checks = True
response = views.dislike(request, comment.id)
self.assertEqual(response.status_code, 302)
self.assertEqual(response.url,
reverse("comments-xtd-dislike-done") + "?c=1")
flags = CommentFlag.objects.filter(comment=comment,
user=self.user,
flag=DISLIKEDIT_FLAG)
self.assertTrue(flags.count() == 1)
def test_likedit_can_be_cancelled(self):
if django.VERSION < (1, 5):
return
comment = django_comments.get_model()\
.objects.for_app_models('tests.diary')[0]
like_url = reverse("comments-xtd-like", args=[comment.id])
request = request_factory.post(like_url)
request.user = self.user
request._dont_enforce_csrf_checks = True
response = views.like(request, comment.id)
flags = CommentFlag.objects.filter(comment=comment,
user=self.user,
flag=LIKEDIT_FLAG)
self.assertTrue(flags.count() == 1)
# Now we liked the comment again to cancel the flag.
response = views.like(request, comment.id)
flags = CommentFlag.objects.filter(comment=comment,
user=self.user,
flag=LIKEDIT_FLAG)
self.assertTrue(flags.count() == 0)
def test_dislikedit_can_be_cancelled(self):
if django.VERSION < (1, 5):
return
comment = django_comments.get_model()\
.objects.for_app_models('tests.diary')[0]
dislike_url = reverse("comments-xtd-dislike", args=[comment.id])
request = request_factory.post(dislike_url)
request.user = self.user
request._dont_enforce_csrf_checks = True
response = views.dislike(request, comment.id)
flags = CommentFlag.objects.filter(comment=comment,
user=self.user,
flag=DISLIKEDIT_FLAG)
self.assertTrue(flags.count() == 1)
# Now we liked the comment again to cancel the flag.
response = views.dislike(request, comment.id)
flags = CommentFlag.objects.filter(comment=comment,
user=self.user,
flag=DISLIKEDIT_FLAG)
self.assertTrue(flags.count() == 0)
def test_likedit_cancels_dislikedit(self):
if django.VERSION < (1, 5):
return
comment = django_comments.get_model()\
.objects.for_app_models('tests.diary')[0]
dislike_url = reverse("comments-xtd-dislike", args=[comment.id])
request = request_factory.post(dislike_url)
request.user = self.user
request._dont_enforce_csrf_checks = True
response = views.dislike(request, comment.id)
flags = CommentFlag.objects.filter(comment=comment,
user=self.user,
flag=DISLIKEDIT_FLAG)
self.assertTrue(flags.count() == 1)
# Now we liked the comment again to cancel the flag.
like_url = reverse("comments-xtd-like", args=[comment.id])
request = request_factory.post(like_url)
request.user = self.user
request._dont_enforce_csrf_checks = True
response = views.like(request, comment.id)
flags = CommentFlag.objects.filter(comment=comment,
user=self.user,
flag=DISLIKEDIT_FLAG)
self.assertTrue(flags.count() == 0)
flags = CommentFlag.objects.filter(comment=comment,
user=self.user,
flag=LIKEDIT_FLAG)
self.assertTrue(flags.count() == 1)
def test_dislikedit_cancels_likedit(self):
if django.VERSION < (1, 5):
return
comment = django_comments.get_model()\
.objects.for_app_models('tests.diary')[0]
like_url = reverse("comments-xtd-like", args=[comment.id])
request = request_factory.post(like_url)
request.user = self.user
request._dont_enforce_csrf_checks = True
response = views.like(request, comment.id)
flags = CommentFlag.objects.filter(comment=comment,
user=self.user,
flag=LIKEDIT_FLAG)
self.assertTrue(flags.count() == 1)
# Now we liked the comment again to cancel the flag.
dislike_url = reverse("comments-xtd-dislike", args=[comment.id])
request = request_factory.post(dislike_url)
request.user = self.user
request._dont_enforce_csrf_checks = True
response = views.dislike(request, comment.id)
flags = CommentFlag.objects.filter(comment=comment,
user=self.user,
flag=LIKEDIT_FLAG)
self.assertTrue(flags.count() == 0)
flags = CommentFlag.objects.filter(comment=comment,
user=self.user,
flag=DISLIKEDIT_FLAG)
self.assertTrue(flags.count() == 1)
| 46.297872
| 82
| 0.608398
| 1,976
| 17,408
| 5.163968
| 0.091599
| 0.049392
| 0.03528
| 0.032928
| 0.882497
| 0.874167
| 0.858095
| 0.845943
| 0.843885
| 0.829773
| 0
| 0.011141
| 0.283318
| 17,408
| 375
| 83
| 46.421333
| 0.806749
| 0.036822
| 0
| 0.830769
| 0
| 0
| 0.087255
| 0.021321
| 0
| 0
| 0
| 0
| 0.163077
| 1
| 0.061538
| false
| 0
| 0.058462
| 0
| 0.150769
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
ceaf7cd2d34a113a9ee98abf4b38608abafa5dd7
| 17,411
|
py
|
Python
|
tests/test_base/test_structure.py
|
kprzybyla/testplates
|
156a373d9a0818c6074ec8d622d6ef1f867eafd3
|
[
"MIT"
] | null | null | null |
tests/test_base/test_structure.py
|
kprzybyla/testplates
|
156a373d9a0818c6074ec8d622d6ef1f867eafd3
|
[
"MIT"
] | null | null | null |
tests/test_base/test_structure.py
|
kprzybyla/testplates
|
156a373d9a0818c6074ec8d622d6ef1f867eafd3
|
[
"MIT"
] | null | null | null |
from typing import (
Any,
Dict,
Final,
)
from string import (
printable,
)
from resultful import (
failure,
unwrap_success,
unwrap_failure,
)
from hypothesis import (
given,
assume,
strategies as st,
)
from testplates import (
struct,
create,
init,
verify,
modify,
value_of,
fields_of,
items_of,
hooks_of,
field,
ANY,
WILDCARD,
ABSENT,
TestplatesError,
MissingValueError,
UnexpectedValueError,
ProhibitedValueError,
InvalidStructureError,
)
from tests.strategies import Draw
CLASS_NAME: Final[str] = "TestClassStructure"
class Storage(Dict[str, Any]):
pass
@st.composite
def st_name(draw: Draw[str]) -> str:
return draw(st.text(printable))
# noinspection PyTypeChecker
@given(name=st_name(), key=st.text(), value=st.integers())
def test_repr(name: str, key: str, value: int) -> None:
field_object = field()
template_type = create(name, **{key: field_object})
assert (result := init(template_type, **{key: value}))
template = unwrap_success(result)
repr_format = f"{name}({key}={value!r})"
assert repr(template) == repr_format
# noinspection PyTypeChecker
@given(name=st_name(), key=st.text(), value=st.integers())
def test_meta_repr(name: str, key: str, value: int) -> None:
field_object = field()
template_type = create(name, **{key: field_object})
assert (result := init(template_type, **{key: value}))
template = unwrap_success(result)
repr_format = f"testplates.StructureMeta({key}={field_object!r})"
assert repr(template_type) == repr(type(template)) == repr_format
# noinspection PyTypeChecker
@given(name=st_name(), key=st.text(), value=st.integers())
def test_equality(
name: str,
key: str,
value: int,
) -> None:
field_object = field()
template_type = create(name, **{key: field_object})
assert (result := init(template_type, **{key: value}))
template = unwrap_success(result)
assert template == Storage(**{key: value})
# noinspection PyTypeChecker
@given(name=st_name(), key=st.text(), other_key=st.text(), value=st.integers())
def test_inequality_due_to_unequal_key(
name: str,
key: str,
other_key: str,
value: int,
) -> None:
assume(key != other_key)
field_object = field()
template_type = create(name, **{key: field_object})
assert (result := init(template_type, **{key: value}))
template = unwrap_success(result)
assert template != Storage(**{other_key: value})
# noinspection PyTypeChecker
@given(name=st_name(), key=st.text(), value=st.integers(), other_value=st.integers())
def test_inequality_due_to_unequal_value(
name: str,
key: str,
value: int,
other_value: int,
) -> None:
assume(value != other_value)
field_object = field()
template_type = create(name, **{key: field_object})
assert (result := init(template_type, **{key: value}))
template = unwrap_success(result)
assert template != Storage(**{key: other_value})
# noinspection PyTypeChecker
@given(name=st_name(), key=st.text(), value=st.integers())
def test_default_value(
name: str,
key: str,
value: int,
) -> None:
field_object = field(default=value)
template_type = create(name, **{key: field_object})
assert (result := init(template_type, **{key: value}))
template = unwrap_success(result)
assert template == Storage(**{key: value})
# noinspection PyTypeChecker
@given(name=st_name(), key=st.text(), value=st.integers(), default=st.integers())
def test_default_value_override(
name: str,
key: str,
value: int,
default: int,
) -> None:
assume(value != default)
field_object = field(default=value)
template_type = create(name, **{key: field_object})
assert (result := init(template_type, **{key: value}))
template = unwrap_success(result)
assert template == Storage(**{key: value})
# noinspection PyTypeChecker
@given(name=st_name(), key=st.text(), value=st.integers())
def test_any_value_matches_anything_in_required_field(
name: str,
key: str,
value: int,
) -> None:
field_object = field()
template_type = create(name, **{key: field_object})
assert (result := init(template_type, **{key: ANY}))
template = unwrap_success(result)
assert template == Storage(**{key: value})
# noinspection PyTypeChecker
@given(name=st_name(), key=st.text(), value=st.integers())
def test_any_value_matches_anything_in_optional_field(
name: str,
key: str,
value: int,
) -> None:
field_object = field(optional=True)
template_type = create(name, **{key: field_object})
assert (result := init(template_type, **{key: ANY}))
template = unwrap_success(result)
assert template == Storage(**{key: value})
# noinspection PyTypeChecker
@given(name=st_name(), key=st.text(), value=st.integers())
def test_wildcard_value_matches_anything_in_optional_field(
name: str,
key: str,
value: int,
) -> None:
field_object = field(optional=True)
template_type = create(name, **{key: field_object})
assert (result := init(template_type, **{key: WILDCARD}))
template = unwrap_success(result)
assert template == Storage()
assert template == Storage(**{key: value})
# noinspection PyTypeChecker
@given(name=st_name(), key=st.text())
def test_wildcard_value_error_in_required_field(
name: str,
key: str,
) -> None:
field_object = field()
template_type = create(name, **{key: field_object})
assert not (result := init(template_type, **{key: WILDCARD}))
error = unwrap_failure(result)
assert isinstance(error, InvalidStructureError)
(inner_error,) = error.errors
assert isinstance(inner_error, ProhibitedValueError)
assert inner_error.field == field_object
assert inner_error.value == WILDCARD
# noinspection PyTypeChecker
@given(name=st_name(), key=st.text())
def test_absent_value_matches_anything_in_optional_field(
name: str,
key: str,
) -> None:
field_object = field(optional=True)
template_type = create(name, **{key: field_object})
assert (result := init(template_type, **{key: ABSENT}))
template = unwrap_success(result)
assert template == Storage()
# noinspection PyTypeChecker
@given(name=st_name(), key=st.text(), value=st.integers())
def test_absent_value_mismatches_any_value_in_optional_field(
name: str,
key: str,
value: int,
) -> None:
field_object = field(optional=True)
template_type = create(name, **{key: field_object})
assert (result := init(template_type, **{key: ABSENT}))
template = unwrap_success(result)
assert template != Storage(**{key: value})
# noinspection PyTypeChecker
@given(name=st_name(), key=st.text())
def test_absent_value_error_in_required_field(
name: str,
key: str,
) -> None:
field_object = field()
template_type = create(name, **{key: field_object})
assert not (result := init(template_type, **{key: ABSENT}))
error = unwrap_failure(result)
assert isinstance(error, InvalidStructureError)
(inner_error,) = error.errors
assert isinstance(inner_error, ProhibitedValueError)
assert inner_error.field == field_object
assert inner_error.value == ABSENT
# noinspection PyTypeChecker
@given(name=st_name(), key=st.text(), other_key=st.text(), other_value=st.integers())
def test_unexpected_value_error(
name: str,
key: str,
other_key: str,
other_value: int,
) -> None:
assume(key != other_key)
field_object = field()
template_type = create(name, **{key: field_object})
assert not (result := init(template_type, **{other_key: other_value}))
error = unwrap_failure(result)
assert isinstance(error, InvalidStructureError)
(unexpected_value, missing_value) = error.errors
assert isinstance(unexpected_value, UnexpectedValueError)
assert unexpected_value.key == other_key
assert unexpected_value.value == other_value
assert isinstance(missing_value, MissingValueError)
assert missing_value.field == field_object
# noinspection PyTypeChecker
@given(name=st_name(), key=st.text())
def test_missing_value_in_required_field_value_error(
name: str,
key: str,
) -> None:
field_object = field()
template_type = create(name, **{key: field_object})
assert not (result := init(template_type))
error = unwrap_failure(result)
assert isinstance(error, InvalidStructureError)
(inner_error,) = error.errors
assert isinstance(inner_error, MissingValueError)
assert inner_error.field == field_object
# noinspection PyTypeChecker
@given(name=st_name(), key=st.text())
def test_missing_value_in_optional_field_value_error(
name: str,
key: str,
) -> None:
field_object = field(optional=True)
template_type = create(name, **{key: field_object})
assert not (result := init(template_type))
error = unwrap_failure(result)
assert isinstance(error, InvalidStructureError)
(inner_error,) = error.errors
assert isinstance(inner_error, MissingValueError)
assert inner_error.field == field_object
# noinspection PyTypeChecker
@given(name=st_name(), key=st.text(), default=st.integers())
def test_default_value_prevents_value_error_in_required_field_on_missing_value(
name: str,
key: str,
default: int,
) -> None:
field_object = field(default=default)
template_type = create(name, **{key: field_object})
assert init(template_type)
# noinspection PyTypeChecker
@given(name=st_name(), key=st.text(), default=st.integers())
def test_default_value_prevents_value_error_in_optional_field_on_missing_value(
name: str,
key: str,
default: int,
) -> None:
field_object = field(default=default, optional=True)
template_type = create(name, **{key: field_object})
assert init(template_type)
# noinspection PyTypeChecker
@given(name=st_name(), key=st.text(), default=st.integers())
def test_required_field_properties_access(
name: str,
key: str,
default: int,
) -> None:
field_object = field(default=default)
template_type = create(name, **{key: field_object})
assert (template_fields_result := fields_of(template_type))
template_fields = unwrap_success(template_fields_result)
assert template_fields[key].name == key
assert template_fields[key].default == default
assert template_fields[key].is_optional is False
# noinspection PyTypeChecker
@given(name=st_name(), key=st.text(), default=st.integers())
def test_optional_field_properties_access(
name: str,
key: str,
default: int,
) -> None:
field_object = field(default=default, optional=True)
template_type = create(name, **{key: field_object})
assert (template_fields_result := fields_of(template_type))
template_fields = unwrap_success(template_fields_result)
assert template_fields[key].name == key
assert template_fields[key].default == default
assert template_fields[key].is_optional is True
# noinspection PyTypeChecker
@given(name=st_name(), key=st.text(), value=st.integers())
def test_init_failure(
name: str,
key: str,
value: int,
) -> None:
field_error = TestplatesError()
field_object = field(failure(field_error))
template_type = create(name, **{key: field_object})
assert not (result := init(template_type, **{key: value}))
error = unwrap_failure(result)
assert isinstance(error, InvalidStructureError)
assert error.errors == [field_error]
# noinspection PyTypeChecker
@given(name=st_name(), key=st.text())
def test_verify(
name: str,
key: str,
) -> None:
field_object = field()
template_type = create(name, **{key: field_object})
assert (result := verify(template_type))
assert unwrap_success(result) is None
# noinspection PyTypeChecker
@given(name=st_name(), key=st.text())
def test_verify_failure(
name: str,
key: str,
) -> None:
field_error = TestplatesError()
field_object = field(failure(field_error))
template_type = create(name, **{key: field_object})
assert not (result := verify(template_type))
error = unwrap_failure(result)
assert isinstance(error, InvalidStructureError)
assert error.errors == [field_error]
# noinspection PyTypeChecker
@given(name=st_name(), key=st.text())
def test_fields_failure(
name: str,
key: str,
) -> None:
field_error = TestplatesError()
field_object = field(failure(field_error))
template_type = create(name, **{key: field_object})
assert not (result := fields_of(template_type))
error = unwrap_failure(result)
assert isinstance(error, InvalidStructureError)
assert error.errors == [field_error]
# noinspection PyTypeChecker
@given(name=st_name(), key=st.text(), value=st.integers(), other_value=st.integers())
def test_modify(
name: str,
key: str,
value: int,
other_value: int,
) -> None:
assume(value != other_value)
field_object = field()
template_type = create(name, **{key: field_object})
assert (result := init(template_type, **{key: value}))
template = unwrap_success(result)
assert (modify_result := modify(template, **{key: other_value}))
modified_template = unwrap_success(modify_result)
assert template != modified_template
assert template == Storage(**{key: value})
assert modified_template == Storage(**{key: other_value})
# noinspection PyTypeChecker
@given(name=st_name(), key=st.text(), value=st.integers(), other_value=st.integers())
def test_modify_failure(
name: str,
key: str,
value: int,
other_value: int,
) -> None:
assume(value != other_value)
field_error = TestplatesError()
field_object = field(failure(field_error))
template_type = create(name, **{key: field_object})
template = template_type(**{key: value})
assert not (result := modify(template, **{key: other_value}))
error = unwrap_failure(result)
assert isinstance(error, InvalidStructureError)
assert error.errors == [field_error]
# noinspection PyTypeChecker
@given(name=st_name(), key=st.text(), value=st.integers())
def test_value_of(
name: str,
key: str,
value: int,
) -> None:
field_object = field()
template_type = create(name, **{key: field_object})
assert (result := init(template_type, **{key: value}))
template = unwrap_success(result)
assert (template_value_result := value_of(template))
template_value = unwrap_success(template_value_result)
assert template_value == {key: value}
# noinspection PyTypeChecker
@given(name=st_name(), key=st.text(), value=st.integers())
def test_value_of_failure(
name: str,
key: str,
value: int,
) -> None:
field_error = TestplatesError()
field_object = field(failure(field_error))
template_type = create(name, **{key: field_object})
template = template_type(**{key: value})
assert not (result := value_of(template))
error = unwrap_failure(result)
assert isinstance(error, InvalidStructureError)
assert error.errors == [field_error]
# noinspection PyTypeChecker
@given(name=st_name(), key=st.text(), value=st.integers())
def test_items(
name: str,
key: str,
value: int,
) -> None:
field_object = field()
template_type = create(name, **{key: field_object})
assert (result := init(template_type, **{key: value}))
template = unwrap_success(result)
assert (template_items_result := items_of(template))
template_items = unwrap_success(template_items_result)
assert list(template_items) == [(key, value, field_object)]
# noinspection PyTypeChecker
@given(name=st_name(), key=st.text(), value=st.integers())
def test_items_failure(
name: str,
key: str,
value: int,
) -> None:
field_error = TestplatesError()
field_object = field(failure(field_error))
template_type = create(name, **{key: field_object})
template = template_type(**{key: value})
assert not (result := items_of(template))
error = unwrap_failure(result)
assert isinstance(error, InvalidStructureError)
assert error.errors == [field_error]
# noinspection PyTypeChecker
def test_class_api_hooks_of_success() -> None:
@struct
class Person:
pass
assert (result := hooks_of(Person))
hooks = unwrap_success(result)
assert hooks == []
# noinspection PyTypeChecker
def test_class_api_hooks_of_failure() -> None:
field_error = TestplatesError()
@struct
class Person:
name = field(failure(field_error))
assert not (result := hooks_of(Person))
error = unwrap_failure(result)
assert isinstance(error, InvalidStructureError)
assert error.errors == [field_error]
# noinspection PyTypeChecker
@given(name=st.text())
def test_functional_api_hooks_of_success(name: str) -> None:
person_type = create(CLASS_NAME, **{name: field()})
assert (result := hooks_of(person_type))
hooks = unwrap_success(result)
assert hooks == []
# noinspection PyTypeChecker
@given(name=st.text())
def test_functional_api_hooks_of_failure(name: str) -> None:
field_error = TestplatesError()
person_type = create(CLASS_NAME, **{name: field(failure(field_error))})
assert not (result := hooks_of(person_type))
error = unwrap_failure(result)
assert isinstance(error, InvalidStructureError)
assert error.errors == [field_error]
| 27.94703
| 85
| 0.69525
| 2,134
| 17,411
| 5.444705
| 0.04686
| 0.065324
| 0.040967
| 0.096566
| 0.874602
| 0.862897
| 0.851364
| 0.832774
| 0.820811
| 0.81513
| 0
| 0
| 0.174889
| 17,411
| 622
| 86
| 27.991961
| 0.808785
| 0.054219
| 0
| 0.717724
| 0
| 0
| 0.005417
| 0.004321
| 0
| 0
| 0
| 0
| 0.221007
| 1
| 0.078775
| false
| 0.004376
| 0.013129
| 0.002188
| 0.102845
| 0.004376
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
0c6979002934d6a3e305cbb55c1a3625f10b0e3d
| 68
|
py
|
Python
|
COVID19Map/controller/__init__.py
|
xtawfnhdx/COVID19Map
|
3e5dbb610d2f569137b1331736cd50e070a080c2
|
[
"Apache-2.0"
] | null | null | null |
COVID19Map/controller/__init__.py
|
xtawfnhdx/COVID19Map
|
3e5dbb610d2f569137b1331736cd50e070a080c2
|
[
"Apache-2.0"
] | null | null | null |
COVID19Map/controller/__init__.py
|
xtawfnhdx/COVID19Map
|
3e5dbb610d2f569137b1331736cd50e070a080c2
|
[
"Apache-2.0"
] | null | null | null |
from .covid19 import bp as co_bp
from .statistics import bp as st_bp
| 34
| 35
| 0.808824
| 14
| 68
| 3.785714
| 0.571429
| 0.301887
| 0.377358
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.035088
| 0.161765
| 68
| 2
| 35
| 34
| 0.894737
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
0cc2136593b5ec07f917dddb0272b8d74bfb046c
| 148
|
py
|
Python
|
2D array/wave print.py
|
PayalSasmal10/datastructures-algorithms
|
8b73ad0e0a6c9bcb860183615ebbda510549fb1f
|
[
"MIT"
] | 2
|
2022-02-04T04:18:13.000Z
|
2022-02-21T10:05:15.000Z
|
2D array/wave print.py
|
PayalSasmal10/Datastructures-Algorithms
|
8b73ad0e0a6c9bcb860183615ebbda510549fb1f
|
[
"MIT"
] | 1
|
2022-01-07T18:52:22.000Z
|
2022-01-07T18:52:22.000Z
|
2D array/wave print.py
|
PayalSasmal10/datastructures-algorithoms
|
8b73ad0e0a6c9bcb860183615ebbda510549fb1f
|
[
"MIT"
] | null | null | null |
# Input: 1 2 3 4
# 5 6 7 8
# 9 10 11 12
# 13 14 15 16
# Output: 4 8 12 16 15 11 7 3 2 6 10 14 13 9 5 1
| 29.6
| 48
| 0.385135
| 34
| 148
| 1.676471
| 0.529412
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.71875
| 0.567568
| 148
| 5
| 48
| 29.6
| 0.171875
| 0.932432
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 0
| 0
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 1
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
0cd9b50bab8575dc0a41fd32102fcfdea6e3290c
| 2,656
|
py
|
Python
|
src/nlp_modeltrainers/word_embedding/Word2XTrainerModule.py
|
TeaKatz/NLP_ModelTrainers
|
cc212f02b2c9204585ab172cef0101b5882edf92
|
[
"MIT"
] | null | null | null |
src/nlp_modeltrainers/word_embedding/Word2XTrainerModule.py
|
TeaKatz/NLP_ModelTrainers
|
cc212f02b2c9204585ab172cef0101b5882edf92
|
[
"MIT"
] | null | null | null |
src/nlp_modeltrainers/word_embedding/Word2XTrainerModule.py
|
TeaKatz/NLP_ModelTrainers
|
cc212f02b2c9204585ab172cef0101b5882edf92
|
[
"MIT"
] | null | null | null |
from nlp_losses import Losses
from ..BaseTrainerModule import BaseTrainerModule
class BinaryWord2XTrainerModule(BaseTrainerModule):
def __init__(self, model, learning_rate=1e-3):
super().__init__(learning_rate)
self.model = model
def forward(self, *args, **kwargs):
return self.model(*args, **kwargs)
def loss_func(self, outputs, targets):
return Losses("BinaryCrossEntropyLoss")(outputs, targets)
def cal_loss(self, outputs, targets):
"""
outputs: (batch_size, *)
targets: (batch_size, *)
"""
outputs = outputs.float()
targets = targets.float()
outputs = outputs.view(-1)
targets = targets.view(-1)
return self.loss_func(outputs, targets)
def cal_metrics(self, outputs, targets):
pass
class MulticlassWord2XTrainerModule(BaseTrainerModule):
def __init__(self, model, ignore_index=0, learning_rate=1e-3):
super().__init__(learning_rate)
self.model = model
self.ignore_index = ignore_index
def forward(self, *args, **kwargs):
return self.model(*args, **kwargs)
def loss_func(self, outputs, targets):
return Losses("CategoricalCrossEntropyLoss", ignore_index=self.ignore_index)(outputs, targets)
def cal_loss(self, outputs, targets):
"""
outputs: (batch_size, *, class_size)
targets: (batch_size, *)
"""
class_size = outputs.shape[-1]
outputs = outputs.float()
targets = targets.long()
outputs = outputs.view(-1, class_size)
targets = targets.view(-1)
return self.loss_func(outputs, targets)
def cal_metrics(self, outputs, targets):
pass
class MultilabelWord2XTrainerModule(BaseTrainerModule):
def __init__(self, model, ignore_index=0, learning_rate=1e-3):
super().__init__(learning_rate)
self.model = model
self.ignore_index = ignore_index
def forward(self, *args, **kwargs):
return self.model(*args, **kwargs)
def loss_func(self, outputs, targets):
return Losses("BinaryCrossEntropyLoss", ignore_index=self.ignore_index)(outputs, targets)
def cal_loss(self, outputs, targets):
"""
outputs: (batch_size, *, class_size)
targets: (batch_size, *, class_size)
"""
class_size = outputs.shape[-1]
outputs = outputs.float()
targets = targets.float()
outputs = outputs.view(-1, class_size)
targets = targets.view(-1, class_size)
return self.loss_func(outputs, targets)
def cal_metrics(self, outputs, targets):
pass
| 29.842697
| 102
| 0.64006
| 291
| 2,656
| 5.611684
| 0.140893
| 0.128598
| 0.099204
| 0.073484
| 0.869565
| 0.849357
| 0.849357
| 0.849357
| 0.849357
| 0.849357
| 0
| 0.009462
| 0.243976
| 2,656
| 89
| 103
| 29.842697
| 0.803785
| 0.069654
| 0
| 0.777778
| 0
| 0
| 0.029857
| 0.029857
| 0
| 0
| 0
| 0
| 0
| 1
| 0.277778
| false
| 0.055556
| 0.037037
| 0.111111
| 0.537037
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 1
| 0
|
0
| 11
|
0b2e3df0659c761009ebbc66499a2d78b7079425
| 4,045
|
py
|
Python
|
test/test_rcwa.py
|
Trave11er/RCWA
|
029630fd817e3249fe3dbd88397c2dea6ca51773
|
[
"MIT"
] | 1
|
2019-04-06T08:53:08.000Z
|
2019-04-06T08:53:08.000Z
|
test/test_rcwa.py
|
FelixSCT/RCWA-1
|
029630fd817e3249fe3dbd88397c2dea6ca51773
|
[
"MIT"
] | null | null | null |
test/test_rcwa.py
|
FelixSCT/RCWA-1
|
029630fd817e3249fe3dbd88397c2dea6ca51773
|
[
"MIT"
] | 2
|
2020-02-19T14:14:26.000Z
|
2022-03-06T14:26:40.000Z
|
import os
import toml
from test_common import make_source_dic
from rcwa.rcwa import rcwa_
def make_layer_dic(epsilon, thickness):
return {'epsilon': epsilon, 'thickness': thickness}
def test_benchmark_1():
'''Test case from Computational Electromagnetics Course Assignment by Raymond Rumpf'''
try:
os.remove('output.toml')
except FileNotFoundError:
pass
source_dic = make_source_dic(2, 0.00001, 0.00001, [1, 0], [0, 0])
periodicity_dic = {'period_x': 1.75, 'period_y': 1.5, 'harmonics_x': 1, 'harmonics_y': 1}
superstrate_dic = {'epsilon': 9.0}
layer_1_dic = make_layer_dic(os.path.join('test', 'rcwa_epsilon_benchmark_1_and_2.csv'), 0.5)
layer_2_dic = make_layer_dic(6, 0.3)
substrate_dic = {'epsilon': 2.0}
input_toml = {'layer': [layer_1_dic, layer_2_dic], 'source': source_dic,\
'superstrate': superstrate_dic, 'substrate': substrate_dic,\
'periodicity': periodicity_dic}
rcwa_(input_toml)
output_toml = toml.load(os.path.join(os.getcwd(), 'output.toml'))
assert output_toml['R']['-1-1'] == 0
assert output_toml['R']['0-1'] == 0.0032
assert output_toml['R']['1-1'] == 0
assert output_toml['R']['-10'] == 0.0065
assert output_toml['R']['00'] == 0.0789
assert output_toml['R']['10'] == 0.0065
assert output_toml['R']['-11'] == 0
assert output_toml['R']['01'] == 0.0035
assert output_toml['R']['11'] == 0
assert output_toml['R']['sum'] == 0.0986
def test_benchmark_2():
'''Test case from Computational Electromagnetics Course Assignment by Raymond Rumpf'''
try:
os.remove('output.toml')
except FileNotFoundError:
pass
source_dic = make_source_dic(2, 60.0, 30.0, [0.70711, 0.0], [0.0, 0.70711])
periodicity_dic = {'period_x': 1.75, 'period_y': 1.5, 'harmonics_x': 1, 'harmonics_y': 1}
superstrate_dic = {'epsilon': 9.0}
layer_1_dic = make_layer_dic(os.path.join('test', 'rcwa_epsilon_benchmark_1_and_2.csv'), 0.5)
layer_2_dic = make_layer_dic(6, 0.3)
substrate_dic = {'epsilon': 2.0}
input_toml = {'layer': [layer_1_dic, layer_2_dic], 'source': source_dic,\
'superstrate': superstrate_dic, 'substrate': substrate_dic,\
'periodicity': periodicity_dic}
rcwa_(input_toml)
output_toml = toml.load(os.path.join(os.getcwd(), 'output.toml'))
assert output_toml['R']['-1-1'] == 0
assert output_toml['R']['0-1'] == 0
assert output_toml['R']['1-1'] == 0
assert output_toml['R']['-10'] == 0
assert output_toml['R']['00'] == 0.0850
assert output_toml['R']['10'] == 0.0025
assert output_toml['R']['-11'] == 0
assert output_toml['R']['01'] == 0.0011
assert output_toml['R']['11'] == 0.0004
assert output_toml['R']['sum'] == 0.0889
def test_benchmark_3():
'''Reproducing example 1 from L. Li "New formulation of the Fourier modal
method for crossed surface relief gratings" JOSA 1997'''
try:
os.remove('output.toml')
except FileNotFoundError:
pass
source_dic = make_source_dic(1, 0.00001, 0.00001, [1.0, 0.0], [0.0, 0.0])
periodicity_dic = {'period_x': 2.5, 'period_y': 2.5, 'harmonics_x': 5, 'harmonics_y': 5}
superstrate_dic = {'epsilon': 2.25}
layer_1_dic = make_layer_dic(os.path.join('test', 'rcwa_epsilon_benchmark_3.csv'), 1)
substrate_dic = {'epsilon': 1.0}
input_toml = {'layer': [layer_1_dic], 'source': source_dic,\
'superstrate': superstrate_dic, 'substrate': substrate_dic,\
'periodicity': periodicity_dic}
rcwa_(input_toml)
output_toml = toml.load(os.path.join(os.getcwd(), 'output.toml'))
assert output_toml['T']['-1-1'] == 0.1281
assert output_toml['T']['-11'] == 0.1281
assert output_toml['T']['1-1'] == 0.1281
assert output_toml['T']['11'] == 0.1281
assert output_toml['T']['02'] == 0.0545
assert output_toml['T']['0-2'] == 0.0545
assert output_toml['T']['20'] == 0.0389
assert output_toml['T']['-20'] == 0.0389
assert output_toml['T']['00'] == 0.1881
| 43.494624
| 97
| 0.634116
| 608
| 4,045
| 3.991776
| 0.162829
| 0.156572
| 0.191183
| 0.140091
| 0.817882
| 0.815822
| 0.768026
| 0.749485
| 0.7363
| 0.7363
| 0
| 0.088155
| 0.183931
| 4,045
| 92
| 98
| 43.967391
| 0.647077
| 0.070705
| 0
| 0.512195
| 0
| 0
| 0.154854
| 0.025675
| 0
| 0
| 0
| 0
| 0.353659
| 1
| 0.04878
| false
| 0.036585
| 0.04878
| 0.012195
| 0.109756
| 0
| 0
| 0
| 0
| null | 0
| 1
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
0b7c10f55d4a420bca5c7d6f23abf0070f3429cc
| 194
|
py
|
Python
|
source/providers/soundProvider.py
|
staujd02/Pi-RFID-Video-Player
|
613d5a9355b660afb5414b3f4a9dad219b69fc36
|
[
"Apache-2.0"
] | 1
|
2020-02-15T15:21:03.000Z
|
2020-02-15T15:21:03.000Z
|
source/providers/soundProvider.py
|
staujd02/Pi-RFID-Video-Player
|
613d5a9355b660afb5414b3f4a9dad219b69fc36
|
[
"Apache-2.0"
] | 8
|
2019-12-14T16:31:13.000Z
|
2021-05-22T23:06:35.000Z
|
source/providers/soundProvider.py
|
staujd02/Pi-RFID-Video-Player
|
613d5a9355b660afb5414b3f4a9dad219b69fc36
|
[
"Apache-2.0"
] | null | null | null |
class SoundProvider(object):
def __init__(self, concrete):
self.concrete = concrete
self.mixer = concrete.mixer
def init(self):
return self.concrete.init()
| 21.555556
| 35
| 0.628866
| 21
| 194
| 5.619048
| 0.428571
| 0.305085
| 0.186441
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.273196
| 194
| 9
| 36
| 21.555556
| 0.836879
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0
| 0.166667
| 0.666667
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 7
|
f01f0e911b77a3d89317ff4f6e08d5f5ccabf560
| 180
|
py
|
Python
|
chromeless/__init__.py
|
aflorithmic/pythonista-chromeless
|
0ae582be30a7b2da570743c369020490db2367c2
|
[
"MIT"
] | 22
|
2019-01-26T00:37:01.000Z
|
2022-03-20T03:58:14.000Z
|
chromeless/__init__.py
|
aflorithmic/pythonista-chromeless
|
0ae582be30a7b2da570743c369020490db2367c2
|
[
"MIT"
] | 13
|
2019-01-19T10:37:41.000Z
|
2019-01-24T13:01:28.000Z
|
chromeless/__init__.py
|
aflorithmic/pythonista-chromeless
|
0ae582be30a7b2da570743c369020490db2367c2
|
[
"MIT"
] | 7
|
2020-06-25T02:04:21.000Z
|
2022-03-25T17:04:08.000Z
|
from .chromeless import Chromeless
from .picklelib import loads, dumps
try:
from .__version__ import __version__
except Exception as e:
from __version__ import __version__
| 25.714286
| 40
| 0.8
| 22
| 180
| 5.818182
| 0.545455
| 0.171875
| 0.265625
| 0.375
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.166667
| 180
| 6
| 41
| 30
| 0.853333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.666667
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
b2b6cbad70fd6f1325fc1decb2470ba3fbb7e896
| 1,802
|
py
|
Python
|
backend/src/events/migrations/0002_auto_20180620_0306.py
|
rcmiskin10/mob_files
|
dd4932c15c96bea914ffa99b72c83d471a4bfaff
|
[
"MIT"
] | null | null | null |
backend/src/events/migrations/0002_auto_20180620_0306.py
|
rcmiskin10/mob_files
|
dd4932c15c96bea914ffa99b72c83d471a4bfaff
|
[
"MIT"
] | null | null | null |
backend/src/events/migrations/0002_auto_20180620_0306.py
|
rcmiskin10/mob_files
|
dd4932c15c96bea914ffa99b72c83d471a4bfaff
|
[
"MIT"
] | null | null | null |
# Generated by Django 2.0.4 on 2018-06-20 03:06
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('events', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='event',
name='address',
field=models.CharField(blank=True, max_length=256, null=True),
),
migrations.AlterField(
model_name='event',
name='city',
field=models.CharField(blank=True, max_length=256, null=True),
),
migrations.AlterField(
model_name='event',
name='code',
field=models.CharField(blank=True, max_length=256, null=True),
),
migrations.AlterField(
model_name='event',
name='description',
field=models.TextField(blank=True, null=True),
),
migrations.AlterField(
model_name='event',
name='end_date',
field=models.CharField(blank=True, max_length=100, null=True),
),
migrations.AlterField(
model_name='event',
name='end_time',
field=models.CharField(blank=True, max_length=256, null=True),
),
migrations.AlterField(
model_name='event',
name='start_date',
field=models.CharField(blank=True, max_length=256, null=True),
),
migrations.AlterField(
model_name='event',
name='start_time',
field=models.CharField(blank=True, max_length=256, null=True),
),
migrations.AlterField(
model_name='event',
name='state',
field=models.CharField(blank=True, max_length=256, null=True),
),
]
| 30.542373
| 74
| 0.552719
| 181
| 1,802
| 5.381215
| 0.254144
| 0.184805
| 0.231006
| 0.267967
| 0.791581
| 0.791581
| 0.752567
| 0.752567
| 0.705339
| 0.604723
| 0
| 0.035304
| 0.324084
| 1,802
| 58
| 75
| 31.068966
| 0.764368
| 0.024972
| 0
| 0.653846
| 1
| 0
| 0.074074
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.019231
| 0
| 0.076923
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
b2b94203420f40f86f0fd51c2d066a7c6be6eb1f
| 131
|
py
|
Python
|
src/transforms/__init__.py
|
rewolfiluac/pl-image-classification
|
4839bb9e2d39210338c9cecbc4872653c9f48c7f
|
[
"Apache-2.0"
] | null | null | null |
src/transforms/__init__.py
|
rewolfiluac/pl-image-classification
|
4839bb9e2d39210338c9cecbc4872653c9f48c7f
|
[
"Apache-2.0"
] | 1
|
2020-11-19T11:19:59.000Z
|
2021-03-15T10:35:41.000Z
|
src/transforms/__init__.py
|
rewolfiluac/pl-image-classification
|
4839bb9e2d39210338c9cecbc4872653c9f48c7f
|
[
"Apache-2.0"
] | null | null | null |
from albumentations import *
from albumentations.pytorch.transforms import *
from albumentations.augmentations.transforms import *
| 32.75
| 53
| 0.854962
| 13
| 131
| 8.615385
| 0.461538
| 0.482143
| 0.428571
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.091603
| 131
| 3
| 54
| 43.666667
| 0.941176
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
65192cbb2a2b72e15ff0ba56f9eb93480711d305
| 3,646
|
py
|
Python
|
CAM2DistributedBackend/analyzer/frame_metadata.py
|
muhammad-alaref/CAM2DistributedBackend
|
9d5e09c91964cd6f4e8e4e4a5f56f66774cba036
|
[
"Apache-2.0"
] | 1
|
2018-07-13T19:10:42.000Z
|
2018-07-13T19:10:42.000Z
|
CAM2DistributedBackend/analyzer/frame_metadata.py
|
muhammad-alaref/CAM2DistributedBackend
|
9d5e09c91964cd6f4e8e4e4a5f56f66774cba036
|
[
"Apache-2.0"
] | null | null | null |
CAM2DistributedBackend/analyzer/frame_metadata.py
|
muhammad-alaref/CAM2DistributedBackend
|
9d5e09c91964cd6f4e8e4e4a5f56f66774cba036
|
[
"Apache-2.0"
] | null | null | null |
"""Provide a class representing the metadata of a single frame.
This module provides a class that represents the metadata of a single frame
captured by a a single camera at a specific time. The class provides the
metadata of the camera that captured the frame, the sequence number of the
frame, the timestamp of the frame.
Class Listings
--------------
FrameMetadata
Represent the metadata of a single frame captured by a camera.
"""
import datetime
class FrameMetadata(object):
"""Represent the metadata of a single frame captured by a camera.
This class represents the metadata of a single frame captured by a
a single camera at a specific time. The class provides the metadata of
the camera that captured the frame, the sequence number of the frame,
the timestamp of the frame.
Attributes
----------
camera_metadata : `CameraMetadata`
The metadata of the camera from which the frame is captured.
sequence_num : int
The sequence number of the frame. The sequence number is equal to 0
for the very first frame sent to the analysis program during the
initialization stage (the `initialize` event). The sequence
number is then incremented for every new frame sent to the
analysis program during the processing stage (the `on_new_frame`
event). For example, if the current `sequence_num` = 31,
this means that this frame is the 31st frame sent to the
`on_new_frame` event, in other words: the `on_new_frame` event
has been invoked 31 times.
timestamp : float
The timestamp of the frame since the epoch in seconds.
datetime : datetime.datetime
The date/time of the frame.
Methods
-------
__init__(self, camera_metadata, sequence_num, timestamp):
Initialize a `FrameMetadata` instance.
"""
def __init__(self, camera_metadata, sequence_num, timestamp):
"""Initialize a `FrameMetadata` instance.
This constructor initializes a `FrameMetadata` instance using the
metadata information: camera metadata, sequence number, and timestamp.
Parameters
----------
camera_metadata : `CameraMetadata`
The metadata of the camera from which the frame is captured.
sequence_num : int
The sequence number of the frame. The sequence number is equal to 0
for the very first frame sent to the analysis program during the
initialization stage (the `initialize` event). The sequence
number is then incremented for every new frame sent to the
analysis program during the processing stage (the `on_new_frame`
event). For example, if the current `sequence_num` = 31,
this means that this frame is the 31st frame sent to the
`on_new_frame` event, in other words: the `on_new_frame` event
has been invoked 31 times.
timestamp : float
The timestamp of the frame since the epoch in seconds.
"""
# Set the instance attributes.
self.camera_metadata = camera_metadata
self.sequence_num = sequence_num
self.timestamp = timestamp
@property
def datetime(self):
"""Get the date/time of the frame.
This property gets the date/time in which the frame is captured.
Returns
-------
datetime.datetime
The date/time in which the frame is taken by the camera.
"""
# Convert the `timestamp` instance attribute to datetime.
return datetime.datetime.fromtimestamp(self.timestamp)
| 36.828283
| 79
| 0.674986
| 487
| 3,646
| 4.983573
| 0.195072
| 0.05274
| 0.041203
| 0.034611
| 0.776679
| 0.760198
| 0.732592
| 0.732592
| 0.709518
| 0.709518
| 0
| 0.005257
| 0.269611
| 3,646
| 99
| 80
| 36.828283
| 0.906121
| 0.801426
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.222222
| false
| 0
| 0.111111
| 0
| 0.555556
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 8
|
6530dc47fc3657ec7eff41e6f1607cc8e60db774
| 515
|
py
|
Python
|
train_mosmed_timm-regnetx_002_noda.py
|
BrunoKrinski/segtool
|
cb604b5f38104c43a76450136e37c3d1c4b6d275
|
[
"MIT"
] | null | null | null |
train_mosmed_timm-regnetx_002_noda.py
|
BrunoKrinski/segtool
|
cb604b5f38104c43a76450136e37c3d1c4b6d275
|
[
"MIT"
] | null | null | null |
train_mosmed_timm-regnetx_002_noda.py
|
BrunoKrinski/segtool
|
cb604b5f38104c43a76450136e37c3d1c4b6d275
|
[
"MIT"
] | null | null | null |
import os
ls=["python main.py --configs configs/train_mosmed_unetplusplus_timm-regnetx_002_fold0_noda.yml",
"python main.py --configs configs/train_mosmed_unetplusplus_timm-regnetx_002_fold1_noda.yml",
"python main.py --configs configs/train_mosmed_unetplusplus_timm-regnetx_002_fold2_noda.yml",
"python main.py --configs configs/train_mosmed_unetplusplus_timm-regnetx_002_fold3_noda.yml",
"python main.py --configs configs/train_mosmed_unetplusplus_timm-regnetx_002_fold4_noda.yml",
]
for l in ls:
os.system(l)
| 46.818182
| 97
| 0.838835
| 80
| 515
| 5.025
| 0.3
| 0.124378
| 0.149254
| 0.236318
| 0.853234
| 0.853234
| 0.853234
| 0.853234
| 0.853234
| 0.853234
| 0
| 0.041322
| 0.060194
| 515
| 11
| 98
| 46.818182
| 0.789256
| 0
| 0
| 0
| 0
| 0
| 0.872093
| 0.629845
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.111111
| 0
| 0.111111
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 9
|
e8fe2a5eca3b56b0fd68f681604ad1b4a369038e
| 170
|
py
|
Python
|
quendor/zmachine/program.py
|
jeffnyman/quendor
|
66691e867d0217636e57fe84fd9ebc1e74a9938d
|
[
"MIT"
] | 4
|
2018-12-06T20:13:12.000Z
|
2022-01-31T21:33:59.000Z
|
quendor/zmachine/program.py
|
jeffnyman/quendor
|
66691e867d0217636e57fe84fd9ebc1e74a9938d
|
[
"MIT"
] | 12
|
2020-09-14T17:42:28.000Z
|
2020-09-18T12:59:53.000Z
|
quendor/zmachine/program.py
|
jeffnyman/quendor
|
66691e867d0217636e57fe84fd9ebc1e74a9938d
|
[
"MIT"
] | 3
|
2019-05-19T06:59:49.000Z
|
2021-12-19T22:25:06.000Z
|
"""Abstraction for the actual zcode program."""
class Program:
"""Abstraction for the actual zcode program."""
def __init__(self) -> None:
self.pc = 0
| 18.888889
| 51
| 0.635294
| 21
| 170
| 4.952381
| 0.619048
| 0.269231
| 0.326923
| 0.442308
| 0.673077
| 0.673077
| 0
| 0
| 0
| 0
| 0
| 0.007692
| 0.235294
| 170
| 8
| 52
| 21.25
| 0.792308
| 0.488235
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 7
|
335dc098eb18307a378cd69d058eaeb1a370948c
| 12,913
|
py
|
Python
|
tests/functional/test_pack.py
|
AgeOfLearning/uget-cli
|
ecaa54db9c9a6bd22f3ce2099b28828ea42cb853
|
[
"MIT"
] | 1
|
2019-03-03T21:19:51.000Z
|
2019-03-03T21:19:51.000Z
|
tests/functional/test_pack.py
|
AgeOfLearning/uget-cli
|
ecaa54db9c9a6bd22f3ce2099b28828ea42cb853
|
[
"MIT"
] | 3
|
2018-12-31T20:11:03.000Z
|
2021-11-15T17:47:57.000Z
|
tests/functional/test_pack.py
|
AgeOfLearning/uget-cli
|
ecaa54db9c9a6bd22f3ce2099b28828ea42cb853
|
[
"MIT"
] | 2
|
2019-02-14T01:08:57.000Z
|
2019-03-03T21:19:53.000Z
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Functional tests for `ugetcli` package - `pack` command.
Tests functionality of the cli pack command with various options.
"""
import unittest
import os
import json
from click.testing import CliRunner
from mock import MagicMock, patch
from ugetcli import cli
from ugetcli.utils import create_empty_file
class TestUGetCliPack(unittest.TestCase):
"""Tests for `ugetcli` package - pack command."""
@patch('ugetcli.uget.CsProj')
@patch('ugetcli.uget.NuGetRunner')
def test_cli_uget_pack_with_path_containing_csproj(
self, nuget_runner_mock, csproj_mock):
"""Test cli: uget pack with path containing a csproj"""
nuget_runner_instance = MagicMock()
nuget_runner_mock.return_value = nuget_runner_instance
nuget_runner_mock.locate_nuget.return_value = "nuget.exe"
csproj_instance = MagicMock()
csproj_instance.get_assembly_name.return_value = "TestProject"
csproj_instance.get_assembly_version.return_value = "1.2.3"
csproj_instance.get_output_path.return_value = "bin/Output/Release"
csproj_instance.path = "TestProject.csproj"
csproj_mock.return_value = csproj_instance
csproj_mock.get_csproj_at_path.return_value = "TestProject.csproj"
runner = CliRunner(env={"NUGET_PATH": None})
with runner.isolated_filesystem():
result = runner.invoke(cli.ugetcli, ['pack'], obj={})
assert result.exit_code == 0, result
nuget_runner_mock.assert_called_with('nuget.exe', False)
nuget_runner_instance.pack.assert_called_with(
".", "Output", "Release", os.path.normpath("Output/TestProject_1.2.3_Release.unitypackage"), os.path.normpath("UnityProject/Assets/TestProject"), "1.2.3")
@patch('ugetcli.uget.NuSpec')
@patch('ugetcli.uget.NuGetRunner')
def test_cli_uget_pack_with_path_containing_nuspec(
self, nuget_runner_mock, nuspec_mock):
"""Test cli: uget pack with path containing a csproj"""
nuget_runner_instance = MagicMock()
nuget_runner_mock.return_value = nuget_runner_instance
nuget_runner_mock.locate_nuget.return_value = "nuget.exe"
nuspec_instance = MagicMock()
nuspec_mock.get_nuspec_at_path.return_value = "TestProject.nuspec"
nuspec_mock.return_value = nuspec_instance
nuspec_instance.get_package_id.return_value = "TestProject"
nuspec_instance.get_package_version.return_value = "1.2.3"
runner = CliRunner(env={"NUGET_PATH": None})
with runner.isolated_filesystem():
result = runner.invoke(cli.ugetcli, ['pack'], obj={})
assert result.exit_code == 0, result
nuget_runner_mock.assert_called_with('nuget.exe', False)
nuget_runner_instance.pack.assert_called_with(
".", "Output", "Release", os.path.normpath("Output/TestProject_1.2.3_Release.unitypackage"), os.path.normpath("UnityProject/Assets/TestProject"), "1.2.3")
@patch('ugetcli.uget.CsProj')
@patch('ugetcli.uget.NuGetRunner')
def test_cli_uget_pack_with_output_dir(
self, nuget_runner_mock, csproj_mock):
"""Test cli: uget pack with output dir containing a csproj"""
nuget_runner_instance = MagicMock()
nuget_runner_mock.return_value = nuget_runner_instance
nuget_runner_mock.locate_nuget.return_value = "nuget.exe"
csproj_instance = MagicMock()
csproj_instance.get_assembly_name.return_value = "TestProject"
csproj_instance.get_assembly_version.return_value = "1.2.3"
csproj_mock.get_csproj_at_path.return_value = "TestProject.csproj"
csproj_mock.return_value = csproj_instance
runner = CliRunner(env={"NUGET_PATH": None})
with runner.isolated_filesystem():
result = runner.invoke(cli.ugetcli, ['pack', '--output-dir', 'MyOutput'], obj={})
assert result.exit_code == 0, result
nuget_runner_mock.assert_called_with('nuget.exe', False)
nuget_runner_instance.pack.assert_called_with(
".", "MyOutput", "Release", os.path.normpath("MyOutput/TestProject_1.2.3_Release.unitypackage"), os.path.normpath("UnityProject/Assets/TestProject"), "1.2.3")
@patch('ugetcli.uget.CsProj')
@patch('ugetcli.uget.NuGetRunner')
def test_cli_uget_pack_with_nuget_path(
self, nuget_runner_mock, csproj_mock):
"""Test cli: uget pack with --nuget-path"""
nuget_runner_instance = MagicMock()
nuget_runner_mock.return_value = nuget_runner_instance
nuget_runner_mock.valid_nuget_executable.return_value = True
csproj_instance = MagicMock()
csproj_instance.get_assembly_name.return_value = "TestProject"
csproj_instance.get_assembly_version.return_value = "1.2.3"
csproj_mock.return_value = csproj_instance
csproj_mock.get_csproj_at_path.return_value = "TestProject.csproj"
runner = CliRunner(env={"NUGET_PATH": None})
with runner.isolated_filesystem():
result = runner.invoke(cli.ugetcli, ['pack', '--nuget-path', 'custom_nuget.exe'], obj={})
assert result.exit_code == 0, result
nuget_runner_mock.assert_called_with('custom_nuget.exe', False)
nuget_runner_instance.pack.assert_called_with(
".", "Output", "Release", os.path.normpath("Output/TestProject_1.2.3_Release.unitypackage"), os.path.normpath("UnityProject/Assets/TestProject"), "1.2.3")
nuget_runner_mock.valid_nuget_executable.assert_called_with("custom_nuget.exe")
@patch('ugetcli.uget.CsProj')
@patch('ugetcli.uget.NuGetRunner')
def test_cli_uget_pack_with_nuget_path_env(
self, nuget_runner_mock, csproj_mock):
"""Test cli: uget pack NUGET_PATH env variable"""
nuget_runner_instance = MagicMock()
nuget_runner_mock.return_value = nuget_runner_instance
nuget_runner_mock.valid_nuget_executable.return_value = True
csproj_instance = MagicMock()
csproj_instance.get_assembly_name.return_value = "TestProject"
csproj_instance.get_assembly_version.return_value = "1.2.3"
csproj_mock.return_value = csproj_instance
csproj_mock.get_csproj_at_path.return_value = "TestProject.csproj"
runner = CliRunner(env={"NUGET_PATH": "custom_nuget.exe"})
with runner.isolated_filesystem():
result = runner.invoke(cli.ugetcli, ['pack'], obj={})
assert result.exit_code == 0, result
nuget_runner_mock.assert_called_with('custom_nuget.exe', False)
nuget_runner_instance.pack.assert_called_with(
".", "Output", "Release", os.path.normpath("Output/TestProject_1.2.3_Release.unitypackage"), os.path.normpath("UnityProject/Assets/TestProject"), "1.2.3")
nuget_runner_mock.valid_nuget_executable.assert_called_with("custom_nuget.exe")
@patch('ugetcli.uget.CsProj')
@patch('ugetcli.uget.NuGetRunner')
def test_cli_uget_pack_with_unitypackage_path(
self, nuget_runner_mock, csproj_mock):
"""Test cli: uget pack with --unitypackage-path"""
nuget_runner_instance = MagicMock()
nuget_runner_mock.return_value = nuget_runner_instance
nuget_runner_mock.valid_nuget_executable.return_value = True
nuget_runner_mock.locate_nuget.return_value = "nuget.exe"
csproj_instance = MagicMock()
csproj_instance.get_assembly_name.return_value = "TestProject"
csproj_instance.get_assembly_version.return_value = "1.2.3"
csproj_mock.return_value = csproj_instance
csproj_mock.get_csproj_at_path.return_value = "TestProject.csproj"
runner = CliRunner(env={"NUGET_PATH": None})
with runner.isolated_filesystem():
create_empty_file('MyUnityPackage.unitypackage')
result = runner.invoke(cli.ugetcli, ['pack', '--unitypackage-path', 'MyUnityPackage.unitypackage'], obj={})
assert result.exit_code == 0, result
nuget_runner_mock.assert_called_with('nuget.exe', False)
nuget_runner_instance.pack.assert_called_with(
".", "Output", "Release", "MyUnityPackage.unitypackage", os.path.normpath("UnityProject/Assets/TestProject"), "1.2.3")
@patch('ugetcli.uget.CsProj')
@patch('ugetcli.uget.NuGetRunner')
def test_cli_uget_pack_with_configuration(
self, nuget_runner_mock, csproj_mock):
"""Test cli: uget pack with --configuration"""
nuget_runner_instance = MagicMock()
nuget_runner_mock.return_value = nuget_runner_instance
nuget_runner_mock.valid_nuget_executable.return_value = True
nuget_runner_mock.locate_nuget.return_value = "nuget.exe"
csproj_instance = MagicMock()
csproj_instance.get_assembly_name.return_value = "TestProject"
csproj_instance.get_assembly_version.return_value = "1.2.3"
csproj_mock.return_value = csproj_instance
csproj_mock.get_csproj_at_path.return_value = "TestProject.csproj"
runner = CliRunner(env={"NUGET_PATH": None})
with runner.isolated_filesystem():
result = runner.invoke(cli.ugetcli, ['pack', '--configuration', 'Debug'], obj={})
assert result.exit_code == 0, result
nuget_runner_mock.assert_called_with('nuget.exe', False)
nuget_runner_instance.pack.assert_called_with(
".", "Output", "Debug", os.path.normpath("Output/TestProject_1.2.3_Debug.unitypackage"), os.path.normpath("UnityProject/Assets/TestProject"), "1.2.3")
@patch('ugetcli.uget.CsProj')
@patch('ugetcli.uget.NuGetRunner')
def test_cli_uget_pack_with_config_json(
self, nuget_runner_mock, csproj_mock):
"""Test cli: uget pack with --config json"""
nuget_runner_instance = MagicMock()
nuget_runner_mock.return_value = nuget_runner_instance
nuget_runner_mock.valid_nuget_executable.return_value = True
nuget_runner_mock.locate_nuget.return_value = "custom_nuget.exe"
csproj_instance = MagicMock()
csproj_instance.get_assembly_name.return_value = "TestProject"
csproj_instance.get_assembly_version.return_value = "1.2.3"
csproj_instance.get_csproj_at_path.return_value = "TestProject.csproj"
csproj_mock.return_value = csproj_instance
csproj_mock.get_csproj_at_path.return_value = "TestProject.csproj"
config_data = {
"output_dir": "CustomOutput",
"nuget_path": "custom_nuget.exe",
"unitypackage_path": "MyUnityPackage.unitypackage",
"configuration": "Debug",
}
runner = CliRunner(env={"NUGET_PATH": None})
with runner.isolated_filesystem():
create_empty_file('MyUnityPackage.unitypackage')
result = runner.invoke(cli.ugetcli, ['pack', '--config', json.dumps(config_data)], obj={})
assert result.exit_code == 0, result
nuget_runner_mock.assert_called_with('custom_nuget.exe', False)
nuget_runner_instance.pack.assert_called_with(
".", "CustomOutput", "Debug", "MyUnityPackage.unitypackage", os.path.normpath("UnityProject/Assets/TestProject"), "1.2.3")
@patch('ugetcli.uget.CsProj')
@patch('ugetcli.uget.NuGetRunner')
def test_cli_uget_pack_with_config_file(
self, nuget_runner_mock, csproj_mock):
"""Test cli: uget pack with --config-path file"""
nuget_runner_instance = MagicMock()
nuget_runner_mock.return_value = nuget_runner_instance
nuget_runner_mock.valid_nuget_executable.return_value = True
nuget_runner_mock.locate_nuget.return_value = "custom_nuget.exe"
csproj_instance = MagicMock()
csproj_instance.get_assembly_name.return_value = "TestProject"
csproj_instance.get_assembly_version.return_value = "1.2.3"
csproj_instance.get_csproj_at_path.return_value = "TestProject.csproj"
csproj_mock.return_value = csproj_instance
csproj_mock.get_csproj_at_path.return_value = "TestProject.csproj"
config_data = {
"output_dir": "CustomOutput",
"nuget_path": "custom_nuget.exe",
"unitypackage_path": "MyUnityPackage.unitypackage",
"configuration": "Debug",
}
runner = CliRunner(env={"NUGET_PATH": None})
with runner.isolated_filesystem():
with open('config_test.json', 'w') as f:
json.dump(config_data, f)
create_empty_file('MyUnityPackage.unitypackage')
result = runner.invoke(cli.ugetcli, ['pack', '--config-path', 'config_test.json'], obj={})
assert result.exit_code == 0, result
nuget_runner_mock.assert_called_with('custom_nuget.exe', False)
nuget_runner_instance.pack.assert_called_with(
".", "CustomOutput", "Debug", "MyUnityPackage.unitypackage", os.path.normpath("UnityProject/Assets/TestProject"), "1.2.3")
| 48.545113
| 170
| 0.699992
| 1,557
| 12,913
| 5.466281
| 0.066153
| 0.089179
| 0.074022
| 0.031724
| 0.909764
| 0.902127
| 0.88885
| 0.882388
| 0.878393
| 0.878393
| 0
| 0.007818
| 0.187795
| 12,913
| 265
| 171
| 48.728302
| 0.80368
| 0.047704
| 0
| 0.805825
| 0
| 0
| 0.196356
| 0.082366
| 0
| 0
| 0
| 0
| 0.140777
| 1
| 0.043689
| false
| 0
| 0.033981
| 0
| 0.082524
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
68259d9aa8620505c6596e98ebb0e80f0b846717
| 21,196
|
py
|
Python
|
app/tests/routers/test_permissions.py
|
NewShadesDAO/api
|
1e66336f0ea526f245918ecdc328c9a66280be91
|
[
"CC0-1.0"
] | 1
|
2022-03-21T07:37:02.000Z
|
2022-03-21T07:37:02.000Z
|
app/tests/routers/test_permissions.py
|
NewShadesDAO/api
|
1e66336f0ea526f245918ecdc328c9a66280be91
|
[
"CC0-1.0"
] | 25
|
2022-01-16T13:18:21.000Z
|
2022-03-29T13:08:19.000Z
|
app/tests/routers/test_permissions.py
|
NewShadesDAO/api
|
1e66336f0ea526f245918ecdc328c9a66280be91
|
[
"CC0-1.0"
] | 1
|
2022-01-15T21:42:00.000Z
|
2022-01-15T21:42:00.000Z
|
from typing import Callable, Dict, List
import pytest
from fastapi import FastAPI
from httpx import AsyncClient
from pymongo.database import Database
from app.models.channel import Channel
from app.models.section import Section
from app.models.server import Server, ServerMember
from app.models.user import Role, User
from app.schemas.channels import ServerChannelCreateSchema
from app.schemas.sections import SectionCreateSchema
from app.schemas.servers import ServerCreateSchema
from app.schemas.users import RoleCreateSchema
from app.services.channels import create_server_channel
from app.services.crud import create_item, get_item, update_item
from app.services.roles import create_role
from app.services.servers import create_server
class TestPermissionsRoutes:
@pytest.mark.asyncio
@pytest.mark.parametrize(
"permissions, status",
[
(["messages.list"], 200),
(["messages.create", "members.kick"], 403),
([], 403),
(["messages.list", "members.kick", "members.ban"], 200),
],
)
async def test_fetch_messages_as_guest(
self,
app: FastAPI,
db: Database,
guest_user: User,
get_authorized_client: Callable,
server: Server,
server_channel: Channel,
permissions: List[str],
status: int,
):
role_schema = RoleCreateSchema(name="test", server=str(server.pk), permissions=permissions)
role = await create_role(
server_id=str(server.pk),
role_model=role_schema,
current_user=guest_user,
ignore_permissions=True,
internal=True,
)
guest_client = await get_authorized_client(guest_user)
response = await guest_client.post(f"/servers/{str(server.pk)}/join")
assert response.status_code == 201
member = await get_item(filters={"server": server.pk, "user": guest_user.pk}, result_obj=ServerMember)
assert member is not None
await update_item(item=member, data={"roles": [role]})
response = await guest_client.get(f"/channels/{str(server_channel.id)}/messages")
assert response.status_code == status
@pytest.mark.asyncio
@pytest.mark.parametrize(
"permissions, status",
[
(["messages.list"], 200),
(["messages.create", "members.kick"], 200),
([], 200),
(["messages.list", "members.kick", "members.ban"], 200),
],
)
async def test_fetch_messages_as_server_owner(
self,
app: FastAPI,
db: Database,
current_user: User,
authorized_client: AsyncClient,
server: Server,
server_channel: Channel,
permissions: List[str],
status: int,
):
role_schema = RoleCreateSchema(name="test", server=str(server.pk), permissions=permissions)
role = await create_role(
server_id=str(server.pk),
role_model=role_schema,
current_user=current_user,
ignore_permissions=True,
internal=True,
)
member = await get_item(filters={"server": server.pk, "user": current_user.pk}, result_obj=ServerMember)
assert member is not None
await update_item(item=member, data={"roles": [role]})
response = await authorized_client.get(f"/channels/{str(server_channel.id)}/messages")
assert response.status_code == status
@pytest.mark.asyncio
@pytest.mark.parametrize(
"permissions, status",
[
([], 403),
(["messages.list"], 403),
(["messages.create", "members.kick"], 403),
(["messages.list", "members.kick", "members.ban"], 403),
(["messages.list", "messages.create", "channels.create"], 201),
],
)
async def test_create_channel_as_guest(
self,
app: FastAPI,
db: Database,
guest_user: User,
get_authorized_client: Callable,
server: Server,
server_channel: Channel,
permissions: List[str],
status: int,
):
role_schema = RoleCreateSchema(name="test", server=str(server.pk), permissions=permissions)
role = await create_role(
server_id=str(server.pk),
role_model=role_schema,
current_user=guest_user,
ignore_permissions=True,
internal=True,
)
guest_client = await get_authorized_client(guest_user)
response = await guest_client.post(f"/servers/{str(server.pk)}/join")
assert response.status_code == 201
member = await get_item(filters={"server": server.pk, "user": guest_user.pk}, result_obj=ServerMember)
assert member is not None
await update_item(item=member, data={"roles": [role]})
data = {"kind": "server", "name": "fancy-announcements", "server": str(server.id)}
response = await guest_client.post("/channels", json=data)
assert response.status_code == status
@pytest.mark.asyncio
@pytest.mark.parametrize(
"role_permissions, channel_overwrites, status",
[
(["messages.list"], None, 200),
(["messages.list"], [], 403),
(["messages.list"], ["messages.create"], 403),
(["messages.list"], ["messages.create", "messages.list"], 200),
(["messages.create"], ["messages.create"], 403),
(["messages.create"], None, 403),
(["channels.view"], ["messages.list"], 200),
],
)
async def test_fetch_messages_as_guest_with_channel_overwrites(
self,
app: FastAPI,
db: Database,
guest_user: User,
get_authorized_client: Callable,
server: Server,
server_channel: Channel,
role_permissions: List[str],
status: int,
channel_overwrites: List[str],
):
default_role = "@everyone"
role_schema = RoleCreateSchema(name=default_role, server=str(server.pk), permissions=role_permissions)
role = await create_role(
server_id=str(server.pk),
role_model=role_schema,
current_user=guest_user,
ignore_permissions=True,
internal=True,
)
guest_client = await get_authorized_client(guest_user)
response = await guest_client.post(f"/servers/{str(server.pk)}/join")
assert response.status_code == 201
member = await get_item(filters={"server": server.pk, "user": guest_user.pk}, result_obj=ServerMember)
assert member is not None
await update_item(item=member, data={"roles": [role]})
if channel_overwrites is not None:
data = {"permission_overwrites": [{"role": role.pk, "permissions": channel_overwrites}]}
await update_item(item=server_channel, data=data)
response = await guest_client.get(f"/channels/{str(server_channel.id)}/messages")
assert response.status_code == status
@pytest.mark.asyncio
@pytest.mark.parametrize(
"role_permissions, section_overwrites, status",
[
(["messages.list"], None, 200),
(["messages.list"], [], 403),
(["messages.list"], ["messages.create"], 403),
(["messages.list"], ["messages.create", "messages.list"], 200),
(["messages.create"], ["messages.create"], 403),
(["messages.create"], None, 403),
(["channels.view"], ["messages.list"], 200),
],
)
async def test_fetch_messages_as_guest_with_section_overwrites(
self,
app: FastAPI,
db: Database,
guest_user: User,
get_authorized_client: Callable,
server: Server,
server_channel: Channel,
role_permissions: List[str],
status: int,
section_overwrites: List[str],
):
default_role = "@everyone"
role_schema = RoleCreateSchema(name=default_role, server=str(server.pk), permissions=role_permissions)
role = await create_role(
server_id=str(server.pk),
role_model=role_schema,
current_user=guest_user,
ignore_permissions=True,
internal=True,
)
guest_client = await get_authorized_client(guest_user)
response = await guest_client.post(f"/servers/{str(server.pk)}/join")
assert response.status_code == 201
member = await get_item(filters={"server": server.pk, "user": guest_user.pk}, result_obj=ServerMember)
assert member is not None
await update_item(item=member, data={"roles": [role]})
if section_overwrites is not None:
section_model = SectionCreateSchema(name="who-cares", server=str(server.pk))
section = await create_item(section_model, result_obj=Section, current_user=guest_user, user_field=None)
data = {
"channels": [str(server_channel.pk)],
"permission_overwrites": [{"role": role.pk, "permissions": section_overwrites}],
}
await update_item(item=section, data=data)
response = await guest_client.get(f"/channels/{str(server_channel.id)}/messages")
assert response.status_code == status
@pytest.mark.asyncio
@pytest.mark.parametrize(
"role_permissions, section_overwrites, channel_overwrites, status",
[
(["messages.list"], None, None, 200),
(["messages.list"], [], None, 403),
(["messages.list"], None, [], 403),
([], ["messages.list"], None, 200),
([], None, ["messages.list"], 200),
(["messages.list"], [], ["messages.list"], 200),
([], ["messages.list"], None, 200),
([], None, ["messages.list"], 200),
([], ["messages.list"], [], 403),
],
)
async def test_fetch_messages_as_guest_with_channel_and_section_overwrites(
self,
app: FastAPI,
db: Database,
guest_user: User,
get_authorized_client: Callable,
server: Server,
server_channel: Channel,
role_permissions: List[str],
status: int,
section_overwrites: List[str],
channel_overwrites: List[str],
):
default_role = "@everyone"
role_schema = RoleCreateSchema(name=default_role, server=str(server.pk), permissions=role_permissions)
role = await create_role(
server_id=str(server.pk),
role_model=role_schema,
current_user=guest_user,
ignore_permissions=True,
internal=True,
)
guest_client = await get_authorized_client(guest_user)
response = await guest_client.post(f"/servers/{str(server.pk)}/join")
assert response.status_code == 201
member = await get_item(filters={"server": server.pk, "user": guest_user.pk}, result_obj=ServerMember)
assert member is not None
await update_item(item=member, data={"roles": [role]})
if section_overwrites is not None:
section_model = SectionCreateSchema(name="who-cares", server=str(server.pk))
section = await create_item(section_model, result_obj=Section, current_user=guest_user, user_field=None)
data = {
"channels": [str(server_channel.pk)],
"permission_overwrites": [{"role": role.pk, "permissions": section_overwrites}],
}
await update_item(item=section, data=data)
if channel_overwrites is not None:
data = {"permission_overwrites": [{"role": role.pk, "permissions": channel_overwrites}]}
await update_item(item=server_channel, data=data)
response = await guest_client.get(f"/channels/{str(server_channel.id)}/messages")
assert response.status_code == status
@pytest.mark.asyncio
@pytest.mark.parametrize(
"role_permissions, section_overwrites, channel_overwrites, status",
[
({"guest": ["messages.list"]}, None, None, 200),
({"guest": []}, None, None, 403),
({"guest": [], "mod": ["messages.list"]}, None, None, 200),
({"guest": []}, {"guest": ["messages.list"]}, None, 200),
({"guest": [], "mod": ["messages.list"]}, {"mod": []}, None, 403),
({"guest": [], "mod": []}, {"mod": ["messages.list"]}, None, 200),
({"guest": [], "mod": []}, None, {"mod": ["messages.list"]}, 200),
({"guest": [], "mod": ["messages.list"]}, None, {"mod": []}, 403),
({"guest": [], "mod": []}, {"mod": ["messages.list"]}, {"mod": []}, 403),
({"guest": [], "mod": []}, {"guest": ["messages.list"], "mod": ["messages.list"]}, {"guest": []}, 200),
],
)
async def test_fetch_messages_as_guest_with_channel_and_section_overwrites_multiple_roles(
self,
app: FastAPI,
db: Database,
guest_user: User,
get_authorized_client: Callable,
server: Server,
server_channel: Channel,
role_permissions: Dict[str, List[str]],
status: int,
section_overwrites: Dict[str, List[str]],
channel_overwrites: Dict[str, List[str]],
):
roles = []
for role_name, permissions in role_permissions.items():
role_schema = RoleCreateSchema(name=role_name, server=str(server.pk), permissions=permissions)
role = await create_role(
server_id=str(server.pk),
role_model=role_schema,
current_user=guest_user,
ignore_permissions=True,
internal=True,
)
roles.append(role)
guest_client = await get_authorized_client(guest_user)
response = await guest_client.post(f"/servers/{str(server.pk)}/join")
assert response.status_code == 201
member = await get_item(filters={"server": server.pk, "user": guest_user.pk}, result_obj=ServerMember)
assert member is not None
await update_item(item=member, data={"roles": [role.pk for role in roles]})
if section_overwrites is not None:
section_model = SectionCreateSchema(name="who-cares", server=str(server.pk))
section = await create_item(section_model, result_obj=Section, current_user=guest_user, user_field=None)
ow = []
for s_role_name, s_role_permissions in section_overwrites.items():
role = await get_item(filters={"name": s_role_name, "server": server.pk}, result_obj=Role)
ow.append({"role": role.pk, "permissions": s_role_permissions})
data = {"channels": [str(server_channel.pk)], "permission_overwrites": ow}
await update_item(item=section, data=data)
if channel_overwrites is not None:
ow = []
for c_role_name, c_role_permissions in channel_overwrites.items():
role = await get_item(filters={"name": c_role_name, "server": server.pk}, result_obj=Role)
ow.append({"role": role.pk, "permissions": c_role_permissions})
data = {"permission_overwrites": ow}
await update_item(item=server_channel, data=data)
response = await guest_client.get(f"/channels/{str(server_channel.id)}/messages")
assert response.status_code == status
@pytest.mark.asyncio
@pytest.mark.parametrize(
"role_permissions, section_overwrites, channel_overwrites, status",
[
({"guest": ["messages.list"]}, None, None, 200),
({"guest": []}, None, None, 403),
({"guest": [], "mod": ["messages.list"]}, None, None, 200),
({"guest": []}, {"guest": ["messages.list"]}, None, 200),
({"guest": [], "mod": ["messages.list"]}, {"mod": []}, None, 403),
({"guest": [], "mod": []}, {"mod": ["messages.list"]}, None, 200),
({"guest": [], "mod": []}, None, {"mod": ["messages.list"]}, 200),
({"guest": [], "mod": ["messages.list"]}, None, {"mod": []}, 403),
({"guest": [], "mod": []}, {"mod": ["messages.list"]}, {"mod": []}, 403),
({"guest": [], "mod": []}, {"guest": ["messages.list"], "mod": ["messages.list"]}, {"guest": []}, 200),
],
)
async def test_fetch_messages_as_guest_with_channel_and_section_overwrites_multiple_roles_cached(
self,
app: FastAPI,
db: Database,
guest_user: User,
get_authorized_client: Callable,
server: Server,
server_channel: Channel,
role_permissions: Dict[str, List[str]],
status: int,
section_overwrites: Dict[str, List[str]],
channel_overwrites: Dict[str, List[str]],
):
roles = []
for role_name, permissions in role_permissions.items():
role_schema = RoleCreateSchema(name=role_name, server=str(server.pk), permissions=permissions)
role = await create_role(
server_id=str(server.pk),
role_model=role_schema,
current_user=guest_user,
ignore_permissions=True,
internal=True,
)
roles.append(role)
guest_client = await get_authorized_client(guest_user)
response = await guest_client.post(f"/servers/{str(server.pk)}/join")
assert response.status_code == 201
member = await get_item(filters={"server": server.pk, "user": guest_user.pk}, result_obj=ServerMember)
assert member is not None
await update_item(item=member, data={"roles": [role.pk for role in roles]})
if section_overwrites is not None:
section_model = SectionCreateSchema(name="who-cares", server=str(server.pk))
section = await create_item(section_model, result_obj=Section, current_user=guest_user, user_field=None)
ow = []
for s_role_name, s_role_permissions in section_overwrites.items():
role = await get_item(filters={"name": s_role_name, "server": server.pk}, result_obj=Role)
ow.append({"role": role.pk, "permissions": s_role_permissions})
data = {"channels": [str(server_channel.pk)], "permission_overwrites": ow}
await update_item(item=section, data=data)
if channel_overwrites is not None:
ow = []
for c_role_name, c_role_permissions in channel_overwrites.items():
role = await get_item(filters={"name": c_role_name, "server": server.pk}, result_obj=Role)
ow.append({"role": role.pk, "permissions": c_role_permissions})
data = {"permission_overwrites": ow}
await update_item(item=server_channel, data=data)
response = await guest_client.get(f"/channels/{str(server_channel.id)}/messages")
assert response.status_code == status
response = await guest_client.get(f"/channels/{str(server_channel.id)}/messages")
assert response.status_code == status
@pytest.mark.asyncio
async def test_fetch_dm_messages_as_member(
self,
app: FastAPI,
db: Database,
current_user: User,
get_authorized_client: Callable,
dm_channel: Channel,
):
client = await get_authorized_client(current_user)
response = await client.get(f"/channels/{str(dm_channel.id)}/messages")
assert response.status_code == 200
@pytest.mark.asyncio
async def test_fetch_dm_messages_as_non_member(
self,
app: FastAPI,
db: Database,
guest_user: User,
get_authorized_client: Callable,
dm_channel: Channel,
):
guest_client = await get_authorized_client(guest_user)
response = await guest_client.get(f"/channels/{str(dm_channel.id)}/messages")
assert response.status_code == 403
@pytest.mark.asyncio
async def test_multiple_servers(
self, app: FastAPI, db: Database, current_user: User, guest_user: User, get_authorized_client: Callable
):
server1 = await create_server(ServerCreateSchema(name="server1"), current_user=current_user)
channel1_model = ServerChannelCreateSchema(kind="server", server=str(server1.id), name="channel1")
channel1 = await create_server_channel(channel_model=channel1_model, current_user=current_user)
server2 = await create_server(ServerCreateSchema(name="server2"), current_user=current_user)
channel2_model = ServerChannelCreateSchema(kind="server", server=str(server2.id), name="channel2")
channel2 = await create_server_channel(channel_model=channel2_model, current_user=current_user)
guest_client = await get_authorized_client(guest_user)
await guest_client.post(f"/servers/{str(server1.pk)}/join")
await guest_client.post(f"/servers/{str(server2.pk)}/join")
response = await guest_client.get(f"/channels/{str(channel1.id)}/messages")
assert response.status_code == 200
response = await guest_client.get(f"/channels/{str(channel2.id)}/messages")
assert response.status_code == 200
| 42.392
| 116
| 0.6112
| 2,340
| 21,196
| 5.332479
| 0.050427
| 0.047123
| 0.023802
| 0.038468
| 0.911043
| 0.889485
| 0.867767
| 0.847251
| 0.828739
| 0.819923
| 0
| 0.01388
| 0.255614
| 21,196
| 499
| 117
| 42.476954
| 0.776968
| 0
| 0
| 0.804444
| 0
| 0
| 0.139507
| 0.044159
| 0
| 0
| 0
| 0
| 0.062222
| 1
| 0
| false
| 0
| 0.037778
| 0
| 0.04
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
68917dbc731c6527ef255aded92827413f396b76
| 352,754
|
py
|
Python
|
magnum/common/pythonk8sclient/client/ApivbetaApi.py
|
mjbrewer/testIndex
|
420dc071d4240a89b6f266e8d2575cedb39bfea0
|
[
"Apache-2.0"
] | null | null | null |
magnum/common/pythonk8sclient/client/ApivbetaApi.py
|
mjbrewer/testIndex
|
420dc071d4240a89b6f266e8d2575cedb39bfea0
|
[
"Apache-2.0"
] | null | null | null |
magnum/common/pythonk8sclient/client/ApivbetaApi.py
|
mjbrewer/testIndex
|
420dc071d4240a89b6f266e8d2575cedb39bfea0
|
[
"Apache-2.0"
] | null | null | null |
#!/usr/bin/env python
"""
ApivbetaApi.py
Copyright 2015 Reverb Technologies, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually.
"""
import sys
import os
import urllib
from models import *
class ApivbetaApi(object):
def __init__(self, apiClient):
self.apiClient = apiClient
def listEndpoints(self, **kwargs):
"""list or watch objects of kind Endpoints
Args:
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: V1beta3_EndpointsList
"""
allParams = ['fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method listEndpoints" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/endpoints'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_EndpointsList')
return responseObject
def listEvent(self, **kwargs):
"""list or watch objects of kind Event
Args:
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: V1beta3_EventList
"""
allParams = ['fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method listEvent" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/events'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_EventList')
return responseObject
def listLimitRange(self, **kwargs):
"""list or watch objects of kind LimitRange
Args:
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: V1beta3_LimitRangeList
"""
allParams = ['fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method listLimitRange" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/limitranges'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_LimitRangeList')
return responseObject
def listNamespace(self, **kwargs):
"""list or watch objects of kind Namespace
Args:
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: V1beta3_NamespaceList
"""
allParams = ['fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method listNamespace" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_NamespaceList')
return responseObject
def createNamespace(self, **kwargs):
"""create a Namespace
Args:
body, V1beta3_Namespace: (required)
Returns:
"""
allParams = ['body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method createNamespace" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'POST'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def createBinding(self, **kwargs):
"""create a Binding
Args:
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_Binding: (required)
Returns:
"""
allParams = ['namespaces', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method createBinding" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/bindings'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'POST'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def listEndpoints(self, **kwargs):
"""list or watch objects of kind Endpoints
Args:
namespaces, str: object name and auth scope, such as for teams and projects (required)
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: V1beta3_EndpointsList
"""
allParams = ['namespaces', 'fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method listEndpoints" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/endpoints'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_EndpointsList')
return responseObject
def createEndpoints(self, **kwargs):
"""create a Endpoints
Args:
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_Endpoints: (required)
Returns:
"""
allParams = ['namespaces', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method createEndpoints" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/endpoints'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'POST'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def readEndpoints(self, **kwargs):
"""read the specified Endpoints
Args:
name, str: name of the Endpoints (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
Returns: V1beta3_Endpoints
"""
allParams = ['name', 'namespaces']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method readEndpoints" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/endpoints/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_Endpoints')
return responseObject
def replaceEndpoints(self, **kwargs):
"""replace the specified Endpoints
Args:
name, str: name of the Endpoints (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_Endpoints: (required)
Returns:
"""
allParams = ['name', 'namespaces', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method replaceEndpoints" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/endpoints/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PUT'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def deleteEndpoints(self, **kwargs):
"""delete a Endpoints
Args:
name, str: name of the Endpoints (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_DeleteOptions: (required)
Returns:
"""
allParams = ['name', 'namespaces', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method deleteEndpoints" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/endpoints/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'DELETE'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def patchEndpoints(self, **kwargs):
"""partially update the specified Endpoints
Args:
name, str: name of the Endpoints (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_Endpoints: (required)
Returns:
"""
allParams = ['name', 'namespaces', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method patchEndpoints" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/endpoints/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PATCH'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = 'application/json-patch+json,application/merge-patch+json,application/strategic-merge-patch+json,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def listEvent(self, **kwargs):
"""list or watch objects of kind Event
Args:
namespaces, str: object name and auth scope, such as for teams and projects (required)
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: V1beta3_EventList
"""
allParams = ['namespaces', 'fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method listEvent" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/events'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_EventList')
return responseObject
def createEvent(self, **kwargs):
"""create a Event
Args:
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_Event: (required)
Returns:
"""
allParams = ['namespaces', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method createEvent" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/events'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'POST'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def readEvent(self, **kwargs):
"""read the specified Event
Args:
name, str: name of the Event (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
Returns: V1beta3_Event
"""
allParams = ['name', 'namespaces']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method readEvent" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/events/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_Event')
return responseObject
def replaceEvent(self, **kwargs):
"""replace the specified Event
Args:
name, str: name of the Event (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_Event: (required)
Returns:
"""
allParams = ['name', 'namespaces', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method replaceEvent" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/events/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PUT'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def deleteEvent(self, **kwargs):
"""delete a Event
Args:
name, str: name of the Event (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
Returns:
"""
allParams = ['name', 'namespaces']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method deleteEvent" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/events/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'DELETE'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def patchEvent(self, **kwargs):
"""partially update the specified Event
Args:
name, str: name of the Event (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_Event: (required)
Returns:
"""
allParams = ['name', 'namespaces', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method patchEvent" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/events/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PATCH'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = 'application/json-patch+json,application/merge-patch+json,application/strategic-merge-patch+json,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def listLimitRange(self, **kwargs):
"""list or watch objects of kind LimitRange
Args:
namespaces, str: object name and auth scope, such as for teams and projects (required)
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: V1beta3_LimitRangeList
"""
allParams = ['namespaces', 'fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method listLimitRange" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/limitranges'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_LimitRangeList')
return responseObject
def createLimitRange(self, **kwargs):
"""create a LimitRange
Args:
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_LimitRange: (required)
Returns:
"""
allParams = ['namespaces', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method createLimitRange" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/limitranges'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'POST'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def readLimitRange(self, **kwargs):
"""read the specified LimitRange
Args:
name, str: name of the LimitRange (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
Returns: V1beta3_LimitRange
"""
allParams = ['name', 'namespaces']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method readLimitRange" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/limitranges/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_LimitRange')
return responseObject
def replaceLimitRange(self, **kwargs):
"""replace the specified LimitRange
Args:
name, str: name of the LimitRange (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_LimitRange: (required)
Returns:
"""
allParams = ['name', 'namespaces', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method replaceLimitRange" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/limitranges/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PUT'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def deleteLimitRange(self, **kwargs):
"""delete a LimitRange
Args:
name, str: name of the LimitRange (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
Returns:
"""
allParams = ['name', 'namespaces']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method deleteLimitRange" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/limitranges/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'DELETE'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def patchLimitRange(self, **kwargs):
"""partially update the specified LimitRange
Args:
name, str: name of the LimitRange (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_LimitRange: (required)
Returns:
"""
allParams = ['name', 'namespaces', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method patchLimitRange" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/limitranges/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PATCH'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = 'application/json-patch+json,application/merge-patch+json,application/strategic-merge-patch+json,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def listPersistentVolumeClaim(self, **kwargs):
"""list or watch objects of kind PersistentVolumeClaim
Args:
namespaces, str: object name and auth scope, such as for teams and projects (required)
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: V1beta3_PersistentVolumeClaimList
"""
allParams = ['namespaces', 'fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method listPersistentVolumeClaim" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/persistentvolumeclaims'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_PersistentVolumeClaimList')
return responseObject
def createPersistentVolumeClaim(self, **kwargs):
"""create a PersistentVolumeClaim
Args:
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_PersistentVolumeClaim: (required)
Returns:
"""
allParams = ['namespaces', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method createPersistentVolumeClaim" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/persistentvolumeclaims'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'POST'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def readPersistentVolumeClaim(self, **kwargs):
"""read the specified PersistentVolumeClaim
Args:
name, str: name of the PersistentVolumeClaim (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
Returns: V1beta3_PersistentVolumeClaim
"""
allParams = ['name', 'namespaces']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method readPersistentVolumeClaim" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/persistentvolumeclaims/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_PersistentVolumeClaim')
return responseObject
def replacePersistentVolumeClaim(self, **kwargs):
"""replace the specified PersistentVolumeClaim
Args:
name, str: name of the PersistentVolumeClaim (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_PersistentVolumeClaim: (required)
Returns:
"""
allParams = ['name', 'namespaces', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method replacePersistentVolumeClaim" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/persistentvolumeclaims/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PUT'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def deletePersistentVolumeClaim(self, **kwargs):
"""delete a PersistentVolumeClaim
Args:
name, str: name of the PersistentVolumeClaim (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_DeleteOptions: (required)
Returns:
"""
allParams = ['name', 'namespaces', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method deletePersistentVolumeClaim" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/persistentvolumeclaims/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'DELETE'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def patchPersistentVolumeClaim(self, **kwargs):
"""partially update the specified PersistentVolumeClaim
Args:
name, str: name of the PersistentVolumeClaim (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_PersistentVolumeClaim: (required)
Returns:
"""
allParams = ['name', 'namespaces', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method patchPersistentVolumeClaim" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/persistentvolumeclaims/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PATCH'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = 'application/json-patch+json,application/merge-patch+json,application/strategic-merge-patch+json,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def listPod(self, **kwargs):
"""list or watch objects of kind Pod
Args:
namespaces, str: object name and auth scope, such as for teams and projects (required)
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: V1beta3_PodList
"""
allParams = ['namespaces', 'fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method listPod" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/pods'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_PodList')
return responseObject
def createPod(self, **kwargs):
"""create a Pod
Args:
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_Pod: (required)
Returns:
"""
allParams = ['namespaces', 'body', 'ca_cert', 'cert', 'key']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method createPod" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/pods'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'POST'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
ca = params.get('ca_cert')
cert = params.get('cert')
key = params.get('key')
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, ca, cert, key, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_Pod')
return responseObject
def readPod(self, **kwargs):
"""read the specified Pod
Args:
name, str: name of the Pod (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
Returns: V1beta3_Pod
"""
allParams = ['name', 'namespaces', 'ca_cert', 'cert', 'key']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method readPod" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/pods/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
ca = params.get('ca_cert')
cert = params.get('cert')
key = params.get('key')
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, ca, cert, key, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_Pod')
return responseObject
def replacePod(self, **kwargs):
"""replace the specified Pod
Args:
name, str: name of the Pod (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_Pod: (required)
Returns:
"""
allParams = ['name', 'namespaces', 'body', 'ca_cert', 'cert', 'key']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method replacePod" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/pods/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PUT'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
ca = params.get('ca_cert')
cert = params.get('cert')
key = params.get('key')
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, ca, cert, key, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_Pod')
return responseObject
def deletePod(self, **kwargs):
"""delete a Pod
Args:
name, str: name of the Pod (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_DeleteOptions: (required)
Returns:
"""
allParams = ['name', 'namespaces', 'body', 'ca_cert', 'cert', 'key']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method deletePod" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/pods/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'DELETE'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
ca = params.get('ca_cert')
cert = params.get('cert')
key = params.get('key')
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, ca, cert, key, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_PodStatus')
return responseObject
def patchPod(self, **kwargs):
"""partially update the specified Pod
Args:
name, str: name of the Pod (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_Pod: (required)
Returns:
"""
allParams = ['name', 'namespaces', 'body', 'ca_cert', 'cert', 'key']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method patchPod" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/pods/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PATCH'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = 'application/json-patch+json,application/merge-patch+json,application/strategic-merge-patch+json,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
ca = params.get('ca_cert')
cert = params.get('cert')
key = params.get('key')
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, ca, cert, key, headerParams, files=files)
def createBinding(self, **kwargs):
"""create a Binding
Args:
name, str: name of the Binding (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_Binding: (required)
Returns:
"""
allParams = ['name', 'namespaces', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method createBinding" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/pods/{name}/binding'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'POST'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def readPodLogOptions(self, **kwargs):
"""read the specified PodLogOptions
Args:
name, str: name of the PodLogOptions (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
Returns: V1beta3_PodLogOptions
"""
allParams = ['name', 'namespaces']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method readPodLogOptions" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/pods/{name}/log'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_PodLogOptions')
return responseObject
def listReplicationController(self, **kwargs):
"""list or watch objects of kind ReplicationController
Args:
namespaces, str: object name and auth scope, such as for teams and projects (required)
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: V1beta3_ReplicationControllerList
"""
allParams = ['namespaces', 'fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method listReplicationController" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/replicationcontrollers'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_ReplicationControllerList')
return responseObject
def createReplicationController(self, **kwargs):
"""create a ReplicationController
Args:
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_ReplicationController: (required)
Returns:
"""
allParams = ['namespaces', 'body', 'ca_cert', 'cert', 'key']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method createReplicationController" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/replicationcontrollers'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'POST'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
ca = params.get('ca_cert')
cert = params.get('cert')
key = params.get('key')
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, ca, cert, key, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_ReplicationController')
return responseObject
def readReplicationController(self, **kwargs):
"""read the specified ReplicationController
Args:
name, str: name of the ReplicationController (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
Returns: V1beta3_ReplicationController
"""
allParams = ['name', 'namespaces', 'ca_cert', 'cert', 'key']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method readReplicationController" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/replicationcontrollers/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
ca = params.get('ca_cert')
cert = params.get('cert')
key = params.get('key')
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, ca, cert, key, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_ReplicationController')
return responseObject
def replaceReplicationController(self, **kwargs):
"""replace the specified ReplicationController
Args:
name, str: name of the ReplicationController (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_ReplicationController: (required)
Returns:
"""
allParams = ['name', 'namespaces', 'body', 'ca_cert', 'cert', 'key']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method replaceReplicationController" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/replicationcontrollers/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PUT'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
ca = params.get('ca_cert')
cert = params.get('cert')
key = params.get('key')
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, ca, cert, key, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_ReplicationController')
return responseObject
def deleteReplicationController(self, **kwargs):
"""delete a ReplicationController
Args:
name, str: name of the ReplicationController (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_DeleteOptions: (required)
Returns:
"""
allParams = ['name', 'namespaces', 'body', 'ca_cert', 'cert', 'key']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method deleteReplicationController" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/replicationcontrollers/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'DELETE'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
ca = params.get('ca_cert')
cert = params.get('cert')
key = params.get('key')
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, ca, cert, key, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_ReplicationControllerStatus')
return responseObject
def patchReplicationController(self, **kwargs):
"""partially update the specified ReplicationController
Args:
name, str: name of the ReplicationController (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_ReplicationController: (required)
Returns:
"""
allParams = ['name', 'namespaces', 'body', 'ca_cert', 'cert', 'key']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method patchReplicationController" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/replicationcontrollers/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PATCH'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = 'application/json-patch+json,application/merge-patch+json,application/strategic-merge-patch+json,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
ca = params.get('ca_cert')
cert = params.get('cert')
key = params.get('key')
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, ca, cert, key, headerParams, files=files)
def listResourceQuota(self, **kwargs):
"""list or watch objects of kind ResourceQuota
Args:
namespaces, str: object name and auth scope, such as for teams and projects (required)
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: V1beta3_ResourceQuotaList
"""
allParams = ['namespaces', 'fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method listResourceQuota" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/resourcequotas'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_ResourceQuotaList')
return responseObject
def createResourceQuota(self, **kwargs):
"""create a ResourceQuota
Args:
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_ResourceQuota: (required)
Returns:
"""
allParams = ['namespaces', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method createResourceQuota" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/resourcequotas'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'POST'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def readResourceQuota(self, **kwargs):
"""read the specified ResourceQuota
Args:
name, str: name of the ResourceQuota (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
Returns: V1beta3_ResourceQuota
"""
allParams = ['name', 'namespaces']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method readResourceQuota" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/resourcequotas/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_ResourceQuota')
return responseObject
def replaceResourceQuota(self, **kwargs):
"""replace the specified ResourceQuota
Args:
name, str: name of the ResourceQuota (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_ResourceQuota: (required)
Returns:
"""
allParams = ['name', 'namespaces', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method replaceResourceQuota" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/resourcequotas/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PUT'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def deleteResourceQuota(self, **kwargs):
"""delete a ResourceQuota
Args:
name, str: name of the ResourceQuota (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_DeleteOptions: (required)
Returns:
"""
allParams = ['name', 'namespaces', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method deleteResourceQuota" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/resourcequotas/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'DELETE'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def patchResourceQuota(self, **kwargs):
"""partially update the specified ResourceQuota
Args:
name, str: name of the ResourceQuota (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_ResourceQuota: (required)
Returns:
"""
allParams = ['name', 'namespaces', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method patchResourceQuota" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/resourcequotas/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PATCH'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = 'application/json-patch+json,application/merge-patch+json,application/strategic-merge-patch+json,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def replaceResourceQuota(self, **kwargs):
"""replace the specified ResourceQuota
Args:
name, str: name of the ResourceQuota (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_ResourceQuota: (required)
Returns:
"""
allParams = ['name', 'namespaces', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method replaceResourceQuota" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/resourcequotas/{name}/status'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PUT'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def listSecret(self, **kwargs):
"""list or watch objects of kind Secret
Args:
namespaces, str: object name and auth scope, such as for teams and projects (required)
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: V1beta3_SecretList
"""
allParams = ['namespaces', 'fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method listSecret" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/secrets'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_SecretList')
return responseObject
def createSecret(self, **kwargs):
"""create a Secret
Args:
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_Secret: (required)
Returns:
"""
allParams = ['namespaces', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method createSecret" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/secrets'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'POST'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def readSecret(self, **kwargs):
"""read the specified Secret
Args:
name, str: name of the Secret (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
Returns: V1beta3_Secret
"""
allParams = ['name', 'namespaces']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method readSecret" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/secrets/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_Secret')
return responseObject
def replaceSecret(self, **kwargs):
"""replace the specified Secret
Args:
name, str: name of the Secret (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_Secret: (required)
Returns:
"""
allParams = ['name', 'namespaces', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method replaceSecret" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/secrets/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PUT'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def deleteSecret(self, **kwargs):
"""delete a Secret
Args:
name, str: name of the Secret (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
Returns:
"""
allParams = ['name', 'namespaces']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method deleteSecret" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/secrets/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'DELETE'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def patchSecret(self, **kwargs):
"""partially update the specified Secret
Args:
name, str: name of the Secret (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_Secret: (required)
Returns:
"""
allParams = ['name', 'namespaces', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method patchSecret" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/secrets/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PATCH'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = 'application/json-patch+json,application/merge-patch+json,application/strategic-merge-patch+json,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def listService(self, **kwargs):
"""list or watch objects of kind Service
Args:
namespaces, str: object name and auth scope, such as for teams and projects (required)
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: V1beta3_ServiceList
"""
allParams = ['namespaces', 'fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method listService" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/services'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_ServiceList')
return responseObject
def createService(self, **kwargs):
"""create a Service
Args:
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_Service: (required)
Returns:
"""
allParams = ['namespaces', 'body', 'ca_cert', 'cert', 'key']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method createService" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/services'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'POST'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
ca = params.get('ca_cert')
cert = params.get('cert')
key = params.get('key')
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, ca, cert, key, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_Service')
return responseObject
def readService(self, **kwargs):
"""read the specified Service
Args:
name, str: name of the Service (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
Returns: V1beta3_Service
"""
allParams = ['name', 'namespaces', 'ca_cert', 'cert', 'key']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method readService" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/services/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
ca = params.get('ca_cert')
cert = params.get('cert')
key = params.get('key')
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, ca, cert, key, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_Service')
return responseObject
def replaceService(self, **kwargs):
"""replace the specified Service
Args:
name, str: name of the Service (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_Service: (required)
Returns:
"""
allParams = ['name', 'namespaces', 'body', 'ca_cert', 'cert', 'key']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method replaceService" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/services/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PUT'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
ca = params.get('ca_cert')
cert = params.get('cert')
key = params.get('key')
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, ca, cert, key, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_Service')
return responseObject
def deleteService(self, **kwargs):
"""delete a Service
Args:
name, str: name of the Service (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
Returns:
"""
allParams = ['name', 'namespaces', 'ca_cert', 'cert', 'key']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method deleteService" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/services/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'DELETE'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
ca = params.get('ca_cert')
cert = params.get('cert')
key = params.get('key')
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, ca, cert, key, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_ServiceStatus')
return responseObject
def patchService(self, **kwargs):
"""partially update the specified Service
Args:
name, str: name of the Service (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
body, V1beta3_Service: (required)
Returns:
"""
allParams = ['name', 'namespaces', 'body', 'ca_cert', 'cert', 'key']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method patchService" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{namespaces}/services/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PATCH'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = 'application/json-patch+json,application/merge-patch+json,application/strategic-merge-patch+json,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
ca = params.get('ca_cert')
cert = params.get('cert')
key = params.get('key')
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, ca, cert, key, headerParams, files=files)
def readNamespace(self, **kwargs):
"""read the specified Namespace
Args:
name, str: name of the Namespace (required)
Returns: V1beta3_Namespace
"""
allParams = ['name']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method readNamespace" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_Namespace')
return responseObject
def replaceNamespace(self, **kwargs):
"""replace the specified Namespace
Args:
name, str: name of the Namespace (required)
body, V1beta3_Namespace: (required)
Returns:
"""
allParams = ['name', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method replaceNamespace" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PUT'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def deleteNamespace(self, **kwargs):
"""delete a Namespace
Args:
name, str: name of the Namespace (required)
body, V1beta3_DeleteOptions: (required)
Returns:
"""
allParams = ['name', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method deleteNamespace" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'DELETE'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def patchNamespace(self, **kwargs):
"""partially update the specified Namespace
Args:
name, str: name of the Namespace (required)
body, V1beta3_Namespace: (required)
Returns:
"""
allParams = ['name', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method patchNamespace" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PATCH'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = 'application/json-patch+json,application/merge-patch+json,application/strategic-merge-patch+json,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def replaceNamespace(self, **kwargs):
"""replace the specified Namespace
Args:
name, str: name of the Namespace (required)
body, V1beta3_Namespace: (required)
Returns:
"""
allParams = ['name', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method replaceNamespace" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{name}/finalize'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PUT'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def replaceNamespace(self, **kwargs):
"""replace the specified Namespace
Args:
name, str: name of the Namespace (required)
body, V1beta3_Namespace: (required)
Returns:
"""
allParams = ['name', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method replaceNamespace" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/namespaces/{name}/status'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PUT'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def listNode(self, **kwargs):
"""list or watch objects of kind Node
Args:
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: V1beta3_NodeList
"""
allParams = ['fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method listNode" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/nodes'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_NodeList')
return responseObject
def createNode(self, **kwargs):
"""create a Node
Args:
body, V1beta3_Node: (required)
Returns:
"""
allParams = ['body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method createNode" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/nodes'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'POST'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def readNode(self, **kwargs):
"""read the specified Node
Args:
name, str: name of the Node (required)
Returns: V1beta3_Node
"""
allParams = ['name']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method readNode" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/nodes/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_Node')
return responseObject
def replaceNode(self, **kwargs):
"""replace the specified Node
Args:
name, str: name of the Node (required)
body, V1beta3_Node: (required)
Returns:
"""
allParams = ['name', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method replaceNode" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/nodes/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PUT'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def deleteNode(self, **kwargs):
"""delete a Node
Args:
name, str: name of the Node (required)
body, V1beta3_DeleteOptions: (required)
Returns:
"""
allParams = ['name', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method deleteNode" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/nodes/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'DELETE'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def patchNode(self, **kwargs):
"""partially update the specified Node
Args:
name, str: name of the Node (required)
body, V1beta3_Node: (required)
Returns:
"""
allParams = ['name', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method patchNode" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/nodes/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PATCH'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = 'application/json-patch+json,application/merge-patch+json,application/strategic-merge-patch+json,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def listPersistentVolumeClaim(self, **kwargs):
"""list or watch objects of kind PersistentVolumeClaim
Args:
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: V1beta3_PersistentVolumeClaimList
"""
allParams = ['fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method listPersistentVolumeClaim" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/persistentvolumeclaims'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_PersistentVolumeClaimList')
return responseObject
def listPersistentVolume(self, **kwargs):
"""list or watch objects of kind PersistentVolume
Args:
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: V1beta3_PersistentVolumeList
"""
allParams = ['fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method listPersistentVolume" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/persistentvolumes'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_PersistentVolumeList')
return responseObject
def createPersistentVolume(self, **kwargs):
"""create a PersistentVolume
Args:
body, V1beta3_PersistentVolume: (required)
Returns:
"""
allParams = ['body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method createPersistentVolume" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/persistentvolumes'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'POST'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def readPersistentVolume(self, **kwargs):
"""read the specified PersistentVolume
Args:
name, str: name of the PersistentVolume (required)
Returns: V1beta3_PersistentVolume
"""
allParams = ['name']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method readPersistentVolume" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/persistentvolumes/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_PersistentVolume')
return responseObject
def replacePersistentVolume(self, **kwargs):
"""replace the specified PersistentVolume
Args:
name, str: name of the PersistentVolume (required)
body, V1beta3_PersistentVolume: (required)
Returns:
"""
allParams = ['name', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method replacePersistentVolume" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/persistentvolumes/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PUT'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def deletePersistentVolume(self, **kwargs):
"""delete a PersistentVolume
Args:
name, str: name of the PersistentVolume (required)
body, V1beta3_DeleteOptions: (required)
Returns:
"""
allParams = ['name', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method deletePersistentVolume" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/persistentvolumes/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'DELETE'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def patchPersistentVolume(self, **kwargs):
"""partially update the specified PersistentVolume
Args:
name, str: name of the PersistentVolume (required)
body, V1beta3_PersistentVolume: (required)
Returns:
"""
allParams = ['name', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method patchPersistentVolume" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/persistentvolumes/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PATCH'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = 'application/json-patch+json,application/merge-patch+json,application/strategic-merge-patch+json,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def replacePersistentVolume(self, **kwargs):
"""replace the specified PersistentVolume
Args:
name, str: name of the PersistentVolume (required)
body, V1beta3_PersistentVolume: (required)
Returns:
"""
allParams = ['name', 'body']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method replacePersistentVolume" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/persistentvolumes/{name}/status'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PUT'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('body' in params):
bodyParam = params['body']
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def listPod(self, **kwargs):
"""list or watch objects of kind Pod
Args:
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: V1beta3_PodList
"""
allParams = ['fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method listPod" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/pods'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_PodList')
return responseObject
def proxyGETPod(self, **kwargs):
"""proxy GET requests to Pod
Args:
name, str: name of the Pod (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
Returns:
"""
allParams = ['name', 'namespaces']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method proxyGETPod" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/proxy/namespaces/{namespaces}/pods/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = '*/*'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def proxyPUTPod(self, **kwargs):
"""proxy PUT requests to Pod
Args:
name, str: name of the Pod (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
Returns:
"""
allParams = ['name', 'namespaces']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method proxyPUTPod" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/proxy/namespaces/{namespaces}/pods/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PUT'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = '*/*'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def proxyPOSTPod(self, **kwargs):
"""proxy POST requests to Pod
Args:
name, str: name of the Pod (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
Returns:
"""
allParams = ['name', 'namespaces']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method proxyPOSTPod" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/proxy/namespaces/{namespaces}/pods/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'POST'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = '*/*'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def proxyDELETEPod(self, **kwargs):
"""proxy DELETE requests to Pod
Args:
name, str: name of the Pod (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
Returns:
"""
allParams = ['name', 'namespaces']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method proxyDELETEPod" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/proxy/namespaces/{namespaces}/pods/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'DELETE'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = '*/*'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def proxyGETPod(self, **kwargs):
"""proxy GET requests to Pod
Args:
name, str: name of the Pod (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
path:*, str: path to the resource (required)
Returns:
"""
allParams = ['name', 'namespaces', 'path:*']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method proxyGETPod" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/proxy/namespaces/{namespaces}/pods/{name}/{path:*}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = '*/*'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('path:*' in params):
replacement = str(self.apiClient.toPathValue(params['path:*']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'path:*' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def proxyPUTPod(self, **kwargs):
"""proxy PUT requests to Pod
Args:
name, str: name of the Pod (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
path:*, str: path to the resource (required)
Returns:
"""
allParams = ['name', 'namespaces', 'path:*']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method proxyPUTPod" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/proxy/namespaces/{namespaces}/pods/{name}/{path:*}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PUT'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = '*/*'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('path:*' in params):
replacement = str(self.apiClient.toPathValue(params['path:*']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'path:*' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def proxyPOSTPod(self, **kwargs):
"""proxy POST requests to Pod
Args:
name, str: name of the Pod (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
path:*, str: path to the resource (required)
Returns:
"""
allParams = ['name', 'namespaces', 'path:*']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method proxyPOSTPod" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/proxy/namespaces/{namespaces}/pods/{name}/{path:*}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'POST'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = '*/*'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('path:*' in params):
replacement = str(self.apiClient.toPathValue(params['path:*']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'path:*' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def proxyDELETEPod(self, **kwargs):
"""proxy DELETE requests to Pod
Args:
name, str: name of the Pod (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
path:*, str: path to the resource (required)
Returns:
"""
allParams = ['name', 'namespaces', 'path:*']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method proxyDELETEPod" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/proxy/namespaces/{namespaces}/pods/{name}/{path:*}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'DELETE'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = '*/*'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('path:*' in params):
replacement = str(self.apiClient.toPathValue(params['path:*']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'path:*' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def proxyGETService(self, **kwargs):
"""proxy GET requests to Service
Args:
name, str: name of the Service (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
Returns:
"""
allParams = ['name', 'namespaces']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method proxyGETService" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/proxy/namespaces/{namespaces}/services/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = '*/*'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def proxyPUTService(self, **kwargs):
"""proxy PUT requests to Service
Args:
name, str: name of the Service (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
Returns:
"""
allParams = ['name', 'namespaces']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method proxyPUTService" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/proxy/namespaces/{namespaces}/services/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PUT'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = '*/*'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def proxyPOSTService(self, **kwargs):
"""proxy POST requests to Service
Args:
name, str: name of the Service (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
Returns:
"""
allParams = ['name', 'namespaces']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method proxyPOSTService" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/proxy/namespaces/{namespaces}/services/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'POST'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = '*/*'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def proxyDELETEService(self, **kwargs):
"""proxy DELETE requests to Service
Args:
name, str: name of the Service (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
Returns:
"""
allParams = ['name', 'namespaces']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method proxyDELETEService" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/proxy/namespaces/{namespaces}/services/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'DELETE'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = '*/*'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def proxyGETService(self, **kwargs):
"""proxy GET requests to Service
Args:
name, str: name of the Service (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
path:*, str: path to the resource (required)
Returns:
"""
allParams = ['name', 'namespaces', 'path:*']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method proxyGETService" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/proxy/namespaces/{namespaces}/services/{name}/{path:*}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = '*/*'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('path:*' in params):
replacement = str(self.apiClient.toPathValue(params['path:*']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'path:*' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def proxyPUTService(self, **kwargs):
"""proxy PUT requests to Service
Args:
name, str: name of the Service (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
path:*, str: path to the resource (required)
Returns:
"""
allParams = ['name', 'namespaces', 'path:*']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method proxyPUTService" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/proxy/namespaces/{namespaces}/services/{name}/{path:*}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PUT'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = '*/*'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('path:*' in params):
replacement = str(self.apiClient.toPathValue(params['path:*']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'path:*' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def proxyPOSTService(self, **kwargs):
"""proxy POST requests to Service
Args:
name, str: name of the Service (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
path:*, str: path to the resource (required)
Returns:
"""
allParams = ['name', 'namespaces', 'path:*']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method proxyPOSTService" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/proxy/namespaces/{namespaces}/services/{name}/{path:*}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'POST'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = '*/*'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('path:*' in params):
replacement = str(self.apiClient.toPathValue(params['path:*']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'path:*' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def proxyDELETEService(self, **kwargs):
"""proxy DELETE requests to Service
Args:
name, str: name of the Service (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
path:*, str: path to the resource (required)
Returns:
"""
allParams = ['name', 'namespaces', 'path:*']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method proxyDELETEService" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/proxy/namespaces/{namespaces}/services/{name}/{path:*}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'DELETE'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = '*/*'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
if ('path:*' in params):
replacement = str(self.apiClient.toPathValue(params['path:*']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'path:*' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def proxyGETNode(self, **kwargs):
"""proxy GET requests to Node
Args:
name, str: name of the Node (required)
Returns:
"""
allParams = ['name']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method proxyGETNode" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/proxy/nodes/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = '*/*'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def proxyPUTNode(self, **kwargs):
"""proxy PUT requests to Node
Args:
name, str: name of the Node (required)
Returns:
"""
allParams = ['name']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method proxyPUTNode" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/proxy/nodes/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PUT'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = '*/*'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def proxyPOSTNode(self, **kwargs):
"""proxy POST requests to Node
Args:
name, str: name of the Node (required)
Returns:
"""
allParams = ['name']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method proxyPOSTNode" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/proxy/nodes/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'POST'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = '*/*'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def proxyDELETENode(self, **kwargs):
"""proxy DELETE requests to Node
Args:
name, str: name of the Node (required)
Returns:
"""
allParams = ['name']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method proxyDELETENode" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/proxy/nodes/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'DELETE'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = '*/*'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def proxyGETNode(self, **kwargs):
"""proxy GET requests to Node
Args:
name, str: name of the Node (required)
path:*, str: path to the resource (required)
Returns:
"""
allParams = ['name', 'path:*']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method proxyGETNode" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/proxy/nodes/{name}/{path:*}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = '*/*'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('path:*' in params):
replacement = str(self.apiClient.toPathValue(params['path:*']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'path:*' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def proxyPUTNode(self, **kwargs):
"""proxy PUT requests to Node
Args:
name, str: name of the Node (required)
path:*, str: path to the resource (required)
Returns:
"""
allParams = ['name', 'path:*']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method proxyPUTNode" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/proxy/nodes/{name}/{path:*}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'PUT'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = '*/*'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('path:*' in params):
replacement = str(self.apiClient.toPathValue(params['path:*']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'path:*' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def proxyPOSTNode(self, **kwargs):
"""proxy POST requests to Node
Args:
name, str: name of the Node (required)
path:*, str: path to the resource (required)
Returns:
"""
allParams = ['name', 'path:*']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method proxyPOSTNode" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/proxy/nodes/{name}/{path:*}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'POST'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = '*/*'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('path:*' in params):
replacement = str(self.apiClient.toPathValue(params['path:*']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'path:*' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def proxyDELETENode(self, **kwargs):
"""proxy DELETE requests to Node
Args:
name, str: name of the Node (required)
path:*, str: path to the resource (required)
Returns:
"""
allParams = ['name', 'path:*']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method proxyDELETENode" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/proxy/nodes/{name}/{path:*}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'DELETE'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = '*/*'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('path:*' in params):
replacement = str(self.apiClient.toPathValue(params['path:*']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'path:*' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def redirectPod(self, **kwargs):
"""redirect GET request to Pod
Args:
name, str: name of the Pod (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
Returns:
"""
allParams = ['name', 'namespaces']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method redirectPod" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/redirect/namespaces/{namespaces}/pods/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = '*/*'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def redirectService(self, **kwargs):
"""redirect GET request to Service
Args:
name, str: name of the Service (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
Returns:
"""
allParams = ['name', 'namespaces']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method redirectService" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/redirect/namespaces/{namespaces}/services/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = '*/*'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def redirectNode(self, **kwargs):
"""redirect GET request to Node
Args:
name, str: name of the Node (required)
Returns:
"""
allParams = ['name']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method redirectNode" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/redirect/nodes/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = '*/*'
headerParams['Content-Type'] = '*/*,'
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
def listReplicationController(self, **kwargs):
"""list or watch objects of kind ReplicationController
Args:
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: V1beta3_ReplicationControllerList
"""
allParams = ['fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method listReplicationController" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/replicationcontrollers'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_ReplicationControllerList')
return responseObject
def listResourceQuota(self, **kwargs):
"""list or watch objects of kind ResourceQuota
Args:
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: V1beta3_ResourceQuotaList
"""
allParams = ['fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method listResourceQuota" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/resourcequotas'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_ResourceQuotaList')
return responseObject
def listSecret(self, **kwargs):
"""list or watch objects of kind Secret
Args:
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: V1beta3_SecretList
"""
allParams = ['fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method listSecret" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/secrets'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_SecretList')
return responseObject
def listService(self, **kwargs):
"""list or watch objects of kind Service
Args:
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: V1beta3_ServiceList
"""
allParams = ['fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method listService" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/services'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'V1beta3_ServiceList')
return responseObject
def watchEndpointslist(self, **kwargs):
"""watch individual changes to a list of Endpoints
Args:
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: json_WatchEvent
"""
allParams = ['fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method watchEndpointslist" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/watch/endpoints'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'json_WatchEvent')
return responseObject
def watchEventlist(self, **kwargs):
"""watch individual changes to a list of Event
Args:
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: json_WatchEvent
"""
allParams = ['fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method watchEventlist" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/watch/events'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'json_WatchEvent')
return responseObject
def watchLimitRangelist(self, **kwargs):
"""watch individual changes to a list of LimitRange
Args:
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: json_WatchEvent
"""
allParams = ['fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method watchLimitRangelist" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/watch/limitranges'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'json_WatchEvent')
return responseObject
def watchNamespacelist(self, **kwargs):
"""watch individual changes to a list of Namespace
Args:
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: json_WatchEvent
"""
allParams = ['fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method watchNamespacelist" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/watch/namespaces'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'json_WatchEvent')
return responseObject
def watchEndpointslist(self, **kwargs):
"""watch individual changes to a list of Endpoints
Args:
namespaces, str: object name and auth scope, such as for teams and projects (required)
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: json_WatchEvent
"""
allParams = ['namespaces', 'fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method watchEndpointslist" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/watch/namespaces/{namespaces}/endpoints'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'json_WatchEvent')
return responseObject
def watchEndpoints(self, **kwargs):
"""watch changes to an object of kind Endpoints
Args:
name, str: name of the Endpoints (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: json_WatchEvent
"""
allParams = ['name', 'namespaces', 'fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method watchEndpoints" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/watch/namespaces/{namespaces}/endpoints/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'json_WatchEvent')
return responseObject
def watchEventlist(self, **kwargs):
"""watch individual changes to a list of Event
Args:
namespaces, str: object name and auth scope, such as for teams and projects (required)
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: json_WatchEvent
"""
allParams = ['namespaces', 'fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method watchEventlist" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/watch/namespaces/{namespaces}/events'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'json_WatchEvent')
return responseObject
def watchEvent(self, **kwargs):
"""watch changes to an object of kind Event
Args:
name, str: name of the Event (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: json_WatchEvent
"""
allParams = ['name', 'namespaces', 'fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method watchEvent" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/watch/namespaces/{namespaces}/events/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'json_WatchEvent')
return responseObject
def watchLimitRangelist(self, **kwargs):
"""watch individual changes to a list of LimitRange
Args:
namespaces, str: object name and auth scope, such as for teams and projects (required)
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: json_WatchEvent
"""
allParams = ['namespaces', 'fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method watchLimitRangelist" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/watch/namespaces/{namespaces}/limitranges'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'json_WatchEvent')
return responseObject
def watchLimitRange(self, **kwargs):
"""watch changes to an object of kind LimitRange
Args:
name, str: name of the LimitRange (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: json_WatchEvent
"""
allParams = ['name', 'namespaces', 'fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method watchLimitRange" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/watch/namespaces/{namespaces}/limitranges/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'json_WatchEvent')
return responseObject
def watchPersistentVolumeClaimlist(self, **kwargs):
"""watch individual changes to a list of PersistentVolumeClaim
Args:
namespaces, str: object name and auth scope, such as for teams and projects (required)
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: json_WatchEvent
"""
allParams = ['namespaces', 'fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method watchPersistentVolumeClaimlist" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/watch/namespaces/{namespaces}/persistentvolumeclaims'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'json_WatchEvent')
return responseObject
def watchPersistentVolumeClaim(self, **kwargs):
"""watch changes to an object of kind PersistentVolumeClaim
Args:
name, str: name of the PersistentVolumeClaim (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: json_WatchEvent
"""
allParams = ['name', 'namespaces', 'fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method watchPersistentVolumeClaim" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/watch/namespaces/{namespaces}/persistentvolumeclaims/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'json_WatchEvent')
return responseObject
def watchPodlist(self, **kwargs):
"""watch individual changes to a list of Pod
Args:
namespaces, str: object name and auth scope, such as for teams and projects (required)
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: json_WatchEvent
"""
allParams = ['namespaces', 'fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method watchPodlist" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/watch/namespaces/{namespaces}/pods'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'json_WatchEvent')
return responseObject
def watchPod(self, **kwargs):
"""watch changes to an object of kind Pod
Args:
name, str: name of the Pod (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: json_WatchEvent
"""
allParams = ['name', 'namespaces', 'fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method watchPod" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/watch/namespaces/{namespaces}/pods/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'json_WatchEvent')
return responseObject
def watchReplicationControllerlist(self, **kwargs):
"""watch individual changes to a list of ReplicationController
Args:
namespaces, str: object name and auth scope, such as for teams and projects (required)
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: json_WatchEvent
"""
allParams = ['namespaces', 'fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method watchReplicationControllerlist" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/watch/namespaces/{namespaces}/replicationcontrollers'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'json_WatchEvent')
return responseObject
def watchReplicationController(self, **kwargs):
"""watch changes to an object of kind ReplicationController
Args:
name, str: name of the ReplicationController (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: json_WatchEvent
"""
allParams = ['name', 'namespaces', 'fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method watchReplicationController" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/watch/namespaces/{namespaces}/replicationcontrollers/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'json_WatchEvent')
return responseObject
def watchResourceQuotalist(self, **kwargs):
"""watch individual changes to a list of ResourceQuota
Args:
namespaces, str: object name and auth scope, such as for teams and projects (required)
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: json_WatchEvent
"""
allParams = ['namespaces', 'fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method watchResourceQuotalist" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/watch/namespaces/{namespaces}/resourcequotas'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'json_WatchEvent')
return responseObject
def watchResourceQuota(self, **kwargs):
"""watch changes to an object of kind ResourceQuota
Args:
name, str: name of the ResourceQuota (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: json_WatchEvent
"""
allParams = ['name', 'namespaces', 'fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method watchResourceQuota" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/watch/namespaces/{namespaces}/resourcequotas/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'json_WatchEvent')
return responseObject
def watchSecretlist(self, **kwargs):
"""watch individual changes to a list of Secret
Args:
namespaces, str: object name and auth scope, such as for teams and projects (required)
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: json_WatchEvent
"""
allParams = ['namespaces', 'fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method watchSecretlist" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/watch/namespaces/{namespaces}/secrets'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'json_WatchEvent')
return responseObject
def watchSecret(self, **kwargs):
"""watch changes to an object of kind Secret
Args:
name, str: name of the Secret (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: json_WatchEvent
"""
allParams = ['name', 'namespaces', 'fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method watchSecret" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/watch/namespaces/{namespaces}/secrets/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'json_WatchEvent')
return responseObject
def watchServicelist(self, **kwargs):
"""watch individual changes to a list of Service
Args:
namespaces, str: object name and auth scope, such as for teams and projects (required)
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: json_WatchEvent
"""
allParams = ['namespaces', 'fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method watchServicelist" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/watch/namespaces/{namespaces}/services'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'json_WatchEvent')
return responseObject
def watchService(self, **kwargs):
"""watch changes to an object of kind Service
Args:
name, str: name of the Service (required)
namespaces, str: object name and auth scope, such as for teams and projects (required)
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: json_WatchEvent
"""
allParams = ['name', 'namespaces', 'fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method watchService" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/watch/namespaces/{namespaces}/services/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
if ('namespaces' in params):
replacement = str(self.apiClient.toPathValue(params['namespaces']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'namespaces' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'json_WatchEvent')
return responseObject
def watchNamespace(self, **kwargs):
"""watch changes to an object of kind Namespace
Args:
name, str: name of the Namespace (required)
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: json_WatchEvent
"""
allParams = ['name', 'fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method watchNamespace" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/watch/namespaces/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'json_WatchEvent')
return responseObject
def watchNodelist(self, **kwargs):
"""watch individual changes to a list of Node
Args:
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: json_WatchEvent
"""
allParams = ['fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method watchNodelist" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/watch/nodes'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'json_WatchEvent')
return responseObject
def watchNode(self, **kwargs):
"""watch changes to an object of kind Node
Args:
name, str: name of the Node (required)
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: json_WatchEvent
"""
allParams = ['name', 'fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method watchNode" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/watch/nodes/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'json_WatchEvent')
return responseObject
def watchPersistentVolumeClaimlist(self, **kwargs):
"""watch individual changes to a list of PersistentVolumeClaim
Args:
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: json_WatchEvent
"""
allParams = ['fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method watchPersistentVolumeClaimlist" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/watch/persistentvolumeclaims'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'json_WatchEvent')
return responseObject
def watchPersistentVolumelist(self, **kwargs):
"""watch individual changes to a list of PersistentVolume
Args:
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: json_WatchEvent
"""
allParams = ['fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method watchPersistentVolumelist" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/watch/persistentvolumes'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'json_WatchEvent')
return responseObject
def watchPersistentVolume(self, **kwargs):
"""watch changes to an object of kind PersistentVolume
Args:
name, str: name of the PersistentVolume (required)
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: json_WatchEvent
"""
allParams = ['name', 'fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method watchPersistentVolume" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/watch/persistentvolumes/{name}'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
if ('name' in params):
replacement = str(self.apiClient.toPathValue(params['name']))
replacement = urllib.quote(replacement)
resourcePath = resourcePath.replace('{' + 'name' + '}',
replacement)
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'json_WatchEvent')
return responseObject
def watchPodlist(self, **kwargs):
"""watch individual changes to a list of Pod
Args:
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: json_WatchEvent
"""
allParams = ['fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method watchPodlist" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/watch/pods'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'json_WatchEvent')
return responseObject
def watchReplicationControllerlist(self, **kwargs):
"""watch individual changes to a list of ReplicationController
Args:
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: json_WatchEvent
"""
allParams = ['fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method watchReplicationControllerlist" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/watch/replicationcontrollers'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'json_WatchEvent')
return responseObject
def watchResourceQuotalist(self, **kwargs):
"""watch individual changes to a list of ResourceQuota
Args:
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: json_WatchEvent
"""
allParams = ['fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method watchResourceQuotalist" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/watch/resourcequotas'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'json_WatchEvent')
return responseObject
def watchSecretlist(self, **kwargs):
"""watch individual changes to a list of Secret
Args:
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: json_WatchEvent
"""
allParams = ['fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method watchSecretlist" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/watch/secrets'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'json_WatchEvent')
return responseObject
def watchServicelist(self, **kwargs):
"""watch individual changes to a list of Service
Args:
fieldSelector, str: a selector to restrict the list of returned objects by their fields; defaults to everything (required)
labelSelector, str: a selector to restrict the list of returned objects by their labels; defaults to everything (required)
resourceVersion, str: when specified with a watch call, shows changes that occur after that particular version of a resource; defaults to changes from the beginning of history (required)
watch, bool: watch for changes to the described resources and return them as a stream of add, update, and remove notifications; specify resourceVersion (required)
Returns: json_WatchEvent
"""
allParams = ['fieldSelector', 'labelSelector', 'resourceVersion', 'watch']
params = locals()
for (key, val) in params['kwargs'].iteritems():
if key not in allParams:
raise TypeError("Got an unexpected keyword argument '%s' to method watchServicelist" % key)
params[key] = val
del params['kwargs']
resourcePath = '/api/v1beta3/watch/services'
resourcePath = resourcePath.replace('{format}', 'json')
method = 'GET'
queryParams = {}
headerParams = {}
formParams = {}
files = {}
bodyParam = None
headerParams['Accept'] = 'application/json'
headerParams['Content-Type'] = '*/*,'
if ('fieldSelector' in params):
queryParams['fieldSelector'] = self.apiClient.toPathValue(params['fieldSelector'])
if ('labelSelector' in params):
queryParams['labelSelector'] = self.apiClient.toPathValue(params['labelSelector'])
if ('resourceVersion' in params):
queryParams['resourceVersion'] = self.apiClient.toPathValue(params['resourceVersion'])
if ('watch' in params):
queryParams['watch'] = self.apiClient.toPathValue(params['watch'])
postData = (formParams if formParams else bodyParam)
response = self.apiClient.callAPI(resourcePath, method, queryParams,
postData, headerParams, files=files)
if not response:
return None
responseObject = self.apiClient.deserialize(response, 'json_WatchEvent')
return responseObject
| 31.112542
| 198
| 0.53503
| 28,907
| 352,754
| 6.521154
| 0.01235
| 0.044205
| 0.052836
| 0.066045
| 0.9766
| 0.97476
| 0.972203
| 0.972203
| 0.971662
| 0.967964
| 0
| 0.002505
| 0.368438
| 352,754
| 11,337
| 199
| 31.115286
| 0.84363
| 0.181345
| 0
| 0.953316
| 0
| 0.002404
| 0.167434
| 0.03401
| 0
| 0
| 0
| 0
| 0
| 1
| 0.029854
| false
| 0
| 0.000801
| 0
| 0.06131
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
d7a5db33b60ce5d17a618f37857404e836d2cace
| 8,461
|
py
|
Python
|
tests/api/test_forms.py
|
dkrichards86/aggrep-api
|
b5238406c43711e462b278b0a31c879fb63d9da8
|
[
"MIT"
] | null | null | null |
tests/api/test_forms.py
|
dkrichards86/aggrep-api
|
b5238406c43711e462b278b0a31c879fb63d9da8
|
[
"MIT"
] | 2
|
2021-03-31T19:25:23.000Z
|
2021-12-13T20:27:54.000Z
|
tests/api/test_forms.py
|
dkrichards86/aggrep-api
|
b5238406c43711e462b278b0a31c879fb63d9da8
|
[
"MIT"
] | null | null | null |
"""Test forms."""
import pytest
from aggrep.api.forms import (
ConfirmEmailForm,
LoginForm,
RegisterForm,
RequestResetForm,
ResetPasswordForm,
UpdateEmailForm,
UpdatePasswordForm,
)
@pytest.mark.usefixtures("db")
class TestLoginForm:
"""Login form."""
def test_validate_success(self, user):
"""Submission successful."""
form = LoginForm(email=user.email, password="example")
assert form.validate() is True
def test_email_required(self):
"""Test that email is a required field."""
form = LoginForm(password="example")
assert form.validate() is False
assert "Email is required." in form.email.errors
def test_email_is_valid(self):
"""Test that email is validated properly."""
form = LoginForm(email="foobar", password="example")
assert form.validate() is False
assert "Email is invalid." in form.email.errors
def test_password_required(self, user):
"""Test that email is a required field."""
form = LoginForm(email=user.email)
assert form.validate() is False
assert "Password is required." in form.password.errors
@pytest.mark.usefixtures("db")
class TestRegisterForm:
"""Register form."""
def test_email_required(self):
"""Test that email is a required field."""
form = RegisterForm(password="example", password_confirm="example")
assert form.validate() is False
assert "Email is required." in form.email.errors
def test_email_is_valid(self):
"""Test that email is validated properly."""
form = RegisterForm(
email="heyyo", password="example", password_confirm="example"
)
assert form.validate() is False
assert "Email is invalid." in form.email.errors
def test_password_required(self, user):
"""Test that password is a required field."""
form = RegisterForm(email="new@test.test", password_confirm="example")
assert form.validate() is False
assert "Password is required." in form.password.errors
def test_password_confirm_required(self, user):
"""Test that password_confirm is a required field."""
form = RegisterForm(email="new@test.test", password="example")
assert form.validate() is False
assert "This field is required." in form.password_confirm.errors
def test_passwords_match(self, user):
"""Test that passwords match."""
form = RegisterForm(
email="new@test.test", password="example", password_confirm="examplary"
)
assert form.validate() is False
assert "Passwords must match." in form.password_confirm.errors
def test_validate_email_already_registered(self, user):
"""Enter email that is already registered."""
form = RegisterForm(
email=user.email, password="example", password_confirm="example"
)
assert form.validate() is False
assert "Email already registered" in form.email.errors
def test_validate_success(self, db):
"""Register with success."""
form = RegisterForm(
email="new@test.test", password="example", password_confirm="example"
)
assert form.validate() is True
@pytest.mark.usefixtures("db")
class TestConfirmEmailForm:
"""Confirm email form."""
def test_validate_success(self, user):
"""Submission successful."""
form = ConfirmEmailForm(token="foobar")
assert form.validate() is True
def test_token_required(self):
"""Test that email is a required field."""
form = ConfirmEmailForm()
assert form.validate() is False
assert "Token is required." in form.token.errors
@pytest.mark.usefixtures("db")
class TestRequestResetForm:
"""Request reset form."""
def test_validate_success(self, user):
"""Submission successful."""
form = RequestResetForm(email="foo@bar.com")
assert form.validate() is True
def test_email_required(self):
"""Test that email is a required field."""
form = RequestResetForm(password="example")
assert form.validate() is False
assert "Email is required." in form.email.errors
def test_email_is_valid(self):
"""Test that email is validated properly."""
form = RequestResetForm(email="foobar", password="example")
assert form.validate() is False
assert "Email is invalid." in form.email.errors
@pytest.mark.usefixtures("db")
class TestResetPasswordForm:
"""Reset password form."""
def test_validate_success(self):
"""Submission successful."""
form = ResetPasswordForm(
token="foobar", new_password="ok", password_confirm="ok"
)
assert form.validate() is True
def test_token_required(self):
"""Test that email is a required field."""
form = ResetPasswordForm(new_password="ok", password_confirm="ok")
assert form.validate() is False
assert "Token is required." in form.token.errors
def test_password_required(self):
"""Test that password is a required field."""
form = ResetPasswordForm(token="foobar", password_confirm="ok")
assert form.validate() is False
assert "Password is required." in form.new_password.errors
def test_password_confirm_required(self):
"""Test that password_confirm is a required field."""
form = ResetPasswordForm(token="foobar", new_password="ok")
assert form.validate() is False
assert "This field is required." in form.password_confirm.errors
def test_passwords_match(self):
"""Test that passwords match."""
form = ResetPasswordForm(
token="foobar", new_password="ok", password_confirm="not ok"
)
assert form.validate() is False
assert "Passwords must match." in form.password_confirm.errors
@pytest.mark.usefixtures("db")
class TestUpdatePasswordForm:
"""Reset password form."""
def test_validate_success(self):
"""Submission successful."""
form = UpdatePasswordForm(
curr_password="foobar", new_password="ok", password_confirm="ok"
)
assert form.validate() is True
def test_token_required(self):
"""Test that email is a required field."""
form = UpdatePasswordForm(new_password="ok", password_confirm="ok")
assert form.validate() is False
assert "Current password is required." in form.curr_password.errors
def test_password_required(self):
"""Test that password is a required field."""
form = UpdatePasswordForm(curr_password="foobar", password_confirm="ok")
assert form.validate() is False
assert "New password is required." in form.new_password.errors
def test_password_confirm_required(self):
"""Test that password_confirm is a required field."""
form = UpdatePasswordForm(curr_password="foobar", new_password="ok")
assert form.validate() is False
assert "This field is required." in form.password_confirm.errors
def test_passwords_match(self):
"""Test that passwords match."""
form = UpdatePasswordForm(
curr_password="foobar", new_password="ok", password_confirm="not ok"
)
assert form.validate() is False
assert "Passwords must match." in form.password_confirm.errors
@pytest.mark.usefixtures("db")
class TestUpdateEmailForm:
"""Update email form."""
def test_email_required(self):
"""Test that email is a required field."""
form = UpdateEmailForm()
assert form.validate() is False
assert "Email is required." in form.email.errors
def test_email_is_valid(self):
"""Test that email is validated properly."""
form = UpdateEmailForm(email="heyyo")
assert form.validate() is False
assert "Email is invalid." in form.email.errors
def test_validate_email_already_registered(self, user):
"""Enter email that is already registered."""
form = UpdateEmailForm(email=user.email)
assert form.validate() is False
assert "Email already registered" in form.email.errors
def test_validate_success(self, db):
"""Register with success."""
form = UpdateEmailForm(email="new@test.test")
assert form.validate() is True
| 35.401674
| 83
| 0.656542
| 978
| 8,461
| 5.568507
| 0.07771
| 0.03856
| 0.099155
| 0.110173
| 0.892031
| 0.860632
| 0.832354
| 0.832354
| 0.815277
| 0.771392
| 0
| 0
| 0.233424
| 8,461
| 238
| 84
| 35.55042
| 0.839655
| 0.139109
| 0
| 0.607843
| 0
| 0
| 0.112787
| 0
| 0
| 0
| 0
| 0
| 0.346405
| 1
| 0.196078
| false
| 0.333333
| 0.013072
| 0
| 0.254902
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 7
|
d7cf3e9380917552235557dbb5efe845ebc71162
| 1,114
|
py
|
Python
|
tests/test_label_maximum_extension_ratio_map.py
|
elsandal/pyclesperanto_prototype
|
7bda828813b86b44b63d73d5e8f466d9769cded1
|
[
"BSD-3-Clause"
] | 64
|
2020-03-18T12:11:22.000Z
|
2022-03-31T08:19:18.000Z
|
tests/test_label_maximum_extension_ratio_map.py
|
elsandal/pyclesperanto_prototype
|
7bda828813b86b44b63d73d5e8f466d9769cded1
|
[
"BSD-3-Clause"
] | 148
|
2020-05-14T06:14:11.000Z
|
2022-03-26T15:02:31.000Z
|
tests/test_label_maximum_extension_ratio_map.py
|
elsandal/pyclesperanto_prototype
|
7bda828813b86b44b63d73d5e8f466d9769cded1
|
[
"BSD-3-Clause"
] | 16
|
2020-05-31T00:53:44.000Z
|
2022-03-23T13:20:57.000Z
|
import pyclesperanto_prototype as cle
import numpy as np
def test_label_label_maximum_extension_ratio_map_2d():
labels = cle.push(np.asarray([
[1, 1, 2],
[1, 0, 2],
[3, 3, 0]
]))
reference = cle.push(np.asarray([
[1.1396203, 1.1396203, 1],
[1.1396203, 0, 1],
[1, 1, 0]
]
))
result = cle.label_maximum_extension_ratio_map(labels)
a = cle.pull(result)
b = cle.pull(reference)
print(a)
print(b)
assert (np.allclose(a, b, 0.001))
def test_label_label_maximum_extension_ratio_map_3d():
labels = cle.push(np.asarray([
[
[1, 1, 2],
], [
[1, 0, 2],
], [
[3, 3, 0]
]
]))
reference = cle.push(np.asarray([
[
[1.1396203, 1.1396203, 1],
], [
[1.1396203, 0, 1],
], [
[1, 1, 0]
]
]
))
result = cle.label_maximum_extension_ratio_map(labels)
a = cle.pull(result)
b = cle.pull(reference)
print(a)
print(b)
assert (np.allclose(a, b, 0.001))
| 16.878788
| 58
| 0.491023
| 143
| 1,114
| 3.664336
| 0.230769
| 0.030534
| 0.160305
| 0.198473
| 0.900763
| 0.900763
| 0.900763
| 0.900763
| 0.744275
| 0.744275
| 0
| 0.123077
| 0.358169
| 1,114
| 65
| 59
| 17.138462
| 0.60979
| 0
| 0
| 0.782609
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.043478
| 1
| 0.043478
| false
| 0
| 0.043478
| 0
| 0.086957
| 0.086957
| 0
| 0
| 0
| null | 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
cc041142208949df86e11fd8968d1973ef2c122e
| 157
|
py
|
Python
|
nmt/models/__init__.py
|
StiliyanDr/neural-machine-translation
|
f59cc8f6bf1586902f84d931ba6721bf14138f3c
|
[
"MIT"
] | null | null | null |
nmt/models/__init__.py
|
StiliyanDr/neural-machine-translation
|
f59cc8f6bf1586902f84d931ba6721bf14138f3c
|
[
"MIT"
] | null | null | null |
nmt/models/__init__.py
|
StiliyanDr/neural-machine-translation
|
f59cc8f6bf1586902f84d931ba6721bf14138f3c
|
[
"MIT"
] | null | null | null |
from nmt.models.attention import Attention
from nmt.models.decoder import Decoder
from nmt.models.encoder import Encoder
from nmt.models.nmt import NMTModel
| 31.4
| 42
| 0.847134
| 24
| 157
| 5.541667
| 0.333333
| 0.210526
| 0.390977
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.101911
| 157
| 4
| 43
| 39.25
| 0.943262
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
0bfa6ce9a598667a53cef783e252716ae8065ce3
| 135,750
|
py
|
Python
|
lenv/lib/python3.6/site-packages/Crypto/SelfTest/Hash/test_vectors/BLAKE2b/blake2b-test.txt.py
|
shrey-c/DataLeakageDjango
|
a827c5a09e5501921f9fb97b656755671238dd63
|
[
"BSD-3-Clause"
] | 6
|
2020-05-03T12:03:21.000Z
|
2020-09-07T08:33:58.000Z
|
lenv/lib/python3.6/site-packages/Crypto/SelfTest/Hash/test_vectors/BLAKE2b/blake2b-test.txt.py
|
shrey-c/DataLeakageDjango
|
a827c5a09e5501921f9fb97b656755671238dd63
|
[
"BSD-3-Clause"
] | 3
|
2020-04-17T06:50:44.000Z
|
2022-01-13T02:16:48.000Z
|
lenv/lib/python3.6/site-packages/Crypto/SelfTest/Hash/test_vectors/BLAKE2b/blake2b-test.txt.py
|
shrey-c/DataLeakageDjango
|
a827c5a09e5501921f9fb97b656755671238dd63
|
[
"BSD-3-Clause"
] | null | null | null |
X XXXXXXX XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XX XXXXX XX XXXX
XXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
| 132.309942
| 514
| 0.98674
| 1,543
| 135,750
| 86.811406
| 0.168503
| 0.252273
| 0.261829
| 0.504479
| 0.51019
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.01326
| 135,750
| 1,025
| 515
| 132.439024
| 1
| 0
| 0
| 0.668401
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | null | 0
| 0
| null | null | 0
| 0
| 0
| 1
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
f0dc8b1f36574b0bce4249c636dddb0c2fbf53e4
| 149
|
py
|
Python
|
Codewars/7kyu/find-duplicates/Python/test.py
|
RevansChen/online-judge
|
ad1b07fee7bd3c49418becccda904e17505f3018
|
[
"MIT"
] | 7
|
2017-09-20T16:40:39.000Z
|
2021-08-31T18:15:08.000Z
|
Codewars/7kyu/find-duplicates/Python/test.py
|
RevansChen/online-judge
|
ad1b07fee7bd3c49418becccda904e17505f3018
|
[
"MIT"
] | null | null | null |
Codewars/7kyu/find-duplicates/Python/test.py
|
RevansChen/online-judge
|
ad1b07fee7bd3c49418becccda904e17505f3018
|
[
"MIT"
] | null | null | null |
# Python - 3.6.0
Test.assert_equals(duplicates([1, 2, 4, 4, 3, 3, 1, 5, 3, '5']), [4, 3, 1])
Test.assert_equals(duplicates([0, 1, 2, 3, 4, 5]), [])
| 29.8
| 75
| 0.550336
| 31
| 149
| 2.580645
| 0.387097
| 0.25
| 0.4
| 0.65
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.177419
| 0.167785
| 149
| 4
| 76
| 37.25
| 0.467742
| 0.09396
| 0
| 0
| 0
| 0
| 0.007519
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| true
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
0b12e942294f5b07b9112b4b3bebd1ab2a24758b
| 48
|
py
|
Python
|
python/testData/inspections/PyInitNewSignatureInspection/seob.py
|
jnthn/intellij-community
|
8fa7c8a3ace62400c838e0d5926a7be106aa8557
|
[
"Apache-2.0"
] | 2
|
2018-12-29T09:53:39.000Z
|
2018-12-29T09:53:42.000Z
|
python/testData/inspections/PyInitNewSignatureInspection/seob.py
|
Cyril-lamirand/intellij-community
|
60ab6c61b82fc761dd68363eca7d9d69663cfa39
|
[
"Apache-2.0"
] | 173
|
2018-07-05T13:59:39.000Z
|
2018-08-09T01:12:03.000Z
|
python/testData/inspections/PyInitNewSignatureInspection/seob.py
|
Cyril-lamirand/intellij-community
|
60ab6c61b82fc761dd68363eca7d9d69663cfa39
|
[
"Apache-2.0"
] | 2
|
2020-03-15T08:57:37.000Z
|
2020-04-07T04:48:14.000Z
|
from seoa import SeoA
class SeoB(SeoA):
pass
| 9.6
| 21
| 0.729167
| 8
| 48
| 4.375
| 0.75
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.208333
| 48
| 4
| 22
| 12
| 0.921053
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.333333
| 0.333333
| 0
| 0.666667
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 1
| 0
|
0
| 7
|
0b133b13f04f8b00a3d2bfab31a249858e2bd2ec
| 3,262
|
py
|
Python
|
tests/test_organizer.py
|
mota/pynteractor
|
35faab6500220022007a229b4ca85d58a6288de5
|
[
"0BSD"
] | 1
|
2017-04-17T09:47:45.000Z
|
2017-04-17T09:47:45.000Z
|
tests/test_organizer.py
|
mota/pynteractor
|
35faab6500220022007a229b4ca85d58a6288de5
|
[
"0BSD"
] | null | null | null |
tests/test_organizer.py
|
mota/pynteractor
|
35faab6500220022007a229b4ca85d58a6288de5
|
[
"0BSD"
] | null | null | null |
# -*- coding: utf-8 -*-
import pytest
from pynteractor.interactor import Interactor
from pynteractor.organizer import Organizer
def test_interactors_missing():
with pytest.raises(TypeError):
class Org1(Organizer):
pass
def test_valid():
class Int1(Interactor):
def run(self):
self.context.name = 'John Doe'
class Int2(Interactor):
def run(self):
self.context.age = self.context.age + 1
class Org1(Organizer):
interactors = [Int1, Int2]
ctx = Org1.call(age=41)
assert ctx.interrupted == False
assert ctx.success == True
assert ctx.name == 'John Doe'
assert ctx.age == 42
def test_stopped():
class Int1(Interactor):
def run(self):
self.context.name = 'John Doe'
self.context.stop(message='Condition met')
class Int2(Interactor):
def run(self):
self.context.age = self.context.age + 1
class Org1(Organizer):
interactors = [Int1, Int2]
ctx = Org1.call(age=41)
assert ctx.interrupted == True
assert ctx.success == True
assert ctx.name == 'John Doe'
assert ctx.message == 'Condition met'
def test_failed():
class Int1(Interactor):
def run(self):
self.context.name = 'John Doe'
self.context.fail(message='Condition not met')
class Int2(Interactor):
def run(self):
self.context.age = self.context.age + 1
class Org1(Organizer):
interactors = [Int1, Int2]
ctx = Org1.call(age=41)
assert ctx.interrupted == True
assert ctx.success == False
assert ctx.name == 'John Doe'
assert ctx.message == 'Condition not met'
def test_rollback():
class Int1(Interactor):
def run(self):
pass
def rollback(self):
self.context.rollbacked.append('Int1')
class Int2(Interactor):
def run(self):
self.context.fail(message='Condition not met')
def rollback(self):
self.context.rollbacked.append('Int2')
class Org1(Organizer):
interactors = [Int1, Int2]
ctx = Org1.call(rollbacked=[])
assert ctx.success == False
assert ctx.rollbacked == ['Int2', 'Int1']
def test_premature_rollback():
class Int1(Interactor):
def run(self):
self.context.fail(message='Condition not met')
def rollback(self):
self.context.rollbacked.append('Int1')
class Int2(Interactor):
def run(self):
pass
def rollback(self):
self.context.rollbacked.append('Int2')
class Org1(Organizer):
interactors = [Int1, Int2]
ctx = Org1.call(rollbacked=[])
assert ctx.success == False
assert ctx.rollbacked == ['Int1']
def test_premature_no_rollback():
class Int1(Interactor):
def run(self):
self.context.fail(message='Condition not met')
class Int2(Interactor):
def run(self):
pass
def rollback(self):
self.context.rollbacked.append('Int2')
class Org1(Organizer):
interactors = [Int1, Int2]
ctx = Org1.call(rollbacked=[])
assert ctx.success == False
assert ctx.rollbacked == []
| 21.320261
| 58
| 0.596567
| 374
| 3,262
| 5.173797
| 0.139037
| 0.10801
| 0.108527
| 0.124031
| 0.847028
| 0.842377
| 0.839793
| 0.831008
| 0.831008
| 0.799483
| 0
| 0.024464
| 0.285714
| 3,262
| 152
| 59
| 21.460526
| 0.806009
| 0.006438
| 0
| 0.804124
| 0
| 0
| 0.058969
| 0
| 0
| 0
| 0
| 0
| 0.185567
| 1
| 0.247423
| false
| 0.041237
| 0.030928
| 0
| 0.536082
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 9
|
503b1a2de6a4f70158aae87d88643d252dd131ce
| 15,865
|
py
|
Python
|
Packages/backrefs/st3/backrefs/uniprops/unidata/hangulsyllabletype.py
|
aimee5/sublime_packages
|
071e3d0a5892e177d7f93365b20ebccb3f60aedd
|
[
"MIT"
] | 2
|
2018-04-24T10:02:26.000Z
|
2019-06-02T13:53:31.000Z
|
Packages/backrefs/st3/backrefs/uniprops/unidata/hangulsyllabletype.py
|
aimee5/sublime_packages
|
071e3d0a5892e177d7f93365b20ebccb3f60aedd
|
[
"MIT"
] | null | null | null |
Packages/backrefs/st3/backrefs/uniprops/unidata/hangulsyllabletype.py
|
aimee5/sublime_packages
|
071e3d0a5892e177d7f93365b20ebccb3f60aedd
|
[
"MIT"
] | 2
|
2019-04-11T04:13:02.000Z
|
2019-06-02T13:53:33.000Z
|
"""Unicode Properties from Unicode version 6.1.0 (autogen)."""
from __future__ import unicode_literals
unicode_hangul_syllable_type = {
"^l": "\u0000-\u10ff\u1160-\ua95f\ua97d-\U0010ffff",
"^lv": "\u0000-\uabff\uac01-\uac1b\uac1d-\uac37\uac39-\uac53\uac55-\uac6f\uac71-\uac8b\uac8d-\uaca7\uaca9-\uacc3\uacc5-\uacdf\uace1-\uacfb\uacfd-\uad17\uad19-\uad33\uad35-\uad4f\uad51-\uad6b\uad6d-\uad87\uad89-\uada3\uada5-\uadbf\uadc1-\uaddb\uaddd-\uadf7\uadf9-\uae13\uae15-\uae2f\uae31-\uae4b\uae4d-\uae67\uae69-\uae83\uae85-\uae9f\uaea1-\uaebb\uaebd-\uaed7\uaed9-\uaef3\uaef5-\uaf0f\uaf11-\uaf2b\uaf2d-\uaf47\uaf49-\uaf63\uaf65-\uaf7f\uaf81-\uaf9b\uaf9d-\uafb7\uafb9-\uafd3\uafd5-\uafef\uaff1-\ub00b\ub00d-\ub027\ub029-\ub043\ub045-\ub05f\ub061-\ub07b\ub07d-\ub097\ub099-\ub0b3\ub0b5-\ub0cf\ub0d1-\ub0eb\ub0ed-\ub107\ub109-\ub123\ub125-\ub13f\ub141-\ub15b\ub15d-\ub177\ub179-\ub193\ub195-\ub1af\ub1b1-\ub1cb\ub1cd-\ub1e7\ub1e9-\ub203\ub205-\ub21f\ub221-\ub23b\ub23d-\ub257\ub259-\ub273\ub275-\ub28f\ub291-\ub2ab\ub2ad-\ub2c7\ub2c9-\ub2e3\ub2e5-\ub2ff\ub301-\ub31b\ub31d-\ub337\ub339-\ub353\ub355-\ub36f\ub371-\ub38b\ub38d-\ub3a7\ub3a9-\ub3c3\ub3c5-\ub3df\ub3e1-\ub3fb\ub3fd-\ub417\ub419-\ub433\ub435-\ub44f\ub451-\ub46b\ub46d-\ub487\ub489-\ub4a3\ub4a5-\ub4bf\ub4c1-\ub4db\ub4dd-\ub4f7\ub4f9-\ub513\ub515-\ub52f\ub531-\ub54b\ub54d-\ub567\ub569-\ub583\ub585-\ub59f\ub5a1-\ub5bb\ub5bd-\ub5d7\ub5d9-\ub5f3\ub5f5-\ub60f\ub611-\ub62b\ub62d-\ub647\ub649-\ub663\ub665-\ub67f\ub681-\ub69b\ub69d-\ub6b7\ub6b9-\ub6d3\ub6d5-\ub6ef\ub6f1-\ub70b\ub70d-\ub727\ub729-\ub743\ub745-\ub75f\ub761-\ub77b\ub77d-\ub797\ub799-\ub7b3\ub7b5-\ub7cf\ub7d1-\ub7eb\ub7ed-\ub807\ub809-\ub823\ub825-\ub83f\ub841-\ub85b\ub85d-\ub877\ub879-\ub893\ub895-\ub8af\ub8b1-\ub8cb\ub8cd-\ub8e7\ub8e9-\ub903\ub905-\ub91f\ub921-\ub93b\ub93d-\ub957\ub959-\ub973\ub975-\ub98f\ub991-\ub9ab\ub9ad-\ub9c7\ub9c9-\ub9e3\ub9e5-\ub9ff\uba01-\uba1b\uba1d-\uba37\uba39-\uba53\uba55-\uba6f\uba71-\uba8b\uba8d-\ubaa7\ubaa9-\ubac3\ubac5-\ubadf\ubae1-\ubafb\ubafd-\ubb17\ubb19-\ubb33\ubb35-\ubb4f\ubb51-\ubb6b\ubb6d-\ubb87\ubb89-\ubba3\ubba5-\ubbbf\ubbc1-\ubbdb\ubbdd-\ubbf7\ubbf9-\ubc13\ubc15-\ubc2f\ubc31-\ubc4b\ubc4d-\ubc67\ubc69-\ubc83\ubc85-\ubc9f\ubca1-\ubcbb\ubcbd-\ubcd7\ubcd9-\ubcf3\ubcf5-\ubd0f\ubd11-\ubd2b\ubd2d-\ubd47\ubd49-\ubd63\ubd65-\ubd7f\ubd81-\ubd9b\ubd9d-\ubdb7\ubdb9-\ubdd3\ubdd5-\ubdef\ubdf1-\ube0b\ube0d-\ube27\ube29-\ube43\ube45-\ube5f\ube61-\ube7b\ube7d-\ube97\ube99-\ubeb3\ubeb5-\ubecf\ubed1-\ubeeb\ubeed-\ubf07\ubf09-\ubf23\ubf25-\ubf3f\ubf41-\ubf5b\ubf5d-\ubf77\ubf79-\ubf93\ubf95-\ubfaf\ubfb1-\ubfcb\ubfcd-\ubfe7\ubfe9-\uc003\uc005-\uc01f\uc021-\uc03b\uc03d-\uc057\uc059-\uc073\uc075-\uc08f\uc091-\uc0ab\uc0ad-\uc0c7\uc0c9-\uc0e3\uc0e5-\uc0ff\uc101-\uc11b\uc11d-\uc137\uc139-\uc153\uc155-\uc16f\uc171-\uc18b\uc18d-\uc1a7\uc1a9-\uc1c3\uc1c5-\uc1df\uc1e1-\uc1fb\uc1fd-\uc217\uc219-\uc233\uc235-\uc24f\uc251-\uc26b\uc26d-\uc287\uc289-\uc2a3\uc2a5-\uc2bf\uc2c1-\uc2db\uc2dd-\uc2f7\uc2f9-\uc313\uc315-\uc32f\uc331-\uc34b\uc34d-\uc367\uc369-\uc383\uc385-\uc39f\uc3a1-\uc3bb\uc3bd-\uc3d7\uc3d9-\uc3f3\uc3f5-\uc40f\uc411-\uc42b\uc42d-\uc447\uc449-\uc463\uc465-\uc47f\uc481-\uc49b\uc49d-\uc4b7\uc4b9-\uc4d3\uc4d5-\uc4ef\uc4f1-\uc50b\uc50d-\uc527\uc529-\uc543\uc545-\uc55f\uc561-\uc57b\uc57d-\uc597\uc599-\uc5b3\uc5b5-\uc5cf\uc5d1-\uc5eb\uc5ed-\uc607\uc609-\uc623\uc625-\uc63f\uc641-\uc65b\uc65d-\uc677\uc679-\uc693\uc695-\uc6af\uc6b1-\uc6cb\uc6cd-\uc6e7\uc6e9-\uc703\uc705-\uc71f\uc721-\uc73b\uc73d-\uc757\uc759-\uc773\uc775-\uc78f\uc791-\uc7ab\uc7ad-\uc7c7\uc7c9-\uc7e3\uc7e5-\uc7ff\uc801-\uc81b\uc81d-\uc837\uc839-\uc853\uc855-\uc86f\uc871-\uc88b\uc88d-\uc8a7\uc8a9-\uc8c3\uc8c5-\uc8df\uc8e1-\uc8fb\uc8fd-\uc917\uc919-\uc933\uc935-\uc94f\uc951-\uc96b\uc96d-\uc987\uc989-\uc9a3\uc9a5-\uc9bf\uc9c1-\uc9db\uc9dd-\uc9f7\uc9f9-\uca13\uca15-\uca2f\uca31-\uca4b\uca4d-\uca67\uca69-\uca83\uca85-\uca9f\ucaa1-\ucabb\ucabd-\ucad7\ucad9-\ucaf3\ucaf5-\ucb0f\ucb11-\ucb2b\ucb2d-\ucb47\ucb49-\ucb63\ucb65-\ucb7f\ucb81-\ucb9b\ucb9d-\ucbb7\ucbb9-\ucbd3\ucbd5-\ucbef\ucbf1-\ucc0b\ucc0d-\ucc27\ucc29-\ucc43\ucc45-\ucc5f\ucc61-\ucc7b\ucc7d-\ucc97\ucc99-\uccb3\uccb5-\ucccf\uccd1-\ucceb\ucced-\ucd07\ucd09-\ucd23\ucd25-\ucd3f\ucd41-\ucd5b\ucd5d-\ucd77\ucd79-\ucd93\ucd95-\ucdaf\ucdb1-\ucdcb\ucdcd-\ucde7\ucde9-\uce03\uce05-\uce1f\uce21-\uce3b\uce3d-\uce57\uce59-\uce73\uce75-\uce8f\uce91-\uceab\ucead-\ucec7\ucec9-\ucee3\ucee5-\uceff\ucf01-\ucf1b\ucf1d-\ucf37\ucf39-\ucf53\ucf55-\ucf6f\ucf71-\ucf8b\ucf8d-\ucfa7\ucfa9-\ucfc3\ucfc5-\ucfdf\ucfe1-\ucffb\ucffd-\ud017\ud019-\ud033\ud035-\ud04f\ud051-\ud06b\ud06d-\ud087\ud089-\ud0a3\ud0a5-\ud0bf\ud0c1-\ud0db\ud0dd-\ud0f7\ud0f9-\ud113\ud115-\ud12f\ud131-\ud14b\ud14d-\ud167\ud169-\ud183\ud185-\ud19f\ud1a1-\ud1bb\ud1bd-\ud1d7\ud1d9-\ud1f3\ud1f5-\ud20f\ud211-\ud22b\ud22d-\ud247\ud249-\ud263\ud265-\ud27f\ud281-\ud29b\ud29d-\ud2b7\ud2b9-\ud2d3\ud2d5-\ud2ef\ud2f1-\ud30b\ud30d-\ud327\ud329-\ud343\ud345-\ud35f\ud361-\ud37b\ud37d-\ud397\ud399-\ud3b3\ud3b5-\ud3cf\ud3d1-\ud3eb\ud3ed-\ud407\ud409-\ud423\ud425-\ud43f\ud441-\ud45b\ud45d-\ud477\ud479-\ud493\ud495-\ud4af\ud4b1-\ud4cb\ud4cd-\ud4e7\ud4e9-\ud503\ud505-\ud51f\ud521-\ud53b\ud53d-\ud557\ud559-\ud573\ud575-\ud58f\ud591-\ud5ab\ud5ad-\ud5c7\ud5c9-\ud5e3\ud5e5-\ud5ff\ud601-\ud61b\ud61d-\ud637\ud639-\ud653\ud655-\ud66f\ud671-\ud68b\ud68d-\ud6a7\ud6a9-\ud6c3\ud6c5-\ud6df\ud6e1-\ud6fb\ud6fd-\ud717\ud719-\ud733\ud735-\ud74f\ud751-\ud76b\ud76d-\ud787\ud789-\U0010ffff",
"^lvt": "\u0000-\uac00\uac1c\uac38\uac54\uac70\uac8c\uaca8\uacc4\uace0\uacfc\uad18\uad34\uad50\uad6c\uad88\uada4\uadc0\uaddc\uadf8\uae14\uae30\uae4c\uae68\uae84\uaea0\uaebc\uaed8\uaef4\uaf10\uaf2c\uaf48\uaf64\uaf80\uaf9c\uafb8\uafd4\uaff0\ub00c\ub028\ub044\ub060\ub07c\ub098\ub0b4\ub0d0\ub0ec\ub108\ub124\ub140\ub15c\ub178\ub194\ub1b0\ub1cc\ub1e8\ub204\ub220\ub23c\ub258\ub274\ub290\ub2ac\ub2c8\ub2e4\ub300\ub31c\ub338\ub354\ub370\ub38c\ub3a8\ub3c4\ub3e0\ub3fc\ub418\ub434\ub450\ub46c\ub488\ub4a4\ub4c0\ub4dc\ub4f8\ub514\ub530\ub54c\ub568\ub584\ub5a0\ub5bc\ub5d8\ub5f4\ub610\ub62c\ub648\ub664\ub680\ub69c\ub6b8\ub6d4\ub6f0\ub70c\ub728\ub744\ub760\ub77c\ub798\ub7b4\ub7d0\ub7ec\ub808\ub824\ub840\ub85c\ub878\ub894\ub8b0\ub8cc\ub8e8\ub904\ub920\ub93c\ub958\ub974\ub990\ub9ac\ub9c8\ub9e4\uba00\uba1c\uba38\uba54\uba70\uba8c\ubaa8\ubac4\ubae0\ubafc\ubb18\ubb34\ubb50\ubb6c\ubb88\ubba4\ubbc0\ubbdc\ubbf8\ubc14\ubc30\ubc4c\ubc68\ubc84\ubca0\ubcbc\ubcd8\ubcf4\ubd10\ubd2c\ubd48\ubd64\ubd80\ubd9c\ubdb8\ubdd4\ubdf0\ube0c\ube28\ube44\ube60\ube7c\ube98\ubeb4\ubed0\ubeec\ubf08\ubf24\ubf40\ubf5c\ubf78\ubf94\ubfb0\ubfcc\ubfe8\uc004\uc020\uc03c\uc058\uc074\uc090\uc0ac\uc0c8\uc0e4\uc100\uc11c\uc138\uc154\uc170\uc18c\uc1a8\uc1c4\uc1e0\uc1fc\uc218\uc234\uc250\uc26c\uc288\uc2a4\uc2c0\uc2dc\uc2f8\uc314\uc330\uc34c\uc368\uc384\uc3a0\uc3bc\uc3d8\uc3f4\uc410\uc42c\uc448\uc464\uc480\uc49c\uc4b8\uc4d4\uc4f0\uc50c\uc528\uc544\uc560\uc57c\uc598\uc5b4\uc5d0\uc5ec\uc608\uc624\uc640\uc65c\uc678\uc694\uc6b0\uc6cc\uc6e8\uc704\uc720\uc73c\uc758\uc774\uc790\uc7ac\uc7c8\uc7e4\uc800\uc81c\uc838\uc854\uc870\uc88c\uc8a8\uc8c4\uc8e0\uc8fc\uc918\uc934\uc950\uc96c\uc988\uc9a4\uc9c0\uc9dc\uc9f8\uca14\uca30\uca4c\uca68\uca84\ucaa0\ucabc\ucad8\ucaf4\ucb10\ucb2c\ucb48\ucb64\ucb80\ucb9c\ucbb8\ucbd4\ucbf0\ucc0c\ucc28\ucc44\ucc60\ucc7c\ucc98\uccb4\uccd0\uccec\ucd08\ucd24\ucd40\ucd5c\ucd78\ucd94\ucdb0\ucdcc\ucde8\uce04\uce20\uce3c\uce58\uce74\uce90\uceac\ucec8\ucee4\ucf00\ucf1c\ucf38\ucf54\ucf70\ucf8c\ucfa8\ucfc4\ucfe0\ucffc\ud018\ud034\ud050\ud06c\ud088\ud0a4\ud0c0\ud0dc\ud0f8\ud114\ud130\ud14c\ud168\ud184\ud1a0\ud1bc\ud1d8\ud1f4\ud210\ud22c\ud248\ud264\ud280\ud29c\ud2b8\ud2d4\ud2f0\ud30c\ud328\ud344\ud360\ud37c\ud398\ud3b4\ud3d0\ud3ec\ud408\ud424\ud440\ud45c\ud478\ud494\ud4b0\ud4cc\ud4e8\ud504\ud520\ud53c\ud558\ud574\ud590\ud5ac\ud5c8\ud5e4\ud600\ud61c\ud638\ud654\ud670\ud68c\ud6a8\ud6c4\ud6e0\ud6fc\ud718\ud734\ud750\ud76c\ud788\ud7a4-\U0010ffff",
"^na": "\u1100-\u11ff\ua960-\ua97c\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb",
"^t": "\u0000-\u11a7\u1200-\ud7ca\ud7fc-\U0010ffff",
"^v": "\u0000-\u115f\u11a8-\ud7af\ud7c7-\U0010ffff",
"l": "\u1100-\u115f\ua960-\ua97c",
"lv": "\uac00\uac1c\uac38\uac54\uac70\uac8c\uaca8\uacc4\uace0\uacfc\uad18\uad34\uad50\uad6c\uad88\uada4\uadc0\uaddc\uadf8\uae14\uae30\uae4c\uae68\uae84\uaea0\uaebc\uaed8\uaef4\uaf10\uaf2c\uaf48\uaf64\uaf80\uaf9c\uafb8\uafd4\uaff0\ub00c\ub028\ub044\ub060\ub07c\ub098\ub0b4\ub0d0\ub0ec\ub108\ub124\ub140\ub15c\ub178\ub194\ub1b0\ub1cc\ub1e8\ub204\ub220\ub23c\ub258\ub274\ub290\ub2ac\ub2c8\ub2e4\ub300\ub31c\ub338\ub354\ub370\ub38c\ub3a8\ub3c4\ub3e0\ub3fc\ub418\ub434\ub450\ub46c\ub488\ub4a4\ub4c0\ub4dc\ub4f8\ub514\ub530\ub54c\ub568\ub584\ub5a0\ub5bc\ub5d8\ub5f4\ub610\ub62c\ub648\ub664\ub680\ub69c\ub6b8\ub6d4\ub6f0\ub70c\ub728\ub744\ub760\ub77c\ub798\ub7b4\ub7d0\ub7ec\ub808\ub824\ub840\ub85c\ub878\ub894\ub8b0\ub8cc\ub8e8\ub904\ub920\ub93c\ub958\ub974\ub990\ub9ac\ub9c8\ub9e4\uba00\uba1c\uba38\uba54\uba70\uba8c\ubaa8\ubac4\ubae0\ubafc\ubb18\ubb34\ubb50\ubb6c\ubb88\ubba4\ubbc0\ubbdc\ubbf8\ubc14\ubc30\ubc4c\ubc68\ubc84\ubca0\ubcbc\ubcd8\ubcf4\ubd10\ubd2c\ubd48\ubd64\ubd80\ubd9c\ubdb8\ubdd4\ubdf0\ube0c\ube28\ube44\ube60\ube7c\ube98\ubeb4\ubed0\ubeec\ubf08\ubf24\ubf40\ubf5c\ubf78\ubf94\ubfb0\ubfcc\ubfe8\uc004\uc020\uc03c\uc058\uc074\uc090\uc0ac\uc0c8\uc0e4\uc100\uc11c\uc138\uc154\uc170\uc18c\uc1a8\uc1c4\uc1e0\uc1fc\uc218\uc234\uc250\uc26c\uc288\uc2a4\uc2c0\uc2dc\uc2f8\uc314\uc330\uc34c\uc368\uc384\uc3a0\uc3bc\uc3d8\uc3f4\uc410\uc42c\uc448\uc464\uc480\uc49c\uc4b8\uc4d4\uc4f0\uc50c\uc528\uc544\uc560\uc57c\uc598\uc5b4\uc5d0\uc5ec\uc608\uc624\uc640\uc65c\uc678\uc694\uc6b0\uc6cc\uc6e8\uc704\uc720\uc73c\uc758\uc774\uc790\uc7ac\uc7c8\uc7e4\uc800\uc81c\uc838\uc854\uc870\uc88c\uc8a8\uc8c4\uc8e0\uc8fc\uc918\uc934\uc950\uc96c\uc988\uc9a4\uc9c0\uc9dc\uc9f8\uca14\uca30\uca4c\uca68\uca84\ucaa0\ucabc\ucad8\ucaf4\ucb10\ucb2c\ucb48\ucb64\ucb80\ucb9c\ucbb8\ucbd4\ucbf0\ucc0c\ucc28\ucc44\ucc60\ucc7c\ucc98\uccb4\uccd0\uccec\ucd08\ucd24\ucd40\ucd5c\ucd78\ucd94\ucdb0\ucdcc\ucde8\uce04\uce20\uce3c\uce58\uce74\uce90\uceac\ucec8\ucee4\ucf00\ucf1c\ucf38\ucf54\ucf70\ucf8c\ucfa8\ucfc4\ucfe0\ucffc\ud018\ud034\ud050\ud06c\ud088\ud0a4\ud0c0\ud0dc\ud0f8\ud114\ud130\ud14c\ud168\ud184\ud1a0\ud1bc\ud1d8\ud1f4\ud210\ud22c\ud248\ud264\ud280\ud29c\ud2b8\ud2d4\ud2f0\ud30c\ud328\ud344\ud360\ud37c\ud398\ud3b4\ud3d0\ud3ec\ud408\ud424\ud440\ud45c\ud478\ud494\ud4b0\ud4cc\ud4e8\ud504\ud520\ud53c\ud558\ud574\ud590\ud5ac\ud5c8\ud5e4\ud600\ud61c\ud638\ud654\ud670\ud68c\ud6a8\ud6c4\ud6e0\ud6fc\ud718\ud734\ud750\ud76c\ud788",
"lvt": "\uac01-\uac1b\uac1d-\uac37\uac39-\uac53\uac55-\uac6f\uac71-\uac8b\uac8d-\uaca7\uaca9-\uacc3\uacc5-\uacdf\uace1-\uacfb\uacfd-\uad17\uad19-\uad33\uad35-\uad4f\uad51-\uad6b\uad6d-\uad87\uad89-\uada3\uada5-\uadbf\uadc1-\uaddb\uaddd-\uadf7\uadf9-\uae13\uae15-\uae2f\uae31-\uae4b\uae4d-\uae67\uae69-\uae83\uae85-\uae9f\uaea1-\uaebb\uaebd-\uaed7\uaed9-\uaef3\uaef5-\uaf0f\uaf11-\uaf2b\uaf2d-\uaf47\uaf49-\uaf63\uaf65-\uaf7f\uaf81-\uaf9b\uaf9d-\uafb7\uafb9-\uafd3\uafd5-\uafef\uaff1-\ub00b\ub00d-\ub027\ub029-\ub043\ub045-\ub05f\ub061-\ub07b\ub07d-\ub097\ub099-\ub0b3\ub0b5-\ub0cf\ub0d1-\ub0eb\ub0ed-\ub107\ub109-\ub123\ub125-\ub13f\ub141-\ub15b\ub15d-\ub177\ub179-\ub193\ub195-\ub1af\ub1b1-\ub1cb\ub1cd-\ub1e7\ub1e9-\ub203\ub205-\ub21f\ub221-\ub23b\ub23d-\ub257\ub259-\ub273\ub275-\ub28f\ub291-\ub2ab\ub2ad-\ub2c7\ub2c9-\ub2e3\ub2e5-\ub2ff\ub301-\ub31b\ub31d-\ub337\ub339-\ub353\ub355-\ub36f\ub371-\ub38b\ub38d-\ub3a7\ub3a9-\ub3c3\ub3c5-\ub3df\ub3e1-\ub3fb\ub3fd-\ub417\ub419-\ub433\ub435-\ub44f\ub451-\ub46b\ub46d-\ub487\ub489-\ub4a3\ub4a5-\ub4bf\ub4c1-\ub4db\ub4dd-\ub4f7\ub4f9-\ub513\ub515-\ub52f\ub531-\ub54b\ub54d-\ub567\ub569-\ub583\ub585-\ub59f\ub5a1-\ub5bb\ub5bd-\ub5d7\ub5d9-\ub5f3\ub5f5-\ub60f\ub611-\ub62b\ub62d-\ub647\ub649-\ub663\ub665-\ub67f\ub681-\ub69b\ub69d-\ub6b7\ub6b9-\ub6d3\ub6d5-\ub6ef\ub6f1-\ub70b\ub70d-\ub727\ub729-\ub743\ub745-\ub75f\ub761-\ub77b\ub77d-\ub797\ub799-\ub7b3\ub7b5-\ub7cf\ub7d1-\ub7eb\ub7ed-\ub807\ub809-\ub823\ub825-\ub83f\ub841-\ub85b\ub85d-\ub877\ub879-\ub893\ub895-\ub8af\ub8b1-\ub8cb\ub8cd-\ub8e7\ub8e9-\ub903\ub905-\ub91f\ub921-\ub93b\ub93d-\ub957\ub959-\ub973\ub975-\ub98f\ub991-\ub9ab\ub9ad-\ub9c7\ub9c9-\ub9e3\ub9e5-\ub9ff\uba01-\uba1b\uba1d-\uba37\uba39-\uba53\uba55-\uba6f\uba71-\uba8b\uba8d-\ubaa7\ubaa9-\ubac3\ubac5-\ubadf\ubae1-\ubafb\ubafd-\ubb17\ubb19-\ubb33\ubb35-\ubb4f\ubb51-\ubb6b\ubb6d-\ubb87\ubb89-\ubba3\ubba5-\ubbbf\ubbc1-\ubbdb\ubbdd-\ubbf7\ubbf9-\ubc13\ubc15-\ubc2f\ubc31-\ubc4b\ubc4d-\ubc67\ubc69-\ubc83\ubc85-\ubc9f\ubca1-\ubcbb\ubcbd-\ubcd7\ubcd9-\ubcf3\ubcf5-\ubd0f\ubd11-\ubd2b\ubd2d-\ubd47\ubd49-\ubd63\ubd65-\ubd7f\ubd81-\ubd9b\ubd9d-\ubdb7\ubdb9-\ubdd3\ubdd5-\ubdef\ubdf1-\ube0b\ube0d-\ube27\ube29-\ube43\ube45-\ube5f\ube61-\ube7b\ube7d-\ube97\ube99-\ubeb3\ubeb5-\ubecf\ubed1-\ubeeb\ubeed-\ubf07\ubf09-\ubf23\ubf25-\ubf3f\ubf41-\ubf5b\ubf5d-\ubf77\ubf79-\ubf93\ubf95-\ubfaf\ubfb1-\ubfcb\ubfcd-\ubfe7\ubfe9-\uc003\uc005-\uc01f\uc021-\uc03b\uc03d-\uc057\uc059-\uc073\uc075-\uc08f\uc091-\uc0ab\uc0ad-\uc0c7\uc0c9-\uc0e3\uc0e5-\uc0ff\uc101-\uc11b\uc11d-\uc137\uc139-\uc153\uc155-\uc16f\uc171-\uc18b\uc18d-\uc1a7\uc1a9-\uc1c3\uc1c5-\uc1df\uc1e1-\uc1fb\uc1fd-\uc217\uc219-\uc233\uc235-\uc24f\uc251-\uc26b\uc26d-\uc287\uc289-\uc2a3\uc2a5-\uc2bf\uc2c1-\uc2db\uc2dd-\uc2f7\uc2f9-\uc313\uc315-\uc32f\uc331-\uc34b\uc34d-\uc367\uc369-\uc383\uc385-\uc39f\uc3a1-\uc3bb\uc3bd-\uc3d7\uc3d9-\uc3f3\uc3f5-\uc40f\uc411-\uc42b\uc42d-\uc447\uc449-\uc463\uc465-\uc47f\uc481-\uc49b\uc49d-\uc4b7\uc4b9-\uc4d3\uc4d5-\uc4ef\uc4f1-\uc50b\uc50d-\uc527\uc529-\uc543\uc545-\uc55f\uc561-\uc57b\uc57d-\uc597\uc599-\uc5b3\uc5b5-\uc5cf\uc5d1-\uc5eb\uc5ed-\uc607\uc609-\uc623\uc625-\uc63f\uc641-\uc65b\uc65d-\uc677\uc679-\uc693\uc695-\uc6af\uc6b1-\uc6cb\uc6cd-\uc6e7\uc6e9-\uc703\uc705-\uc71f\uc721-\uc73b\uc73d-\uc757\uc759-\uc773\uc775-\uc78f\uc791-\uc7ab\uc7ad-\uc7c7\uc7c9-\uc7e3\uc7e5-\uc7ff\uc801-\uc81b\uc81d-\uc837\uc839-\uc853\uc855-\uc86f\uc871-\uc88b\uc88d-\uc8a7\uc8a9-\uc8c3\uc8c5-\uc8df\uc8e1-\uc8fb\uc8fd-\uc917\uc919-\uc933\uc935-\uc94f\uc951-\uc96b\uc96d-\uc987\uc989-\uc9a3\uc9a5-\uc9bf\uc9c1-\uc9db\uc9dd-\uc9f7\uc9f9-\uca13\uca15-\uca2f\uca31-\uca4b\uca4d-\uca67\uca69-\uca83\uca85-\uca9f\ucaa1-\ucabb\ucabd-\ucad7\ucad9-\ucaf3\ucaf5-\ucb0f\ucb11-\ucb2b\ucb2d-\ucb47\ucb49-\ucb63\ucb65-\ucb7f\ucb81-\ucb9b\ucb9d-\ucbb7\ucbb9-\ucbd3\ucbd5-\ucbef\ucbf1-\ucc0b\ucc0d-\ucc27\ucc29-\ucc43\ucc45-\ucc5f\ucc61-\ucc7b\ucc7d-\ucc97\ucc99-\uccb3\uccb5-\ucccf\uccd1-\ucceb\ucced-\ucd07\ucd09-\ucd23\ucd25-\ucd3f\ucd41-\ucd5b\ucd5d-\ucd77\ucd79-\ucd93\ucd95-\ucdaf\ucdb1-\ucdcb\ucdcd-\ucde7\ucde9-\uce03\uce05-\uce1f\uce21-\uce3b\uce3d-\uce57\uce59-\uce73\uce75-\uce8f\uce91-\uceab\ucead-\ucec7\ucec9-\ucee3\ucee5-\uceff\ucf01-\ucf1b\ucf1d-\ucf37\ucf39-\ucf53\ucf55-\ucf6f\ucf71-\ucf8b\ucf8d-\ucfa7\ucfa9-\ucfc3\ucfc5-\ucfdf\ucfe1-\ucffb\ucffd-\ud017\ud019-\ud033\ud035-\ud04f\ud051-\ud06b\ud06d-\ud087\ud089-\ud0a3\ud0a5-\ud0bf\ud0c1-\ud0db\ud0dd-\ud0f7\ud0f9-\ud113\ud115-\ud12f\ud131-\ud14b\ud14d-\ud167\ud169-\ud183\ud185-\ud19f\ud1a1-\ud1bb\ud1bd-\ud1d7\ud1d9-\ud1f3\ud1f5-\ud20f\ud211-\ud22b\ud22d-\ud247\ud249-\ud263\ud265-\ud27f\ud281-\ud29b\ud29d-\ud2b7\ud2b9-\ud2d3\ud2d5-\ud2ef\ud2f1-\ud30b\ud30d-\ud327\ud329-\ud343\ud345-\ud35f\ud361-\ud37b\ud37d-\ud397\ud399-\ud3b3\ud3b5-\ud3cf\ud3d1-\ud3eb\ud3ed-\ud407\ud409-\ud423\ud425-\ud43f\ud441-\ud45b\ud45d-\ud477\ud479-\ud493\ud495-\ud4af\ud4b1-\ud4cb\ud4cd-\ud4e7\ud4e9-\ud503\ud505-\ud51f\ud521-\ud53b\ud53d-\ud557\ud559-\ud573\ud575-\ud58f\ud591-\ud5ab\ud5ad-\ud5c7\ud5c9-\ud5e3\ud5e5-\ud5ff\ud601-\ud61b\ud61d-\ud637\ud639-\ud653\ud655-\ud66f\ud671-\ud68b\ud68d-\ud6a7\ud6a9-\ud6c3\ud6c5-\ud6df\ud6e1-\ud6fb\ud6fd-\ud717\ud719-\ud733\ud735-\ud74f\ud751-\ud76b\ud76d-\ud787\ud789-\ud7a3",
"na": "\u0000-\u10ff\u1200-\ua95f\ua97d-\uabff\ud7a4-\ud7af\ud7c7-\ud7ca\ud7fc-\U0010ffff",
"t": "\u11a8-\u11ff\ud7cb-\ud7fb",
"v": "\u1160-\u11a7\ud7b0-\ud7c6"
}
| 881.388889
| 5,218
| 0.782099
| 2,481
| 15,865
| 4.997985
| 0.500202
| 0.001613
| 0.002419
| 0.003226
| 0.964516
| 0.964516
| 0.964516
| 0.964516
| 0.964516
| 0.964516
| 0
| 0.301895
| 0.005547
| 15,865
| 17
| 5,219
| 933.235294
| 0.484059
| 0.00353
| 0
| 0
| 1
| 0.333333
| 0.986079
| 0.984433
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.066667
| 0
| 0.066667
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 15
|
5048086b0fd5d9fa2c5ffd8d73e54f3263e9d051
| 182
|
py
|
Python
|
src/utils/__init__.py
|
KatyKasilina/StumbleUpon-Evergreen-DataMining
|
de8824bb85f00aef5b9ad57690191dbc984b9384
|
[
"MIT"
] | null | null | null |
src/utils/__init__.py
|
KatyKasilina/StumbleUpon-Evergreen-DataMining
|
de8824bb85f00aef5b9ad57690191dbc984b9384
|
[
"MIT"
] | null | null | null |
src/utils/__init__.py
|
KatyKasilina/StumbleUpon-Evergreen-DataMining
|
de8824bb85f00aef5b9ad57690191dbc984b9384
|
[
"MIT"
] | null | null | null |
from .utils import load_pkl_file, save_metrics_to_json, save_pkl_file, read_data
__all__ = [
"load_pkl_file",
"save_metrics_to_json",
"save_pkl_file",
"read_data"
]
| 20.222222
| 80
| 0.725275
| 28
| 182
| 4
| 0.464286
| 0.25
| 0.196429
| 0.267857
| 0.839286
| 0.839286
| 0.839286
| 0.839286
| 0.839286
| 0.839286
| 0
| 0
| 0.175824
| 182
| 8
| 81
| 22.75
| 0.746667
| 0
| 0
| 0
| 0
| 0
| 0.302198
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.142857
| 0
| 0.142857
| 0
| 1
| 0
| 0
| null | 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 11
|
acc530358c053bdf34f9f17aadb440868985ab24
| 2,803
|
py
|
Python
|
stacks_and_queues/stack_of_plates/stack_of_plates_test.py
|
hanjasn/ctci
|
69c8c65d71e7f6e88b669dc402e64a0cf6223fbf
|
[
"MIT"
] | null | null | null |
stacks_and_queues/stack_of_plates/stack_of_plates_test.py
|
hanjasn/ctci
|
69c8c65d71e7f6e88b669dc402e64a0cf6223fbf
|
[
"MIT"
] | null | null | null |
stacks_and_queues/stack_of_plates/stack_of_plates_test.py
|
hanjasn/ctci
|
69c8c65d71e7f6e88b669dc402e64a0cf6223fbf
|
[
"MIT"
] | null | null | null |
import unittest
from stack_of_plates import *
class SetOfStacksTest(unittest.TestCase):
def setUp(self) -> None:
capacity = 3
self.stacks = SetOfStacks(capacity)
def test_1(self) -> None:
self.stacks.push(0)
self.assertEqual("0", self.stacks.print_values())
def test_2(self) -> None:
self.stacks.push(0)
self.stacks.push(1)
self.stacks.push(2)
self.stacks.push(3)
self.assertEqual("3 | 2, 1, 0", self.stacks.print_values())
def test_3(self) -> None:
self.stacks.push(0)
self.stacks.push(1)
self.stacks.pop()
self.assertEqual("0", self.stacks.print_values())
def test_4(self) -> None:
self.stacks.push(0)
self.stacks.push(1)
self.stacks.push(2)
self.stacks.push(3)
self.stacks.pop()
self.assertEqual("2, 1, 0", self.stacks.print_values())
def test_4(self) -> None:
self.stacks.push(1)
self.stacks.push(2)
self.stacks.push(3)
self.stacks.push(4)
self.stacks.push(5)
self.stacks.push(6)
self.stacks.push(7)
self.stacks.push(8)
self.stacks.push(9)
self.stacks.pop()
self.stacks.pop()
self.stacks.pop()
self.stacks.pop()
self.stacks.push(6)
self.stacks.push(7)
self.stacks.push(8)
self.stacks.push(9)
self.assertEqual("9, 8, 7 | 6, 5, 4 | 3, 2, 1", self.stacks.print_values())
def test_5(self):
self.stacks.push(0)
self.stacks.push(1)
self.stacks.push(2)
self.stacks.push(3)
self.stacks.push(4)
self.stacks.push(5)
self.stacks.push(6)
self.stacks.push(7)
self.stacks.pop_at(0)
self.assertEqual("7 | 6, 5, 4 | 3, 1, 0", self.stacks.print_values())
def test_6(self):
self.stacks.push(0)
self.stacks.push(1)
self.stacks.push(2)
self.stacks.push(3)
self.stacks.push(4)
self.stacks.push(5)
self.stacks.push(6)
self.stacks.push(7)
self.stacks.pop_at(0)
self.stacks.pop_at(2)
self.assertEqual("6, 5, 4 | 3, 1, 0", self.stacks.print_values())
def test_7(self):
self.stacks.push(0)
self.stacks.push(1)
self.stacks.push(2)
self.stacks.push(3)
self.stacks.push(4)
self.stacks.push(5)
self.stacks.push(6)
self.stacks.push(7)
self.stacks.pop_at(0)
self.stacks.pop_at(2)
self.stacks.pop_at(0)
self.assertEqual("6, 5 | 4, 1, 0", self.stacks.print_values())
def test_8(self):
self.stacks.push(0)
self.stacks.push(1)
self.stacks.push(2)
self.stacks.push(3)
self.stacks.push(4)
self.stacks.push(5)
self.stacks.push(6)
self.stacks.push(7)
self.stacks.pop_at(0)
self.stacks.pop_at(2)
self.stacks.pop_at(0)
self.stacks.push(7)
self.stacks.push(8)
self.stacks.push(9)
self.assertEqual("9, 8 | 7, 6, 5 | 4, 1, 0", self.stacks.print_values())
| 25.481818
| 79
| 0.627542
| 459
| 2,803
| 3.769063
| 0.071895
| 0.485549
| 0.477457
| 0.109249
| 0.910405
| 0.890751
| 0.874566
| 0.848555
| 0.844509
| 0.763006
| 0
| 0.05466
| 0.20371
| 2,803
| 110
| 80
| 25.481818
| 0.72043
| 0
| 0
| 0.795918
| 0
| 0
| 0.043866
| 0
| 0
| 0
| 0
| 0
| 0.091837
| 1
| 0.102041
| false
| 0
| 0.020408
| 0
| 0.132653
| 0.091837
| 0
| 0
| 0
| null | 1
| 1
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 9
|
acd57d89ba7e22c3b21d2c9ebd955f05f0e94ea6
| 4,595
|
py
|
Python
|
pytorch/unet_2d/hooks.py
|
mistermoutan/ModelsGenesis
|
98af7075b93311fe655e9692773eb1ce015b8bd0
|
[
"MIT"
] | null | null | null |
pytorch/unet_2d/hooks.py
|
mistermoutan/ModelsGenesis
|
98af7075b93311fe655e9692773eb1ce015b8bd0
|
[
"MIT"
] | null | null | null |
pytorch/unet_2d/hooks.py
|
mistermoutan/ModelsGenesis
|
98af7075b93311fe655e9692773eb1ce015b8bd0
|
[
"MIT"
] | null | null | null |
def hook_a_inc(grad):
grad_clone = grad.clone()
grad_clone[22:] = 0 # over 22
return grad_clone
def hook_c_inc(grad):
grad_clone = grad.clone()
grad_clone[:22] = 0
grad_clone[22 + 21 :] = 0 # that isnt between 22 and 43
return grad_clone
def hook_s_inc(grad):
grad_clone = grad.clone()
grad_clone[: 22 + 21] = 0
return grad_clone
#################
# (43, 43, 42)
def hook_a_down1(grad):
grad_clone = grad.clone()
grad_clone[43:] = 0
return grad_clone
def hook_c_down1(grad):
grad_clone = grad.clone()
grad_clone[:43] = 0
grad_clone[43 + 43 :] = 0
return grad_clone
def hook_s_down1(grad):
grad_clone = grad.clone()
grad_clone[: 43 + 43] = 0
return grad_clone
###################
# (86, 85, 85)
def hook_a_down2(grad):
grad_clone = grad.clone()
grad_clone[86:] = 0
return grad_clone
def hook_c_down2(grad):
grad_clone = grad.clone()
grad_clone[:86] = 0
grad_clone[86 + 85 :] = 0
return grad_clone
def hook_s_down2(grad):
grad_clone = grad.clone()
grad_clone[: 86 + 85] = 0
return grad_clone
###################
# (171, 171, 170)
def hook_a_down3(grad):
grad_clone = grad.clone()
grad_clone[171:] = 0
return grad_clone
def hook_c_down3(grad):
grad_clone = grad.clone()
grad_clone[:171] = 0
grad_clone[171 + 171 :] = 0
return grad_clone
def hook_s_down3(grad):
grad_clone = grad.clone()
grad_clone[: 171 + 171] = 0
return grad_clone
###################
# (171, 171, 170)
def hook_a_down4(grad):
grad_clone = grad.clone()
grad_clone[171:] = 0
return grad_clone
def hook_c_down4(grad):
grad_clone = grad.clone()
grad_clone[:171] = 0
grad_clone[171 + 171 :] = 0
return grad_clone
def hook_s_down4(grad):
grad_clone = grad.clone()
grad_clone[: 171 + 171] = 0
return grad_clone
###################
# (171, 171, 170)
def hook_a_up1_1(grad):
grad_clone = grad.clone()
grad_clone[171:] = 0
return grad_clone
def hook_c_up1_1(grad):
grad_clone = grad.clone()
grad_clone[:171] = 0
grad_clone[171 + 171 :] = 0
return grad_clone
def hook_s_up1_1(grad):
grad_clone = grad.clone()
grad_clone[: 171 + 171] = 0
return grad_clone
###################
# (86, 85, 85)
def hook_a_up1_2(grad):
grad_clone = grad.clone()
grad_clone[86:] = 0
return grad_clone
def hook_c_up1_2(grad):
grad_clone = grad.clone()
grad_clone[:86] = 0
grad_clone[86 + 85 :] = 0
return grad_clone
def hook_s_up1_2(grad):
grad_clone = grad.clone()
grad_clone[: 86 + 85] = 0
return grad_clone
#########################
# (86, 85, 85)
def hook_a_up2_1(grad):
grad_clone = grad.clone()
grad_clone[86:] = 0
return grad_clone
def hook_c_up2_1(grad):
grad_clone = grad.clone()
grad_clone[:86] = 0
grad_clone[86 + 85 :] = 0
return grad_clone
def hook_s_up2_1(grad):
grad_clone = grad.clone()
grad_clone[: 86 + 85] = 0
return grad_clone
#########################
# (43, 43, 42)
def hook_a_up2_2(grad):
grad_clone = grad.clone()
grad_clone[43:] = 0
return grad_clone
def hook_c_up2_2(grad):
grad_clone = grad.clone()
grad_clone[:43] = 0
grad_clone[43 + 42 :] = 0
return grad_clone
def hook_s_up2_2(grad):
grad_clone = grad.clone()
grad_clone[: 43 + 42] = 0
return grad_clone
#########################
# (43, 43, 42)
def hook_a_up3_1(grad):
grad_clone = grad.clone()
grad_clone[43:] = 0
return grad_clone
def hook_c_up3_1(grad):
grad_clone = grad.clone()
grad_clone[:43] = 0
grad_clone[43 + 42 :] = 0
return grad_clone
def hook_s_up3_1(grad):
grad_clone = grad.clone()
grad_clone[: 43 + 42] = 0
return grad_clone
#########################
# (22, 21, 21)
def hook_a_up3_2(grad):
grad_clone = grad.clone()
grad_clone[22:] = 0
return grad_clone
def hook_c_up3_2(grad):
grad_clone = grad.clone()
grad_clone[:22] = 0
grad_clone[22 + 21 :] = 0
return grad_clone
def hook_s_up3_2(grad):
grad_clone = grad.clone()
grad_clone[: 22 + 21] = 0
return grad_clone
#########################
# (22, 21, 21)
def hook_a_up4(grad):
grad_clone = grad.clone()
grad_clone[22:] = 0
return grad_clone
def hook_c_up4(grad):
grad_clone = grad.clone()
grad_clone[:22] = 0
grad_clone[22 + 21 :] = 0
return grad_clone
def hook_s_up4(grad):
grad_clone = grad.clone()
grad_clone[: 22 + 21] = 0
return grad_clone
| 16.893382
| 60
| 0.593036
| 707
| 4,595
| 3.557284
| 0.046676
| 0.558251
| 0.372167
| 0.515308
| 0.985686
| 0.985686
| 0.967396
| 0.964215
| 0.956262
| 0.932803
| 0
| 0.098079
| 0.241132
| 4,595
| 271
| 61
| 16.95572
| 0.623172
| 0.040696
| 0
| 0.75641
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.230769
| false
| 0
| 0
| 0
| 0.461538
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 11
|
4a0ac39d831b60af400ee42ea8228d4744184354
| 409
|
py
|
Python
|
src/ethereum_test/common.py
|
lightclient/test-filler
|
f8b8e38c62a7682c9e08ee83cecf71d2b10fc5fc
|
[
"MIT"
] | null | null | null |
src/ethereum_test/common.py
|
lightclient/test-filler
|
f8b8e38c62a7682c9e08ee83cecf71d2b10fc5fc
|
[
"MIT"
] | 1
|
2021-11-27T06:07:47.000Z
|
2021-11-27T06:07:47.000Z
|
src/ethereum_test/common.py
|
lightclient/test-filler
|
f8b8e38c62a7682c9e08ee83cecf71d2b10fc5fc
|
[
"MIT"
] | null | null | null |
"""
Common values used in Ethereum tests.
"""
TestPrivateKey = (
"0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
)
TestAddress = "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b"
AddrAA = "0x00000000000000000000000000000000000000aa"
AddrBB = "0x00000000000000000000000000000000000000bb"
EmptyTrieRoot = "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421" # noqa: E501
| 29.214286
| 98
| 0.848411
| 18
| 409
| 19.277778
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.530831
| 0.08802
| 409
| 13
| 99
| 31.461538
| 0.399464
| 0.119804
| 0
| 0
| 0
| 0
| 0.732955
| 0.732955
| 0
| 0
| 0.732955
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
c5990931c53007d022daa41f9f98d9be1dea59ec
| 298,663
|
py
|
Python
|
TEST3D/GUI/0010805_page_skelbdy/log.py
|
usnistgov/OOF3D
|
4fd423a48aea9c5dc207520f02de53ae184be74c
|
[
"X11"
] | 31
|
2015-04-01T15:59:36.000Z
|
2022-03-18T20:21:47.000Z
|
TEST3D/GUI/0010805_page_skelbdy/log.py
|
usnistgov/OOF3D
|
4fd423a48aea9c5dc207520f02de53ae184be74c
|
[
"X11"
] | 3
|
2015-02-06T19:30:24.000Z
|
2017-05-25T14:14:31.000Z
|
TEST3D/GUI/0010805_page_skelbdy/log.py
|
usnistgov/OOF3D
|
4fd423a48aea9c5dc207520f02de53ae184be74c
|
[
"X11"
] | 7
|
2015-01-23T15:19:22.000Z
|
2021-06-09T09:03:59.000Z
|
# -*- python -*-
# This software was produced by NIST, an agency of the U.S. government,
# and by statute is not subject to copyright in the United States.
# Recipients of this software assume all responsibilities associated
# with its operation, modification and maintenance. However, to
# facilitate maintenance we ask that before distributing modified
# versions of this software, you first contact the authors at
# oof_manager@nist.gov.
import tests
#Testing the skeleton boundary modification menu: Add and Remove Faces Boundaries
#Need to check what is:
#////// 4016/4043 findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll:BoundaryList').get_selection().select_path((11,))
#ERROR: In /usr/local/src/vtk/VTK5.10.1/Filtering/vtkExecutive.cxx, line 776
#vtkStreamingDemandDrivenPipeline (0x599ba60): ProcessRequest invoked during another request. Returning failure to algorithm vtkCellCenters(0x599b130) for the recursive request:
#vtkInformation (0x595e050)
#Debug: Off
#Modified Time: 735270
#Reference Count: 1
#Registered Events: (none)
#Request: REQUEST_DATA_OBJECT
#FROM_OUTPUT_PORT: 0
#ALGORITHM_AFTER_FORWARD: 1
#FORWARD_DIRECTION: 0
findWidget('OOF3D').resize(550, 350)
setComboBox(findWidget('OOF3D:Navigation:PageMenu'), 'Microstructure')
checkpoint page installed Microstructure
findWidget('OOF3D:Microstructure Page:Pane').set_position(225)
findWidget('OOF3D:Microstructure Page:Pane').set_position(156)
checkpoint meshable button set
checkpoint microstructure page sensitized
checkpoint meshable button set
checkpoint microstructure page sensitized
findMenu(findWidget('OOF3D:MenuBar'), 'File:Load:Data').activate()
checkpoint toplevel widget mapped Dialog-Data
findWidget('Dialog-Data').resize(190, 67)
findWidget('Dialog-Data:filename').set_text('TEST_DATA/two_walls.skeleton')
findWidget('Dialog-Data:gtk-ok').clicked()
findWidget('OOF3D:Microstructure Page:Pane').set_position(159)
checkpoint meshable button set
checkpoint meshable button set
checkpoint microstructure page sensitized
checkpoint pixel page updated
checkpoint active area status updated
checkpoint microstructure page sensitized
checkpoint meshable button set
checkpoint Field page sensitized
checkpoint Materials page updated
checkpoint mesh page subproblems sensitized
checkpoint mesh page subproblems sensitized
checkpoint mesh page sensitized
checkpoint mesh page sensitized
checkpoint pinnodes page sensitized
checkpoint boundary page updated
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page updated
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page groups sensitized
checkpoint Solver page sensitized
checkpoint microstructure page sensitized
findWidget('OOF3D:Microstructure Page:Pane').set_position(225)
checkpoint meshable button set
checkpoint meshable button set
checkpoint microstructure page sensitized
checkpoint skeleton selection page groups sensitized
checkpoint microstructure page sensitized
checkpoint meshable button set
checkpoint meshable button set
checkpoint meshable button set
checkpoint microstructure page sensitized
checkpoint skeleton selection page groups sensitized
checkpoint meshable button set
checkpoint meshable button set
checkpoint microstructure page sensitized
checkpoint skeleton selection page groups sensitized
checkpoint meshable button set
checkpoint meshable button set
checkpoint microstructure page sensitized
checkpoint skeleton selection page groups sensitized
checkpoint meshable button set
checkpoint meshable button set
checkpoint microstructure page sensitized
checkpoint skeleton selection page groups sensitized
checkpoint meshable button set
checkpoint meshable button set
checkpoint microstructure page sensitized
checkpoint meshable button set
checkpoint meshable button set
checkpoint microstructure page sensitized
checkpoint meshable button set
checkpoint meshable button set
checkpoint microstructure page sensitized
checkpoint meshable button set
checkpoint meshable button set
checkpoint microstructure page sensitized
checkpoint meshable button set
checkpoint meshable button set
checkpoint microstructure page sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page updated
checkpoint skeleton selection page groups sensitized
checkpoint Field page sensitized
checkpoint mesh page subproblems sensitized
checkpoint mesh page subproblems sensitized
checkpoint mesh page sensitized
checkpoint mesh page sensitized
checkpoint pinnodes page sensitized
checkpoint boundary page updated
checkpoint skeleton selection page selection sensitized
checkpoint Solver page sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint pinnodes page sensitized
checkpoint pinnodes page sensitized
checkpoint pinnodes page sensitized
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint toplevel widget mapped OOF3D Activity Viewer
checkpoint boundary page updated
findWidget('OOF3D Activity Viewer').resize(400, 300)
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint OOF.File.Load.Data
findWidget('OOF3D').resize(550, 350)
findMenu(findWidget('OOF3D:MenuBar'), 'Windows:Graphics:New').activate()
checkpoint Move Node toolbox info updated
findWidget('OOF3D Graphics 1:Pane0:Pane2:ToolboxFrame').size_allocate(gtk.gdk.Rectangle(0, 29, 380, 705))
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
findWidget('OOF3D Graphics 1:Pane0:Pane2:ToolboxFrame').size_allocate(gtk.gdk.Rectangle(0, 29, 380, 705))
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
checkpoint toplevel widget mapped OOF3D Graphics 1
findWidget('OOF3D Graphics 1:Pane0:Pane2:ToolboxFrame').size_allocate(gtk.gdk.Rectangle(0, 29, 380, 705))
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
findWidget('OOF3D Graphics 1').resize(1000, 800)
checkpoint OOF.Windows.Graphics.New
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
findWidget('OOF3D Graphics 1:Pane0:LayerScroll').get_vadjustment().set_value( 1.0000000000000e+01)
findWidget('OOF3D Graphics 1:Pane0:LayerScroll').get_vadjustment().set_value( 2.0000000000000e+01)
findWidget('OOF3D Graphics 1:Pane0:LayerScroll').get_vadjustment().set_value( 3.5000000000000e+01)
findWidget('OOF3D Graphics 1:Pane0:LayerScroll').get_vadjustment().set_value( 4.5000000000000e+01)
findWidget('OOF3D Graphics 1:Pane0:LayerScroll').get_vadjustment().set_value( 5.5000000000000e+01)
findWidget('OOF3D Graphics 1:Pane0:LayerScroll').get_vadjustment().set_value( 6.5000000000000e+01)
findWidget('OOF3D Graphics 1:Pane0:LayerScroll').get_vadjustment().set_value( 7.0000000000000e+01)
findWidget('OOF3D Graphics 1:Pane0:LayerScroll').get_vadjustment().set_value( 7.5000000000000e+01)
findWidget('OOF3D Graphics 1:Pane0:LayerScroll:LayerList').get_selection().select_path((13,))
findWidget('OOF3D Graphics 1:Pane0:LayerScroll').get_vadjustment().set_value( 7.2000000000000e+01)
checkpoint OOF.Graphics_1.Layer.Select
findWidget('OOF3D Graphics 1:Pane0:LayerScroll').get_vadjustment().set_value( 7.5000000000000e+01)
tree=findWidget('OOF3D Graphics 1:Pane0:LayerScroll:LayerList')
column = tree.get_column(2)
tree.row_activated((13,), column)
checkpoint toplevel widget mapped Dialog-Edit Graphics Layer
findWidget('Dialog-Edit Graphics Layer').resize(291, 191)
setComboBox(findWidget('Dialog-Edit Graphics Layer:how:Bitmap:filter:Chooser'), 'Not')
findWidget('Dialog-Edit Graphics Layer').resize(336, 221)
setComboBox(findWidget('Dialog-Edit Graphics Layer:how:Bitmap:filter:Not:a:Chooser'), 'Group')
findWidget('Dialog-Edit Graphics Layer').resize(368, 249)
setComboBox(findWidget('Dialog-Edit Graphics Layer:how:Bitmap:filter:Not:a:Group:group'), '#000000')
findWidget('Dialog-Edit Graphics Layer:gtk-ok').clicked()
checkpoint Graphics_1 Voxel Info updated
checkpoint Graphics_1 Pin Nodes updated
checkpoint OOF.Graphics_1.Layer.Edit
findWidget('OOF3D Graphics 1:Pane0:Pane2:ToolboxFrame').size_allocate(gtk.gdk.Rectangle(0, 29, 380, 705))
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
setComboBox(findWidget('OOF3D Graphics 1:Pane0:Pane2:ToolboxFrame:TBChooser'), 'Skeleton Selection')
findWidget('OOF3D Graphics 1:Pane0:Pane2:ToolboxFrame').size_allocate(gtk.gdk.Rectangle(0, 29, 380, 705))
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
findWidget('OOF3D Graphics 1:Pane0:Pane2:ToolboxFrame:TBScroll:Skeleton Selection:Select:Face').clicked()
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 4.6300000000000e+02,y= 5.4200000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 4.6300000000000e+02,y= 5.4200000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 5.0100000000000e+02,y= 5.0900000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 5.0100000000000e+02,y= 5.0900000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 4.6700000000000e+02,y= 4.3700000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 4.6800000000000e+02,y= 4.3600000000000e+02,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 4.7100000000000e+02,y= 4.3600000000000e+02,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 4.7100000000000e+02,y= 4.3600000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 4.7800000000000e+02,y= 3.6500000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 4.7800000000000e+02,y= 3.6500000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 4.6600000000000e+02,y= 3.0400000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 4.6600000000000e+02,y= 3.0400000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 5.1800000000000e+02,y= 2.4400000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 5.1800000000000e+02,y= 2.4400000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 4.7500000000000e+02,y= 1.7500000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 4.7500000000000e+02,y= 1.7500000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 4.9000000000000e+02,y= 1.2000000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 4.9000000000000e+02,y= 1.2000000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
findWidget('OOF3D Graphics 1:Pane0:Pane2:tumble').clicked()
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 3.7100000000000e+02,y= 3.1700000000000e+02,button=1,state=16,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.7000000000000e+02,y= 3.1700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6900000000000e+02,y= 3.1500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6600000000000e+02,y= 3.1300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.5700000000000e+02,y= 3.0400000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.5600000000000e+02,y= 3.0200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.5000000000000e+02,y= 2.9600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4900000000000e+02,y= 2.9500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4400000000000e+02,y= 2.8800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4300000000000e+02,y= 2.8600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4300000000000e+02,y= 2.8500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4000000000000e+02,y= 2.7900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4000000000000e+02,y= 2.7800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3800000000000e+02,y= 2.7400000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3800000000000e+02,y= 2.7300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3600000000000e+02,y= 2.6900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3600000000000e+02,y= 2.6800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3400000000000e+02,y= 2.6600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3200000000000e+02,y= 2.6200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3200000000000e+02,y= 2.6100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.2800000000000e+02,y= 2.6000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.2700000000000e+02,y= 2.6000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.2400000000000e+02,y= 2.5700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.2300000000000e+02,y= 2.5700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.1900000000000e+02,y= 2.5600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.1800000000000e+02,y= 2.5500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.1600000000000e+02,y= 2.5400000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.1200000000000e+02,y= 2.5200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.1100000000000e+02,y= 2.5200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.1000000000000e+02,y= 2.5200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.0900000000000e+02,y= 2.5200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.0900000000000e+02,y= 2.5300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.0800000000000e+02,y= 2.5300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.0800000000000e+02,y= 2.5400000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.0800000000000e+02,y= 2.5500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.0900000000000e+02,y= 2.5600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.0900000000000e+02,y= 2.5700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.1000000000000e+02,y= 2.5700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.1200000000000e+02,y= 2.5700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.1300000000000e+02,y= 2.5800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.1400000000000e+02,y= 2.5800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.1600000000000e+02,y= 2.5900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.1800000000000e+02,y= 2.5900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.2000000000000e+02,y= 2.5900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.2100000000000e+02,y= 2.5900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 3.2100000000000e+02,y= 2.5900000000000e+02,button=1,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
checkpoint OOF.Graphics_1.Settings.Camera.View
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
findWidget('OOF3D Graphics 1:Pane0:Pane2:select').clicked()
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 3.1300000000000e+02,y= 3.7900000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 3.1300000000000e+02,y= 3.7900000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 3.6100000000000e+02,y= 4.0600000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 3.6100000000000e+02,y= 4.0600000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 4.3200000000000e+02,y= 3.6100000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 4.3200000000000e+02,y= 3.6100000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 4.2900000000000e+02,y= 2.9300000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 4.2900000000000e+02,y= 2.9300000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 4.5800000000000e+02,y= 2.5700000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 4.5800000000000e+02,y= 2.5700000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 4.9200000000000e+02,y= 2.5900000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 4.9200000000000e+02,y= 2.5900000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 5.2800000000000e+02,y= 2.0300000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 5.2800000000000e+02,y= 2.0300000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 5.0400000000000e+02,y= 1.5900000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 5.0400000000000e+02,y= 1.5900000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 5.3400000000000e+02,y= 1.2100000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 5.3400000000000e+02,y= 1.2100000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 5.7200000000000e+02,y= 1.3300000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 5.7200000000000e+02,y= 1.3300000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
findWidget('OOF3D Graphics 1:Pane0:Pane2:tumble').clicked()
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 4.1200000000000e+02,y= 3.0600000000000e+02,button=1,state=16,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 4.1100000000000e+02,y= 3.0500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 4.1000000000000e+02,y= 3.0500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 4.0800000000000e+02,y= 3.0500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 4.0700000000000e+02,y= 3.0500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 4.0200000000000e+02,y= 3.0600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 4.0100000000000e+02,y= 3.0700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.9700000000000e+02,y= 3.0900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.9400000000000e+02,y= 3.1000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.9000000000000e+02,y= 3.1100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.8000000000000e+02,y= 3.1400000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.7800000000000e+02,y= 3.1500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.7400000000000e+02,y= 3.1600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.7300000000000e+02,y= 3.1600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.7000000000000e+02,y= 3.1700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6900000000000e+02,y= 3.1700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6600000000000e+02,y= 3.1900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6500000000000e+02,y= 3.2000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6500000000000e+02,y= 3.2100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6200000000000e+02,y= 3.2300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6100000000000e+02,y= 3.2300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.5900000000000e+02,y= 3.2500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.5600000000000e+02,y= 3.2700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.5300000000000e+02,y= 3.3000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.5300000000000e+02,y= 3.3100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.5000000000000e+02,y= 3.3400000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4900000000000e+02,y= 3.3500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4700000000000e+02,y= 3.3700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4500000000000e+02,y= 3.3800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4300000000000e+02,y= 3.4100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4100000000000e+02,y= 3.4200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3900000000000e+02,y= 3.4300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3700000000000e+02,y= 3.4500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3700000000000e+02,y= 3.4600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3400000000000e+02,y= 3.4800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3300000000000e+02,y= 3.4900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3200000000000e+02,y= 3.5000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3100000000000e+02,y= 3.5000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.2800000000000e+02,y= 3.5000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.2600000000000e+02,y= 3.5100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.2400000000000e+02,y= 3.5300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.2300000000000e+02,y= 3.5300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.2200000000000e+02,y= 3.5300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 3.2200000000000e+02,y= 3.5300000000000e+02,button=1,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 3.2200000000000e+02,y= 3.5300000000000e+02,button=1,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
checkpoint OOF.Graphics_1.Settings.Camera.View
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
findWidget('OOF3D Graphics 1:Pane0:Pane2:select').clicked()
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 2.7500000000000e+02,y= 3.0400000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 2.7500000000000e+02,y= 3.0400000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 2.9500000000000e+02,y= 2.4900000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 2.9500000000000e+02,y= 2.4900000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
findWidget('OOF3D Graphics 1:Pane0:Pane2:tumble').clicked()
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 1.6400000000000e+02,y= 3.0800000000000e+02,button=1,state=16,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.6700000000000e+02,y= 3.0500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.6900000000000e+02,y= 3.0500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.7300000000000e+02,y= 3.0000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.7500000000000e+02,y= 3.0000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.7800000000000e+02,y= 2.9500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.7900000000000e+02,y= 2.9400000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.8100000000000e+02,y= 2.8900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.8100000000000e+02,y= 2.8800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.8400000000000e+02,y= 2.8300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.8400000000000e+02,y= 2.8200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.8600000000000e+02,y= 2.7500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.8600000000000e+02,y= 2.7300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.8800000000000e+02,y= 2.6600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.8900000000000e+02,y= 2.6400000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.9000000000000e+02,y= 2.5900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.9000000000000e+02,y= 2.5800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.9100000000000e+02,y= 2.5500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.9200000000000e+02,y= 2.5100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.9500000000000e+02,y= 2.4700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.9600000000000e+02,y= 2.4600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.9900000000000e+02,y= 2.4200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.0000000000000e+02,y= 2.4000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.0200000000000e+02,y= 2.3800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.0500000000000e+02,y= 2.3300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.0600000000000e+02,y= 2.3300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.0700000000000e+02,y= 2.2900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.0800000000000e+02,y= 2.2800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.0900000000000e+02,y= 2.2600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.1000000000000e+02,y= 2.2300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.1000000000000e+02,y= 2.2200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.1100000000000e+02,y= 2.2000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.1100000000000e+02,y= 2.1900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.1100000000000e+02,y= 2.1700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.1100000000000e+02,y= 2.1600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.1100000000000e+02,y= 2.1300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.1000000000000e+02,y= 2.1300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.1000000000000e+02,y= 2.1200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.0900000000000e+02,y= 2.1200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.0700000000000e+02,y= 2.1200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.0600000000000e+02,y= 2.1200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.0500000000000e+02,y= 2.1200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.0500000000000e+02,y= 2.1300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.0400000000000e+02,y= 2.1300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 2.0400000000000e+02,y= 2.1300000000000e+02,button=1,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
checkpoint OOF.Graphics_1.Settings.Camera.View
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
findWidget('OOF3D Graphics 1:Pane0:Pane2:select').clicked()
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 1.7200000000000e+02,y= 1.9800000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 1.7200000000000e+02,y= 1.9800000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 2.1100000000000e+02,y= 2.2100000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 2.1100000000000e+02,y= 2.2100000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 2.7500000000000e+02,y= 1.8300000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 2.7500000000000e+02,y= 1.8300000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 2.8500000000000e+02,y= 1.4200000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 2.8500000000000e+02,y= 1.4200000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 3.5900000000000e+02,y= 1.1700000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 3.5900000000000e+02,y= 1.1700000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 4.2500000000000e+02,y= 1.6300000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 4.2500000000000e+02,y= 1.6300000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 3.9400000000000e+02,y= 1.6200000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 3.9400000000000e+02,y= 1.6200000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 4.5900000000000e+02,y= 1.0200000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 4.5900000000000e+02,y= 1.0200000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
findWidget('OOF3D Graphics 1:Pane0:Pane2:tumble').clicked()
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 2.6700000000000e+02,y= 3.2800000000000e+02,button=1,state=16,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.6900000000000e+02,y= 3.3000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.6900000000000e+02,y= 3.3200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.7300000000000e+02,y= 3.4300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.7500000000000e+02,y= 3.4500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.8100000000000e+02,y= 3.5600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.8200000000000e+02,y= 3.5900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.8700000000000e+02,y= 3.6900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.8800000000000e+02,y= 3.7200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.9100000000000e+02,y= 3.8000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.9200000000000e+02,y= 3.8100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.9400000000000e+02,y= 3.8700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.9400000000000e+02,y= 3.8800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.9800000000000e+02,y= 3.9300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.9800000000000e+02,y= 3.9400000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.0100000000000e+02,y= 3.9600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.0200000000000e+02,y= 3.9700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.0500000000000e+02,y= 3.9900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.0800000000000e+02,y= 3.9900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.0900000000000e+02,y= 3.9900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.1100000000000e+02,y= 3.9900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.1200000000000e+02,y= 3.9900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.1800000000000e+02,y= 3.9900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.2000000000000e+02,y= 3.9900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.2500000000000e+02,y= 3.9900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.2600000000000e+02,y= 3.9900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.2800000000000e+02,y= 3.9900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.2900000000000e+02,y= 3.9900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3000000000000e+02,y= 3.9900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3400000000000e+02,y= 3.9900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3500000000000e+02,y= 3.9900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4000000000000e+02,y= 4.0100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4300000000000e+02,y= 4.0100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4700000000000e+02,y= 4.0200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.5100000000000e+02,y= 4.0200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.5200000000000e+02,y= 4.0200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.5700000000000e+02,y= 4.0300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6200000000000e+02,y= 4.0200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6300000000000e+02,y= 4.0200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6800000000000e+02,y= 4.0200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6900000000000e+02,y= 4.0200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.7000000000000e+02,y= 4.0200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.7100000000000e+02,y= 4.0200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.7400000000000e+02,y= 4.0200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.7500000000000e+02,y= 4.0200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.7500000000000e+02,y= 4.0100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.7400000000000e+02,y= 4.0100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.7200000000000e+02,y= 4.0000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.7100000000000e+02,y= 4.0000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6900000000000e+02,y= 3.9400000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6900000000000e+02,y= 3.9200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6900000000000e+02,y= 3.9100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.7000000000000e+02,y= 3.9100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.7100000000000e+02,y= 3.9000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.7200000000000e+02,y= 3.9000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.7300000000000e+02,y= 3.9000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.7300000000000e+02,y= 3.8900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.7400000000000e+02,y= 3.8900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.7400000000000e+02,y= 3.8800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.7500000000000e+02,y= 3.8800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.7700000000000e+02,y= 3.8800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.7800000000000e+02,y= 3.8800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.7900000000000e+02,y= 3.8800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.8000000000000e+02,y= 3.8800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.8100000000000e+02,y= 3.8800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.8200000000000e+02,y= 3.8800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.8400000000000e+02,y= 3.8800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.8500000000000e+02,y= 3.8800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.8600000000000e+02,y= 3.8800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 3.8600000000000e+02,y= 3.8800000000000e+02,button=1,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
checkpoint OOF.Graphics_1.Settings.Camera.View
setComboBox(findWidget('OOF3D:Navigation:PageMenu'), 'Skeleton Selection')
checkpoint page installed Skeleton Selection
findWidget('OOF3D:Skeleton Selection Page:Pane').set_position(227)
findWidget('OOF3D:Skeleton Selection Page:Mode:Face').clicked()
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page selection sensitized
findWidget('OOF3D').resize(550, 376)
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
findWidget('OOF3D:Skeleton Selection Page:Pane:Groups:New').clicked()
checkpoint toplevel widget mapped Dialog-Create a new Face group
findWidget('Dialog-Create a new Face group').resize(246, 67)
findWidget('Dialog-Create a new Face group:name:Auto').clicked()
findWidget('Dialog-Create a new Face group:name:Text').set_text('r')
findWidget('Dialog-Create a new Face group:name:Text').set_text('re')
findWidget('Dialog-Create a new Face group:name:Text').set_text('red')
findWidget('Dialog-Create a new Face group:name:Text').set_text('red_')
findWidget('Dialog-Create a new Face group:name:Text').set_text('red_b')
findWidget('Dialog-Create a new Face group:name:Text').set_text('red_bl')
findWidget('Dialog-Create a new Face group:name:Text').set_text('red_blo')
findWidget('Dialog-Create a new Face group:name:Text').set_text('red_bl')
findWidget('Dialog-Create a new Face group:name:Text').set_text('red_b')
findWidget('Dialog-Create a new Face group:name:Text').set_text('red_bo')
findWidget('Dialog-Create a new Face group:name:Text').set_text('red_box')
findWidget('Dialog-Create a new Face group:gtk-ok').clicked()
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page groups sensitized
checkpoint OOF.FaceGroup.New_Group
findWidget('OOF3D:Skeleton Selection Page:Pane:Groups:Add').clicked()
checkpoint skeleton selection page groups sensitized
checkpoint OOF.FaceGroup.Add_to_Group
findWidget('OOF3D Graphics 1:Pane0:Pane2:ToolboxFrame:TBScroll:Skeleton Selection:Face:Clear').clicked()
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Clear
checkpoint skeleton selection page updated
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
findWidget('OOF3D Graphics 1:Pane0:Pane2:select').clicked()
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 4.0200000000000e+02,y= 4.6100000000000e+02,button=1,state=16,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 4.0200000000000e+02,y= 4.6100000000000e+02,button=1,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 4.1700000000000e+02,y= 4.9600000000000e+02,button=1,state=20,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 4.1700000000000e+02,y= 4.9600000000000e+02,button=1,state=276,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 3.7500000000000e+02,y= 5.7200000000000e+02,button=1,state=20,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 3.7500000000000e+02,y= 5.7200000000000e+02,button=1,state=276,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 4.2700000000000e+02,y= 5.6400000000000e+02,button=1,state=20,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 4.2700000000000e+02,y= 5.6400000000000e+02,button=1,state=276,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
findWidget('OOF3D Graphics 1:Pane0:Pane2:tumble').clicked()
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 3.6300000000000e+02,y= 2.7100000000000e+02,button=1,state=16,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6400000000000e+02,y= 2.6900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6400000000000e+02,y= 2.6700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6400000000000e+02,y= 2.4800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6400000000000e+02,y= 2.4100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6400000000000e+02,y= 2.4000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6300000000000e+02,y= 2.3400000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6200000000000e+02,y= 2.3000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6100000000000e+02,y= 2.2500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6100000000000e+02,y= 2.1300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.5900000000000e+02,y= 2.1300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.5900000000000e+02,y= 2.0300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.5900000000000e+02,y= 2.0200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6000000000000e+02,y= 1.9200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6000000000000e+02,y= 1.9000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6000000000000e+02,y= 1.8900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6000000000000e+02,y= 1.8700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6000000000000e+02,y= 1.8500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6000000000000e+02,y= 1.8400000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6000000000000e+02,y= 1.8100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6000000000000e+02,y= 1.7900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6000000000000e+02,y= 1.7800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6000000000000e+02,y= 1.7500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6000000000000e+02,y= 1.7400000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6000000000000e+02,y= 1.7300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6000000000000e+02,y= 1.7200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6000000000000e+02,y= 1.7000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6000000000000e+02,y= 1.6900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6100000000000e+02,y= 1.6700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6100000000000e+02,y= 1.6300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6100000000000e+02,y= 1.6200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6100000000000e+02,y= 1.6000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6100000000000e+02,y= 1.5500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6100000000000e+02,y= 1.5400000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6200000000000e+02,y= 1.5000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6200000000000e+02,y= 1.4900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6200000000000e+02,y= 1.4700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6200000000000e+02,y= 1.4600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 3.6200000000000e+02,y= 1.4600000000000e+02,button=1,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
checkpoint OOF.Graphics_1.Settings.Camera.View
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
findWidget('OOF3D Graphics 1:Pane0:Pane2:select').clicked()
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 3.6400000000000e+02,y= 1.4200000000000e+02,button=1,state=20,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 3.6400000000000e+02,y= 1.4200000000000e+02,button=1,state=276,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 4.0000000000000e+02,y= 1.7900000000000e+02,button=1,state=20,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 4.0000000000000e+02,y= 1.7900000000000e+02,button=1,state=276,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
findWidget('OOF3D Graphics 1:Pane0:Pane2:tumble').clicked()
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 3.5000000000000e+02,y= 2.2300000000000e+02,button=1,state=16,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.5100000000000e+02,y= 2.2400000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.5100000000000e+02,y= 2.2500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.5100000000000e+02,y= 2.3000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.5100000000000e+02,y= 2.3200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.5100000000000e+02,y= 2.4000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.5100000000000e+02,y= 2.4200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.5100000000000e+02,y= 2.4600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.5000000000000e+02,y= 2.5500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.5000000000000e+02,y= 2.5700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.5000000000000e+02,y= 2.6400000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.5000000000000e+02,y= 2.6600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4600000000000e+02,y= 2.8300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4600000000000e+02,y= 2.8500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4600000000000e+02,y= 2.9200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4600000000000e+02,y= 2.9500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4600000000000e+02,y= 2.9800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4600000000000e+02,y= 3.0300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4600000000000e+02,y= 3.0400000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4400000000000e+02,y= 3.0900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4400000000000e+02,y= 3.1000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4300000000000e+02,y= 3.1600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4200000000000e+02,y= 3.1800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4200000000000e+02,y= 3.2000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4100000000000e+02,y= 3.2300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4000000000000e+02,y= 3.2700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4000000000000e+02,y= 3.2800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3800000000000e+02,y= 3.3400000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3700000000000e+02,y= 3.3500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3500000000000e+02,y= 3.4300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3400000000000e+02,y= 3.4400000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3300000000000e+02,y= 3.4700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3300000000000e+02,y= 3.4800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3300000000000e+02,y= 3.4900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3400000000000e+02,y= 3.5000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3400000000000e+02,y= 3.5200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3400000000000e+02,y= 3.5300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3500000000000e+02,y= 3.5400000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3700000000000e+02,y= 3.5600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3800000000000e+02,y= 3.5600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4000000000000e+02,y= 3.5700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4100000000000e+02,y= 3.5700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4300000000000e+02,y= 3.5800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4400000000000e+02,y= 3.5900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4400000000000e+02,y= 3.6000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4600000000000e+02,y= 3.6400000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4600000000000e+02,y= 3.6500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4600000000000e+02,y= 3.6800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4500000000000e+02,y= 3.6800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4400000000000e+02,y= 3.6800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4300000000000e+02,y= 3.6900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4000000000000e+02,y= 3.7000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3800000000000e+02,y= 3.7100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3700000000000e+02,y= 3.7100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3600000000000e+02,y= 3.7100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3500000000000e+02,y= 3.7100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3300000000000e+02,y= 3.7100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3200000000000e+02,y= 3.7100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3100000000000e+02,y= 3.7100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3200000000000e+02,y= 3.7100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3300000000000e+02,y= 3.7100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3400000000000e+02,y= 3.7100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3800000000000e+02,y= 3.7000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3900000000000e+02,y= 3.7000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4100000000000e+02,y= 3.7000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4300000000000e+02,y= 3.7000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4400000000000e+02,y= 3.7000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4500000000000e+02,y= 3.7000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4700000000000e+02,y= 3.7000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 3.4700000000000e+02,y= 3.7000000000000e+02,button=1,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
checkpoint OOF.Graphics_1.Settings.Camera.View
findWidget('OOF3D:Skeleton Selection Page:Pane:Groups:New').clicked()
checkpoint toplevel widget mapped Dialog-Create a new Face group
findWidget('Dialog-Create a new Face group').resize(246, 67)
findWidget('Dialog-Create a new Face group:name:Text').set_text('_box')
findWidget('Dialog-Create a new Face group:name:Text').set_text('f_box')
findWidget('Dialog-Create a new Face group:name:Text').set_text('fo_box')
findWidget('Dialog-Create a new Face group:name:Text').set_text('for_box')
findWidget('Dialog-Create a new Face group:name:Text').set_text('fore_box')
findWidget('Dialog-Create a new Face group:name:Text').set_text('forei_box')
findWidget('Dialog-Create a new Face group:name:Text').set_text('foreig_box')
findWidget('Dialog-Create a new Face group:name:Text').set_text('foreign_box')
findWidget('Dialog-Create a new Face group:gtk-ok').clicked()
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page groups sensitized
checkpoint OOF.FaceGroup.New_Group
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
findWidget('OOF3D Graphics 1:Pane0:Pane2:select').clicked()
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 2.5300000000000e+02,y= 4.8200000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 2.5300000000000e+02,y= 4.8200000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 2.2400000000000e+02,y= 5.4900000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 2.2400000000000e+02,y= 5.4900000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 1.3100000000000e+02,y= 5.2800000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 1.3100000000000e+02,y= 5.2800000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 7.8000000000000e+01,y= 4.6900000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 7.8000000000000e+01,y= 4.6900000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
findWidget('OOF3D Graphics 1:Pane0:Pane2:tumble').clicked()
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 3.2300000000000e+02,y= 3.4900000000000e+02,button=1,state=16,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.2400000000000e+02,y= 3.4600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.2500000000000e+02,y= 3.4300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.2800000000000e+02,y= 3.1700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.2800000000000e+02,y= 3.1600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.2800000000000e+02,y= 3.0400000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.2800000000000e+02,y= 3.0200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.2900000000000e+02,y= 2.9900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.2900000000000e+02,y= 2.9700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3200000000000e+02,y= 2.9100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3400000000000e+02,y= 2.8900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3500000000000e+02,y= 2.8700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3700000000000e+02,y= 2.8400000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 3.3700000000000e+02,y= 2.8400000000000e+02,button=1,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
checkpoint OOF.Graphics_1.Settings.Camera.View
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
findWidget('OOF3D Graphics 1:Pane0:Pane2:select').clicked()
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 3.1800000000000e+02,y= 3.7500000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 3.1800000000000e+02,y= 3.7500000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 2.3900000000000e+02,y= 3.8600000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 2.3900000000000e+02,y= 3.8600000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 2.7300000000000e+02,y= 3.4700000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 2.7300000000000e+02,y= 3.4700000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 1.7700000000000e+02,y= 3.2100000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 1.7700000000000e+02,y= 3.2100000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 9.7000000000000e+01,y= 3.2100000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 9.7000000000000e+01,y= 3.2100000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
findWidget('OOF3D Graphics 1:Pane0:Pane2:tumble').clicked()
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 2.5600000000000e+02,y= 2.0700000000000e+02,button=1,state=16,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.5700000000000e+02,y= 2.0600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.5700000000000e+02,y= 2.0500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.6100000000000e+02,y= 2.0200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.6200000000000e+02,y= 2.0200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.6400000000000e+02,y= 2.0100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.6800000000000e+02,y= 2.0000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.6900000000000e+02,y= 1.9900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.7100000000000e+02,y= 1.9800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.7800000000000e+02,y= 1.9700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.7900000000000e+02,y= 1.9700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.8400000000000e+02,y= 1.9700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.8500000000000e+02,y= 1.9700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.8600000000000e+02,y= 1.9700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.8700000000000e+02,y= 1.9700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.8800000000000e+02,y= 1.9700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.9000000000000e+02,y= 1.9600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.9100000000000e+02,y= 1.9600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.9200000000000e+02,y= 1.9600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.9400000000000e+02,y= 1.9600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.9500000000000e+02,y= 1.9600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.9600000000000e+02,y= 1.9600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.9700000000000e+02,y= 1.9600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.9800000000000e+02,y= 1.9600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.9900000000000e+02,y= 1.9600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.0000000000000e+02,y= 1.9600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.0000000000000e+02,y= 1.9500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.0100000000000e+02,y= 1.9500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.0200000000000e+02,y= 1.9500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.0300000000000e+02,y= 1.9500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 3.0300000000000e+02,y= 1.9500000000000e+02,button=1,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
checkpoint OOF.Graphics_1.Settings.Camera.View
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
findWidget('OOF3D Graphics 1:Pane0:Pane2:select').clicked()
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 3.3100000000000e+02,y= 1.5000000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 3.3100000000000e+02,y= 1.5000000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 3.4800000000000e+02,y= 1.9700000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 3.4800000000000e+02,y= 1.9700000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 3.5600000000000e+02,y= 2.6700000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 3.5600000000000e+02,y= 2.6700000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 3.4600000000000e+02,y= 2.8900000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 3.4600000000000e+02,y= 2.8900000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 3.8800000000000e+02,y= 3.4300000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 3.8800000000000e+02,y= 3.4300000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 4.4000000000000e+02,y= 3.5800000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 4.4000000000000e+02,y= 3.5800000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
findWidget('OOF3D Graphics 1:Pane0:Pane2:tumble').clicked()
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 3.7900000000000e+02,y= 1.8300000000000e+02,button=1,state=16,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.7900000000000e+02,y= 1.8400000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.7900000000000e+02,y= 1.8500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.7500000000000e+02,y= 1.9100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.7400000000000e+02,y= 1.9300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.7200000000000e+02,y= 2.0000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.7200000000000e+02,y= 2.0200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.7100000000000e+02,y= 2.0600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.7000000000000e+02,y= 2.0800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6800000000000e+02,y= 2.1100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6800000000000e+02,y= 2.1200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6600000000000e+02,y= 2.1600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6500000000000e+02,y= 2.1700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6200000000000e+02,y= 2.2200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.6200000000000e+02,y= 2.2300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.5800000000000e+02,y= 2.2600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.5800000000000e+02,y= 2.2800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.5400000000000e+02,y= 2.3200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.5100000000000e+02,y= 2.3500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4600000000000e+02,y= 2.4100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4600000000000e+02,y= 2.4200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4600000000000e+02,y= 2.4500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4400000000000e+02,y= 2.4600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4200000000000e+02,y= 2.4700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4000000000000e+02,y= 2.4800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3900000000000e+02,y= 2.4900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3700000000000e+02,y= 2.5300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3600000000000e+02,y= 2.5300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3500000000000e+02,y= 2.5500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3300000000000e+02,y= 2.5800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3100000000000e+02,y= 2.6100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.3000000000000e+02,y= 2.6300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.2800000000000e+02,y= 2.6800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.2600000000000e+02,y= 2.7100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.2400000000000e+02,y= 2.7200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 3.2400000000000e+02,y= 2.7300000000000e+02,button=1,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
checkpoint OOF.Graphics_1.Settings.Camera.View
findWidget('OOF3D:Skeleton Selection Page:Pane:Groups:Add').clicked()
checkpoint skeleton selection page groups sensitized
checkpoint OOF.FaceGroup.Add_to_Group
findWidget('OOF3D Graphics 1:Pane0:Pane2:ToolboxFrame:TBScroll:Skeleton Selection:Face:Clear').clicked()
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Clear
checkpoint skeleton selection page updated
findWidget('OOF3D:Skeleton Selection Page:Pane:Selection:FaceHistory:OK').clicked()
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint OOF.FaceSelection.Select_Group
checkpoint skeleton selection page updated
setComboBox(findWidget('OOF3D:Navigation:PageMenu'), 'Skeleton Boundaries')
checkpoint page installed Skeleton Boundaries
findWidget('OOF3D:Skeleton Boundaries Page:Pane').set_position(300)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:New').clicked()
checkpoint toplevel widget mapped Dialog-New Boundary
findWidget('Dialog-New Boundary').resize(368, 125)
assert tests.boundariesCheck('Xmax','Xmin','Ymax','Ymin','Zmax','Zmin','a string unlikely to be a boundary name','XmaxYmax','XmaxYmin','XmaxZmax','XmaxZmin','XminYmax','XminYmin','XminZmax','XminZmin','YmaxZmax','YmaxZmin','YminZmax','YminZmin','a string unlikely to be a boundary name','XmaxYmaxZmax','XmaxYmaxZmin','XmaxYminZmax','XmaxYminZmin','XminYmaxZmax','XminYmaxZmin','XminYminZmax','XminYminZmin')
setComboBox(findWidget('Dialog-New Boundary:constructor:Chooser'), 'Face boundary from faces')
assert tests.BoundaryNewDialogCheckGroup0('Face boundary from faces','<selection>','red_box','foreign_box',)
assert tests.BoundaryNewDialogCheckScope0('Face boundary from faces','direction','-X to +X','+X to -X','-Y to +Y','+Y to -Y','-Z to +Z','+Z to -Z',)
assert tests.BoundaryNewDialogCheck1('Face boundary from faces','<selection>','direction','-X to +X')
findWidget('Dialog-New Boundary').resize(368, 153)
findWidget('Dialog-New Boundary:gtk-ok').clicked()
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint boundary page updated
assert tests.boundariesCheck('Xmax','Xmin','Ymax','Ymin','Zmax','Zmin','boundary','a string unlikely to be a boundary name','XmaxYmax','XmaxYmin','XmaxZmax','XmaxZmin','XminYmax','XminYmin','XminZmax','XminZmin','YmaxZmax','YmaxZmin','YminZmax','YminZmin','a string unlikely to be a boundary name','XmaxYmaxZmax','XmaxYmaxZmin','XmaxYminZmax','XmaxYminZmin','XminYmaxZmax','XminYmaxZmin','XminYminZmax','XminYminZmin')
assert tests.boundariesSelectedCheck('boundary')
assert tests.voxelSelectionPageStatusCheck('boundary', 'Face', 28)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
checkpoint OOF.Skeleton.Boundary.Construct
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 1.4400000000000e+02)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:New').clicked()
checkpoint toplevel widget mapped Dialog-New Boundary
findWidget('Dialog-New Boundary').resize(368, 153)
setComboBox(findWidget('Dialog-New Boundary:constructor:Face boundary from faces:direction'), '+X to -X')
assert tests.BoundaryNewDialogCheckGroup0('Face boundary from faces','<selection>','red_box','foreign_box',)
assert tests.BoundaryNewDialogCheckScope0('Face boundary from faces','direction','-X to +X','+X to -X','-Y to +Y','+Y to -Y','-Z to +Z','+Z to -Z',)
assert tests.BoundaryNewDialogCheck1('Face boundary from faces','<selection>','direction','+X to -X')
findWidget('Dialog-New Boundary:gtk-ok').clicked()
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 1.4400000000000e+02)
checkpoint boundary page updated
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
checkpoint OOF.Skeleton.Boundary.Construct
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 1.6800000000000e+02)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:New').clicked()
checkpoint toplevel widget mapped Dialog-New Boundary
findWidget('Dialog-New Boundary').resize(368, 153)
setComboBox(findWidget('Dialog-New Boundary:constructor:Face boundary from faces:direction'), '+Y to -Y')
assert tests.BoundaryNewDialogCheckGroup0('Face boundary from faces','<selection>','red_box','foreign_box',)
assert tests.BoundaryNewDialogCheckScope0('Face boundary from faces','direction','-X to +X','+X to -X','-Y to +Y','+Y to -Y','-Z to +Z','+Z to -Z',)
assert tests.BoundaryNewDialogCheck1('Face boundary from faces','<selection>','direction','+Y to -Y')
findWidget('Dialog-New Boundary:gtk-ok').clicked()
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 1.6800000000000e+02)
checkpoint boundary page updated
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
checkpoint OOF.Skeleton.Boundary.Construct
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 1.9200000000000e+02)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:New').clicked()
checkpoint toplevel widget mapped Dialog-New Boundary
findWidget('Dialog-New Boundary').resize(368, 153)
setComboBox(findWidget('Dialog-New Boundary:constructor:Face boundary from faces:direction'), '-Y to +Y')
assert tests.BoundaryNewDialogCheckGroup0('Face boundary from faces','<selection>','red_box','foreign_box',)
assert tests.BoundaryNewDialogCheckScope0('Face boundary from faces','direction','-X to +X','+X to -X','-Y to +Y','+Y to -Y','-Z to +Z','+Z to -Z',)
assert tests.BoundaryNewDialogCheck1('Face boundary from faces','<selection>','direction','-Y to +Y')
findWidget('Dialog-New Boundary:gtk-ok').clicked()
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 1.9200000000000e+02)
checkpoint boundary page updated
checkpoint boundary page updated
checkpoint OOF.Skeleton.Boundary.Construct
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.1600000000000e+02)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:New').clicked()
checkpoint toplevel widget mapped Dialog-New Boundary
findWidget('Dialog-New Boundary').resize(368, 153)
setComboBox(findWidget('Dialog-New Boundary:constructor:Face boundary from faces:direction'), '+Z to -Z')
assert tests.BoundaryNewDialogCheckGroup0('Face boundary from faces','<selection>','red_box','foreign_box',)
assert tests.BoundaryNewDialogCheckScope0('Face boundary from faces','direction','-X to +X','+X to -X','-Y to +Y','+Y to -Y','-Z to +Z','+Z to -Z',)
assert tests.BoundaryNewDialogCheck1('Face boundary from faces','<selection>','direction','+Z to -Z')
findWidget('Dialog-New Boundary:gtk-ok').clicked()
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.1600000000000e+02)
checkpoint boundary page updated
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
checkpoint OOF.Skeleton.Boundary.Construct
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+02)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:New').clicked()
checkpoint toplevel widget mapped Dialog-New Boundary
findWidget('Dialog-New Boundary').resize(368, 153)
setComboBox(findWidget('Dialog-New Boundary:constructor:Face boundary from faces:direction'), '-Z to +Z')
assert tests.BoundaryNewDialogCheckGroup0('Face boundary from faces','<selection>','red_box','foreign_box',)
assert tests.BoundaryNewDialogCheckScope0('Face boundary from faces','direction','-X to +X','+X to -X','-Y to +Y','+Y to -Y','-Z to +Z','+Z to -Z',)
assert tests.BoundaryNewDialogCheck1('Face boundary from faces','<selection>','direction','-Z to +Z')
findWidget('Dialog-New Boundary:gtk-ok').clicked()
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+02)
checkpoint boundary page updated
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
checkpoint OOF.Skeleton.Boundary.Construct
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.6400000000000e+02)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 1.1147682119205e+02)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll:BoundaryList').get_selection().select_path((7,))
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 1.1100000000000e+02)
checkpoint boundary page updated
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll:BoundaryList').get_selection().select_path((6,))
checkpoint boundary page updated
checkpoint boundary page updated
setComboBox(findWidget('OOF3D:Navigation:PageMenu'), 'Skeleton Selection')
checkpoint page installed Skeleton Selection
findWidget('OOF3D:Skeleton Selection Page:Pane:Selection:Clear').clicked()
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint OOF.FaceSelection.Clear
checkpoint skeleton selection page updated
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 1.7400000000000e+02,y= 1.8200000000000e+02,button=1,state=16,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.7500000000000e+02,y= 1.8200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.7500000000000e+02,y= 1.8100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.7800000000000e+02,y= 1.7700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.7900000000000e+02,y= 1.7700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.8100000000000e+02,y= 1.7600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.8100000000000e+02,y= 1.7500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.8300000000000e+02,y= 1.7300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.8600000000000e+02,y= 1.7000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.8700000000000e+02,y= 1.7000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.8900000000000e+02,y= 1.6800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.9000000000000e+02,y= 1.6700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.9200000000000e+02,y= 1.6500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.9300000000000e+02,y= 1.6400000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.9500000000000e+02,y= 1.6200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.9600000000000e+02,y= 1.6100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.9700000000000e+02,y= 1.6100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.9700000000000e+02,y= 1.5900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.9700000000000e+02,y= 1.5800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.9800000000000e+02,y= 1.5800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.9800000000000e+02,y= 1.5700000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.9800000000000e+02,y= 1.5600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 1.9800000000000e+02,y= 1.5600000000000e+02,button=1,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
checkpoint OOF.Graphics_1.Settings.Camera.View
setComboBox(findWidget('OOF3D:Skeleton Selection Page:Pane:Selection:FaceAction:Select Group:group'), 'foreign_box')
findWidget('OOF3D:Skeleton Selection Page:Pane:Selection:FaceHistory:OK').clicked()
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.FaceSelection.Select_Group
setComboBox(findWidget('OOF3D:Navigation:PageMenu'), 'Skeleton Boundaries')
checkpoint page installed Skeleton Boundaries
assert tests.boundariesCheck('Xmax','Xmin','Ymax','Ymin','Zmax','Zmin','boundary','boundary<2>','boundary<3>','boundary<4>','boundary<5>','boundary<6>','a string unlikely to be a boundary name','XmaxYmax','XmaxYmin','XmaxZmax','XmaxZmin','XminYmax','XminYmin','XminZmax','XminZmin','YmaxZmax','YmaxZmin','YminZmax','YminZmin','a string unlikely to be a boundary name','XmaxYmaxZmax','XmaxYmaxZmin','XmaxYminZmax','XmaxYminZmin','XminYmaxZmax','XminYmaxZmin','XminYminZmax','XminYminZmin')
assert tests.boundariesSelectedCheck('boundary')
assert tests.voxelSelectionPageStatusCheck('boundary', 'Face', 28)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:Modify').clicked()
assert tests.boundariesSelectedCheck('boundary')
checkpoint toplevel widget mapped Dialog-Boundary modifier
findWidget('Dialog-Boundary modifier').resize(261, 75)
findWidget('Dialog-Boundary modifier:gtk-ok').clicked()
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 1.4400000000000e+02)
checkpoint OOF.Skeleton.Boundary.Modify
assert tests.voxelSelectionPageStatusCheck('boundary', 'Face', 28)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:Modify').clicked()
assert tests.boundariesSelectedCheck('boundary')
checkpoint toplevel widget mapped Dialog-Boundary modifier
findWidget('Dialog-Boundary modifier').resize(261, 75)
findWidget('Dialog-Boundary modifier:gtk-ok').clicked()
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 1.4400000000000e+02)
checkpoint OOF.Skeleton.Boundary.Modify
assert tests.voxelSelectionPageStatusCheck('boundary', 'Face', 28)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:Modify').clicked()
assert tests.boundariesSelectedCheck('boundary')
assert tests.BoundaryModifyDialogCheckModifiers0()
checkpoint toplevel widget mapped Dialog-Boundary modifier
findWidget('Dialog-Boundary modifier').resize(261, 75)
setComboBox(findWidget('Dialog-Boundary modifier:modifier:Chooser'), 'Add faces')
assert tests.BoundaryModifyDialogCheckModifierGroups0('Add faces','<selection>','red_box','foreign_box')
assert tests.BoundaryModifyDialogSelectModifierGroup0('Add faces','<selection>')
assert tests.voxelSelectionPageStatusCheck('boundary', 'Face', 28)
findWidget('Dialog-Boundary modifier').resize(285, 103)
findWidget('Dialog-Boundary modifier:gtk-ok').clicked()
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 1.4400000000000e+02)
checkpoint OOF.Skeleton.Boundary.Modify
assert tests.voxelSelectionPageStatusCheck('boundary', 'Face', 48)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll:BoundaryList').get_selection().select_path((7,))
checkpoint boundary page updated
checkpoint boundary page updated
assert tests.boundariesSelectedCheck('boundary<2>')
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:Modify').clicked()
checkpoint toplevel widget mapped Dialog-Boundary modifier
findWidget('Dialog-Boundary modifier').resize(285, 103)
setComboBox(findWidget('Dialog-Boundary modifier:modifier:Chooser'), 'Reverse direction')
assert tests.BoundaryModifyDialogCheckModifierGroups0('Reverse direction')
findWidget('Dialog-Boundary modifier:gtk-ok').clicked()
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 1.6800000000000e+02)
checkpoint OOF.Skeleton.Boundary.Modify
assert tests.voxelSelectionPageStatusCheck('boundary<2>', 'Face', 28)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:Modify').clicked()
checkpoint toplevel widget mapped Dialog-Boundary modifier
findWidget('Dialog-Boundary modifier').resize(261, 75)
findWidget('Dialog-Boundary modifier:gtk-ok').clicked()
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 1.6800000000000e+02)
checkpoint OOF.Skeleton.Boundary.Modify
assert tests.voxelSelectionPageStatusCheck('boundary<2>', 'Face', 28)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:Modify').clicked()
checkpoint toplevel widget mapped Dialog-Boundary modifier
findWidget('Dialog-Boundary modifier').resize(261, 75)
setComboBox(findWidget('Dialog-Boundary modifier:modifier:Chooser'), 'Add faces')
assert tests.BoundaryModifyDialogCheckModifierGroups0('Add faces','<selection>','red_box','foreign_box')
assert tests.BoundaryModifyDialogSelectModifierGroup0('Add faces','<selection>')
findWidget('Dialog-Boundary modifier').resize(285, 103)
findWidget('Dialog-Boundary modifier:gtk-ok').clicked()
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 1.6800000000000e+02)
checkpoint OOF.Skeleton.Boundary.Modify
assert tests.voxelSelectionPageStatusCheck('boundary<2>', 'Face', 48)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll:BoundaryList').get_selection().select_path((8,))
checkpoint boundary page updated
checkpoint boundary page updated
assert tests.boundariesSelectedCheck('boundary<3>')
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:Modify').clicked()
checkpoint toplevel widget mapped Dialog-Boundary modifier
findWidget('Dialog-Boundary modifier').resize(285, 103)
setComboBox(findWidget('Dialog-Boundary modifier:modifier:Chooser'), 'Reverse direction')
assert tests.BoundaryModifyDialogCheckModifierGroups0('Reverse direction')
findWidget('Dialog-Boundary modifier:gtk-ok').clicked()
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 1.9200000000000e+02)
checkpoint OOF.Skeleton.Boundary.Modify
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:Modify').clicked()
checkpoint toplevel widget mapped Dialog-Boundary modifier
findWidget('Dialog-Boundary modifier').resize(261, 75)
findWidget('Dialog-Boundary modifier:gtk-ok').clicked()
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 1.9200000000000e+02)
checkpoint OOF.Skeleton.Boundary.Modify
assert tests.voxelSelectionPageStatusCheck('boundary<3>', 'Face', 28)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:Modify').clicked()
checkpoint toplevel widget mapped Dialog-Boundary modifier
findWidget('Dialog-Boundary modifier').resize(261, 75)
setComboBox(findWidget('Dialog-Boundary modifier:modifier:Chooser'), 'Add faces')
assert tests.BoundaryModifyDialogCheckModifierGroups0('Add faces','<selection>','red_box','foreign_box')
assert tests.BoundaryModifyDialogSelectModifierGroup0('Add faces','<selection>')
findWidget('Dialog-Boundary modifier').resize(285, 103)
findWidget('Dialog-Boundary modifier:gtk-ok').clicked()
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 1.9200000000000e+02)
checkpoint OOF.Skeleton.Boundary.Modify
assert tests.voxelSelectionPageStatusCheck('boundary<3>', 'Face', 48)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll:BoundaryList').get_selection().select_path((9,))
checkpoint boundary page updated
checkpoint boundary page updated
assert tests.boundariesSelectedCheck('boundary<4>')
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:Modify').clicked()
checkpoint toplevel widget mapped Dialog-Boundary modifier
findWidget('Dialog-Boundary modifier').resize(285, 103)
setComboBox(findWidget('Dialog-Boundary modifier:modifier:Chooser'), 'Reverse direction')
assert tests.BoundaryModifyDialogCheckModifierGroups0('Reverse direction')
findWidget('Dialog-Boundary modifier:gtk-ok').clicked()
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.1600000000000e+02)
checkpoint OOF.Skeleton.Boundary.Modify
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:Modify').clicked()
checkpoint toplevel widget mapped Dialog-Boundary modifier
findWidget('Dialog-Boundary modifier').resize(261, 75)
findWidget('Dialog-Boundary modifier:gtk-ok').clicked()
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.1600000000000e+02)
checkpoint OOF.Skeleton.Boundary.Modify
assert tests.voxelSelectionPageStatusCheck('boundary<4>', 'Face', 28)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:Modify').clicked()
checkpoint toplevel widget mapped Dialog-Boundary modifier
findWidget('Dialog-Boundary modifier').resize(261, 75)
setComboBox(findWidget('Dialog-Boundary modifier:modifier:Chooser'), 'Add faces')
assert tests.BoundaryModifyDialogCheckModifierGroups0('Add faces','<selection>','red_box','foreign_box')
assert tests.BoundaryModifyDialogSelectModifierGroup0('Add faces','<selection>')
findWidget('Dialog-Boundary modifier').resize(285, 103)
findWidget('Dialog-Boundary modifier:gtk-ok').clicked()
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.1600000000000e+02)
checkpoint OOF.Skeleton.Boundary.Modify
assert tests.voxelSelectionPageStatusCheck('boundary<4>', 'Face', 48)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll:BoundaryList').get_selection().select_path((10,))
checkpoint boundary page updated
checkpoint boundary page updated
assert tests.boundariesSelectedCheck('boundary<5>')
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:Modify').clicked()
checkpoint toplevel widget mapped Dialog-Boundary modifier
findWidget('Dialog-Boundary modifier').resize(285, 103)
setComboBox(findWidget('Dialog-Boundary modifier:modifier:Chooser'), 'Reverse direction')
assert tests.BoundaryModifyDialogCheckModifierGroups0('Reverse direction')
findWidget('Dialog-Boundary modifier:gtk-ok').clicked()
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+02)
checkpoint OOF.Skeleton.Boundary.Modify
assert tests.voxelSelectionPageStatusCheck('boundary<5>', 'Face', 28)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:Modify').clicked()
checkpoint toplevel widget mapped Dialog-Boundary modifier
findWidget('Dialog-Boundary modifier').resize(261, 75)
findWidget('Dialog-Boundary modifier:gtk-ok').clicked()
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+02)
checkpoint OOF.Skeleton.Boundary.Modify
assert tests.voxelSelectionPageStatusCheck('boundary<5>', 'Face', 28)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:Modify').clicked()
checkpoint toplevel widget mapped Dialog-Boundary modifier
findWidget('Dialog-Boundary modifier').resize(261, 75)
setComboBox(findWidget('Dialog-Boundary modifier:modifier:Chooser'), 'Add faces')
assert tests.BoundaryModifyDialogCheckModifierGroups0('Add faces','<selection>','red_box','foreign_box')
assert tests.BoundaryModifyDialogSelectModifierGroup0('Add faces','<selection>')
findWidget('Dialog-Boundary modifier').resize(285, 103)
findWidget('Dialog-Boundary modifier:gtk-ok').clicked()
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+02)
checkpoint OOF.Skeleton.Boundary.Modify
assert tests.voxelSelectionPageStatusCheck('boundary<5>', 'Face', 48)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll:BoundaryList').get_selection().select_path((11,))
checkpoint boundary page updated
checkpoint boundary page updated
assert tests.boundariesSelectedCheck('boundary<6>')
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:Modify').clicked()
checkpoint toplevel widget mapped Dialog-Boundary modifier
findWidget('Dialog-Boundary modifier').resize(285, 103)
setComboBox(findWidget('Dialog-Boundary modifier:modifier:Chooser'), 'Reverse direction')
assert tests.BoundaryModifyDialogCheckModifierGroups0('Reverse direction')
findWidget('Dialog-Boundary modifier:gtk-ok').clicked()
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.6400000000000e+02)
checkpoint OOF.Skeleton.Boundary.Modify
assert tests.voxelSelectionPageStatusCheck('boundary<6>', 'Face', 28)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:Modify').clicked()
checkpoint toplevel widget mapped Dialog-Boundary modifier
findWidget('Dialog-Boundary modifier').resize(261, 75)
findWidget('Dialog-Boundary modifier:gtk-ok').clicked()
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.6400000000000e+02)
checkpoint OOF.Skeleton.Boundary.Modify
assert tests.voxelSelectionPageStatusCheck('boundary<6>', 'Face', 28)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:Modify').clicked()
checkpoint toplevel widget mapped Dialog-Boundary modifier
findWidget('Dialog-Boundary modifier').resize(261, 75)
setComboBox(findWidget('Dialog-Boundary modifier:modifier:Chooser'), 'Add faces')
assert tests.BoundaryModifyDialogCheckModifierGroups0('Add faces','<selection>','red_box','foreign_box')
assert tests.BoundaryModifyDialogSelectModifierGroup0('Add faces','<selection>')
findWidget('Dialog-Boundary modifier').resize(285, 103)
findWidget('Dialog-Boundary modifier:gtk-ok').clicked()
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.6400000000000e+02)
checkpoint OOF.Skeleton.Boundary.Modify
assert tests.voxelSelectionPageStatusCheck('boundary<6>', 'Face', 48)
setComboBox(findWidget('OOF3D:Navigation:PageMenu'), 'Skeleton Selection')
checkpoint page installed Skeleton Selection
findWidget('OOF3D:Skeleton Selection Page:Pane:Selection:Clear').clicked()
checkpoint skeleton selection page selection sensitized
checkpoint OOF.FaceSelection.Clear
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
setComboBox(findWidget('OOF3D:Navigation:PageMenu'), 'Skeleton Boundaries')
checkpoint page installed Skeleton Boundaries
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.5531788079470e+02)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 8.6304635761589e+01)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll:BoundaryList').get_selection().select_path((6,))
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 8.6000000000000e+01)
checkpoint boundary page updated
checkpoint boundary page updated
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 2.1900000000000e+02,y= 2.5700000000000e+02,button=1,state=16,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.2000000000000e+02,y= 2.5600000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.2100000000000e+02,y= 2.5500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.2500000000000e+02,y= 2.5300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.2600000000000e+02,y= 2.5300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.2900000000000e+02,y= 2.4900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.3000000000000e+02,y= 2.4800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.3500000000000e+02,y= 2.4300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.3600000000000e+02,y= 2.4300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.4000000000000e+02,y= 2.4200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.4000000000000e+02,y= 2.4100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.4500000000000e+02,y= 2.3900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 2.4500000000000e+02,y= 2.3900000000000e+02,button=1,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
checkpoint OOF.Graphics_1.Settings.Camera.View
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
findWidget('OOF3D Graphics 1:Pane0:Pane2:select').clicked()
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 2.7100000000000e+02,y= 4.2900000000000e+02,button=1,state=16,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 2.7100000000000e+02,y= 4.2900000000000e+02,button=1,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 2.7300000000000e+02,y= 4.9600000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 2.7300000000000e+02,y= 4.9600000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:Modify').clicked()
assert tests.boundariesSelectedCheck('boundary')
checkpoint toplevel widget mapped Dialog-Boundary modifier
findWidget('Dialog-Boundary modifier').resize(285, 103)
setComboBox(findWidget('Dialog-Boundary modifier:modifier:Chooser'), 'Remove faces')
assert tests.BoundaryModifyDialogCheckModifierGroups0('Remove faces','<selection>','red_box','foreign_box')
assert tests.BoundaryModifyDialogSelectModifierGroup0('Remove faces','<selection>')
findWidget('Dialog-Boundary modifier:gtk-ok').clicked()
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 1.4400000000000e+02)
checkpoint OOF.Skeleton.Boundary.Modify
assert tests.voxelSelectionPageStatusCheck('boundary', 'Face', 46)
findWidget('OOF3D Graphics 1:Pane0:Pane2:ToolboxFrame:TBScroll:Skeleton Selection:Face:Clear').clicked()
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Clear
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll:BoundaryList').get_selection().select_path((7,))
checkpoint boundary page updated
checkpoint boundary page updated
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 2.9700000000000e+02,y= 4.4300000000000e+02,button=1,state=16,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 2.9700000000000e+02,y= 4.4300000000000e+02,button=1,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 2.8300000000000e+02,y= 4.8600000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 2.8300000000000e+02,y= 4.8600000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 3.5000000000000e+02,y= 5.2000000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 3.5000000000000e+02,y= 5.2000000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 3.8600000000000e+02,y= 4.9200000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 3.8600000000000e+02,y= 4.9200000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 3.2700000000000e+02,y= 3.9900000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 3.2700000000000e+02,y= 3.9900000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 3.8300000000000e+02,y= 4.2500000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 3.8300000000000e+02,y= 4.2500000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 4.2600000000000e+02,y= 4.3600000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 4.2600000000000e+02,y= 4.3600000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 4.1700000000000e+02,y= 3.8300000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 4.1700000000000e+02,y= 3.8300000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 4.5000000000000e+02,y= 4.8200000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 4.5000000000000e+02,y= 4.8200000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 4.5000000000000e+02,y= 5.2800000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 4.5000000000000e+02,y= 5.2800000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
findWidget('OOF3D Graphics 1:Pane0:Pane2:tumble').clicked()
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 2.4100000000000e+02,y= 2.2100000000000e+02,button=1,state=16,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.4100000000000e+02,y= 2.2000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.4200000000000e+02,y= 2.2000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.4600000000000e+02,y= 2.1200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.4700000000000e+02,y= 2.0900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.5100000000000e+02,y= 2.0100000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.5200000000000e+02,y= 2.0000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.5300000000000e+02,y= 1.9800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.5500000000000e+02,y= 1.9400000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.5600000000000e+02,y= 1.9300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.5800000000000e+02,y= 1.9000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.5900000000000e+02,y= 1.8900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.6200000000000e+02,y= 1.8000000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.6200000000000e+02,y= 1.7900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.6400000000000e+02,y= 1.7300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.6500000000000e+02,y= 1.7300000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.6600000000000e+02,y= 1.6900000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.6600000000000e+02,y= 1.6800000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.6700000000000e+02,y= 1.6500000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 2.6700000000000e+02,y= 1.6400000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 2.6700000000000e+02,y= 1.6400000000000e+02,button=1,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
checkpoint OOF.Graphics_1.Settings.Camera.View
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
findWidget('OOF3D Graphics 1:Pane0:Pane2:select').clicked()
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 4.3900000000000e+02,y= 1.7700000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 4.3900000000000e+02,y= 1.7700000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 4.3000000000000e+02,y= 2.1500000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 4.3000000000000e+02,y= 2.1500000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 4.3000000000000e+02,y= 2.9500000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 4.3000000000000e+02,y= 2.9500000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 4.7500000000000e+02,y= 3.2900000000000e+02,button=1,state=17,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 4.7500000000000e+02,y= 3.2900000000000e+02,button=1,state=273,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Single_Face
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
findWidget('OOF3D Graphics 1:Pane0:Pane2:tumble').clicked()
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 4.2900000000000e+02,y= 2.8100000000000e+02,button=1,state=16,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 4.2900000000000e+02,y= 2.8200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 3.4400000000000e+02,y= 3.8200000000000e+02,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 3.4400000000000e+02,y= 3.8200000000000e+02,button=1,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
checkpoint OOF.Graphics_1.Settings.Camera.View
assert tests.boundariesSelectedCheck('boundary<2>')
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:Modify').clicked()
assert tests.BoundaryModifyDialogCheckModifierGroups0('Remove faces','<selection>','red_box','foreign_box')
assert tests.BoundaryModifyDialogSelectModifierGroup0('Remove faces','<selection>')
checkpoint toplevel widget mapped Dialog-Boundary modifier
findWidget('Dialog-Boundary modifier').resize(285, 103)
findWidget('Dialog-Boundary modifier:gtk-ok').clicked()
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 1.6800000000000e+02)
checkpoint OOF.Skeleton.Boundary.Modify
assert tests.voxelSelectionPageStatusCheck('boundary<2>', 'Face', 34)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll:BoundaryList').get_selection().select_path((8,))
checkpoint boundary page updated
checkpoint boundary page updated
assert tests.boundariesSelectedCheck('boundary<3>')
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:Modify').clicked()
assert tests.BoundaryModifyDialogCheckModifierGroups0('Remove faces','<selection>','red_box','foreign_box')
assert tests.BoundaryModifyDialogSelectModifierGroup0('Remove faces','<selection>')
checkpoint toplevel widget mapped Dialog-Boundary modifier
findWidget('Dialog-Boundary modifier').resize(285, 103)
findWidget('Dialog-Boundary modifier:gtk-ok').clicked()
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 1.9200000000000e+02)
checkpoint OOF.Skeleton.Boundary.Modify
assert tests.voxelSelectionPageStatusCheck('boundary<3>', 'Face', 34)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll:BoundaryList').get_selection().select_path((9,))
checkpoint boundary page updated
checkpoint boundary page updated
assert tests.boundariesSelectedCheck('boundary<4>')
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:Modify').clicked()
assert tests.BoundaryModifyDialogCheckModifierGroups0('Remove faces','<selection>','red_box','foreign_box')
assert tests.BoundaryModifyDialogSelectModifierGroup0('Remove faces','<selection>')
checkpoint toplevel widget mapped Dialog-Boundary modifier
findWidget('Dialog-Boundary modifier').resize(285, 103)
findWidget('Dialog-Boundary modifier:gtk-ok').clicked()
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.1600000000000e+02)
checkpoint OOF.Skeleton.Boundary.Modify
assert tests.voxelSelectionPageStatusCheck('boundary<4>', 'Face', 34)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll:BoundaryList').get_selection().select_path((10,))
checkpoint boundary page updated
checkpoint boundary page updated
assert tests.boundariesSelectedCheck('boundary<5>')
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:Modify').clicked()
assert tests.BoundaryModifyDialogCheckModifierGroups0('Remove faces','<selection>','red_box','foreign_box')
assert tests.BoundaryModifyDialogSelectModifierGroup0('Remove faces','<selection>')
checkpoint toplevel widget mapped Dialog-Boundary modifier
findWidget('Dialog-Boundary modifier').resize(285, 103)
findWidget('Dialog-Boundary modifier:gtk-ok').clicked()
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+02)
checkpoint OOF.Skeleton.Boundary.Modify
assert tests.voxelSelectionPageStatusCheck('boundary<5>', 'Face', 34)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll:BoundaryList').get_selection().select_path((11,))
checkpoint boundary page updated
checkpoint boundary page updated
assert tests.boundariesSelectedCheck('boundary<6>')
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:Modify').clicked()
assert tests.BoundaryModifyDialogCheckModifierGroups0('Remove faces','<selection>','red_box','foreign_box')
assert tests.BoundaryModifyDialogSelectModifierGroup0('Remove faces','<selection>')
checkpoint toplevel widget mapped Dialog-Boundary modifier
findWidget('Dialog-Boundary modifier').resize(285, 103)
findWidget('Dialog-Boundary modifier:gtk-ok').clicked()
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.6400000000000e+02)
checkpoint OOF.Skeleton.Boundary.Modify
assert tests.voxelSelectionPageStatusCheck('boundary<6>', 'Face', 34)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.5891390728477e+02)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 9.7092715231788e+01)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll:BoundaryList').get_selection().select_path((6,))
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 9.7000000000000e+01)
checkpoint boundary page updated
checkpoint boundary page updated
assert tests.boundariesSelectedCheck('boundary')
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:Modify').clicked()
assert tests.BoundaryModifyDialogCheckModifierGroups0('Remove faces','<selection>','red_box','foreign_box')
assert tests.BoundaryModifyDialogSelectModifierGroup0('Remove faces','<selection>')
checkpoint toplevel widget mapped Dialog-Boundary modifier
findWidget('Dialog-Boundary modifier').resize(285, 103)
findWidget('Dialog-Boundary modifier:gtk-ok').clicked()
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 2.4000000000000e+01)
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll').get_vadjustment().set_value( 1.4400000000000e+02)
checkpoint OOF.Skeleton.Boundary.Modify
assert tests.voxelSelectionPageStatusCheck('boundary', 'Face', 34)
findWidget('OOF3D Graphics 1:Pane0:Pane2:ToolboxFrame:TBScroll:Skeleton Selection:Face:Clear').clicked()
checkpoint skeleton selection page selection sensitized
checkpoint skeleton selection page groups sensitized
checkpoint skeleton selection page updated
checkpoint OOF.Graphics_1.Toolbox.Select_Face.Clear
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 1.6400000000000e+02,y= 7.6000000000000e+01,button=1,state=16,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.6500000000000e+02,y= 7.6000000000000e+01,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.MOTION_NOTIFY,x= 1.9900000000000e+02,y= 8.0000000000000e+01,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
window = findOOFWindow('Graphics_1')
oldsize = window.setCanvasSize(614, 671)
canvasobj = findCanvasDrawingArea(findWidget('OOF3D Graphics 1:Pane0:Pane2:Canvas'), windowname='Graphics_1')
canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 2.0700000000000e+02,y= 8.2000000000000e+01,button=1,state=272,window=findCanvasGdkWindow('Graphics_1')))
window.setCanvasSize(oldsize[0], oldsize[1])
findWidget('OOF3D Graphics 1:Pane0:Pane2').size_allocate(gtk.gdk.Rectangle(0, 29, 1000, 705))
checkpoint OOF.Graphics_1.Settings.Camera.View
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll:BoundaryList').get_selection().select_path((7,))
checkpoint boundary page updated
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll:BoundaryList').get_selection().select_path((8,))
checkpoint boundary page updated
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll:BoundaryList').get_selection().select_path((9,))
checkpoint boundary page updated
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll:BoundaryList').get_selection().select_path((10,))
checkpoint boundary page updated
checkpoint boundary page updated
findWidget('OOF3D:Skeleton Boundaries Page:Pane:Boundaries:BoundaryListScroll:BoundaryList').get_selection().select_path((11,))
checkpoint boundary page updated
checkpoint boundary page updated
findMenu(findWidget('OOF3D:MenuBar'), 'File:Save:Python_Log').activate()
checkpoint toplevel widget mapped Dialog-Python_Log
findWidget('Dialog-Python_Log').resize(190, 95)
findWidget('Dialog-Python_Log:filename').set_text('boundary.log')
findWidget('Dialog-Python_Log:gtk-ok').clicked()
checkpoint OOF.File.Save.Python_Log
assert tests.filediff('boundary.log')
widget_0=findWidget('OOF3D')
handled_0=widget_0.event(event(gtk.gdk.DELETE,window=widget_0.window))
| 74.091541
| 488
| 0.806906
| 38,017
| 298,663
| 6.260331
| 0.012047
| 0.097072
| 0.041235
| 0.070589
| 0.985971
| 0.982218
| 0.980046
| 0.978672
| 0.975517
| 0.974286
| 0
| 0.116722
| 0.052655
| 298,663
| 4,030
| 489
| 74.109926
| 0.724451
| 0.003733
| 0
| 0.824881
| 0
| 0
| 0.209831
| 0.021383
| 0
| 0
| 0
| 0
| 0.024232
| 0
| null | null | 0
| 0.00025
| null | null | 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
c5ae6d17d37a3f848e74418a4a9690bb1e97e631
| 19,961
|
py
|
Python
|
testsuite/implementations/test_speed_optimized_functions.py
|
freingruber/JavaScript-Raider
|
d1c1fff2fcfc60f210b93dbe063216fa1a83c1d0
|
[
"Apache-2.0"
] | 91
|
2022-01-24T07:32:34.000Z
|
2022-03-31T23:37:15.000Z
|
testsuite/implementations/test_speed_optimized_functions.py
|
zeusguy/JavaScript-Raider
|
d1c1fff2fcfc60f210b93dbe063216fa1a83c1d0
|
[
"Apache-2.0"
] | null | null | null |
testsuite/implementations/test_speed_optimized_functions.py
|
zeusguy/JavaScript-Raider
|
d1c1fff2fcfc60f210b93dbe063216fa1a83c1d0
|
[
"Apache-2.0"
] | 11
|
2022-01-24T14:21:12.000Z
|
2022-03-31T23:37:23.000Z
|
# Copyright 2022 @ReneFreingruber
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import config as cfg
import utils
import native_code.speed_optimized_functions as speed_optimized_functions
import testsuite.testsuite_helpers as helper
def test_speed_optimized_functions():
utils.msg("\n")
utils.msg("[i] " + "-" * 100)
utils.msg("[i] Going to start speed optimized functions tests...")
helper.reset_stats()
# Get the next "{" starting symbol
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string("foobar{ xxx };", "{")
helper.assert_int_value_equals(ret, 6, "Returned index for { is wrong")
# Since there is no "{" symbol, it should return -1
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string("foobar xxx };", "{")
helper.assert_int_value_equals(ret, -1, "Return value should be -1 because there is no { symbol")
# Query the next "}" symbol, but it ignores "inner blocks". Since the "}" from the code is
# from the block "{xxx }", it will be ignored and -1 should be returned
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string("foobar{xxx };", "}")
helper.assert_int_value_equals(ret, -1, "Returned value should be -1 because there is no un-opened } symbol.")
# Let's consider this (simplified) code:
# for {
# if { blabla }
# else { foobar
# }
# xxxxx
# }
# SomeOtherCode;
#
# And then consider that the current position is after the "for {" line (it was already parsed)
# In this case it should return the index of the last "}" symbol if I query for "}"
code = " if { blabla }\nelse { foobar\n}\nxxxxx\n}\nSomeOtherCode;"
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string(code, "}")
helper.assert_int_value_equals(ret, 42, "Returned value is wrong.")
symbol = code[ret]
helper.assert_string_value_equals(symbol, "}", "Returned value is wrong.")
# Since the "{" symbol is within a string, it should return -1
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string("var x = 'foobar{xxx };'", '{')
helper.assert_int_value_equals(ret, -1, "Returned value is wrong.")
# Same as above, but now I add a "{" after the string "{"
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string("var x = 'foobar{xxx };'; if { bla }", '{')
helper.assert_int_value_equals(ret, 28, "Returned value is wrong.")
# Again, but now with another { afterwards (make sure the code always checks for the first one
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string("var x = 'foobar{xxx };'; if { bla } else { xyz }", '{')
helper.assert_int_value_equals(ret, 28, "Returned value is wrong.")
# Now with an ending }
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string("var x = 'foobar{xxx };'; if {", '{')
helper.assert_int_value_equals(ret, 29, "Returned value is wrong.")
# And now the same if the "}" is missing within the script
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string("var x = 'foobar{xxx;'; if {", '{')
helper.assert_int_value_equals(ret, 26, "Returned value is wrong.")
# And now with a "}" inside a string:
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string("var x = 'foobar}xxx;'; if {", '{')
helper.assert_int_value_equals(ret, 26, "Returned value is wrong.")
# Now with { only within a string but use " as string symbol
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('var x = "foobar{xxx };"', '{')
helper.assert_int_value_equals(ret, -1, "Returned value is wrong.")
# And now with a result after the string:
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('var x = "foobar{xxx };"; if { bla } else { xyz }', '{')
helper.assert_int_value_equals(ret, 28, "Returned value is wrong.")
# Now with { only within a string but use ` as string symbol
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('var x = `foobar{xxx };`', '{')
helper.assert_int_value_equals(ret, -1, "Returned value is wrong.")
# And now with a result after the string:
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('var x = `foobar{xxx };`; if { bla } else { xyz }', '{')
helper.assert_int_value_equals(ret, 28, "Returned value is wrong.")
# Now some basic tests for the "(" symbol:
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('bblablaba { } { [][ / ,,",', "(")
helper.assert_int_value_equals(ret, -1, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('bblabl)aba { } { [][ / ,,",', "(")
helper.assert_int_value_equals(ret, -1, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('var x = "foobar"; someFunctionCall(1,2,3); someOtherCall(1);', '(')
helper.assert_int_value_equals(ret, 34, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('var x = "foo(bar"; someFunctionCall(1,2,3); someOtherCall(1);', '(')
helper.assert_int_value_equals(ret, 35, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('var x = "foob)ar"; someFunctionCall(1,2,3)', '(')
helper.assert_int_value_equals(ret, 35, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('var x = "fo(obar)"; someFunctionCall(1,2,3); someOtherCall(1);', '(')
helper.assert_int_value_equals(ret, 36, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('bblabl) xyz ()', "(")
helper.assert_int_value_equals(ret, 12, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('(bblabl) xyz ()', "(")
helper.assert_int_value_equals(ret, 0, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('(', "(")
helper.assert_int_value_equals(ret, 0, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string(' (', "(")
helper.assert_int_value_equals(ret, 1, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string(')(', "(")
helper.assert_int_value_equals(ret, 1, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('()(', "(")
helper.assert_int_value_equals(ret, 0, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string(')((', "(")
helper.assert_int_value_equals(ret, 1, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('")"((', "(")
helper.assert_int_value_equals(ret, 3, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('"(")(', "(")
helper.assert_int_value_equals(ret, 4, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('var str1="foo`bar"; var str2="x)`yz"; someFunction(1,2,3);', "(")
helper.assert_int_value_equals(ret, 50, "Returned value is wrong.")
# Check for )
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string(')', ")")
helper.assert_int_value_equals(ret, 0, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('))', ")")
helper.assert_int_value_equals(ret, 0, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string(' )', ")")
helper.assert_int_value_equals(ret, 1, "Returned value is wrong.")
# Should return -1 because the ) belongs to the opening ( and then there is no ) afterwards
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('()', ")")
helper.assert_int_value_equals(ret, -1, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('())', ")")
helper.assert_int_value_equals(ret, 2, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('() )', ")")
helper.assert_int_value_equals(ret, 4, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('() ) ', ")")
helper.assert_int_value_equals(ret, 4, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('() ) )', ")")
helper.assert_int_value_equals(ret, 4, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('() ) ()', ")")
helper.assert_int_value_equals(ret, 4, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('"()" ) ', ")")
helper.assert_int_value_equals(ret, 6, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('"(") ) ', ")")
helper.assert_int_value_equals(ret, 3, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('`(`) ) ', ")")
helper.assert_int_value_equals(ret, 3, "Returned value is wrong.")
# try if the full testcase is a string:
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('"asganag()aslg)"', ")")
helper.assert_int_value_equals(ret, -1, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('"asganaslg)"', ")")
helper.assert_int_value_equals(ret, -1, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string("'asganag()aslg)'", ")")
helper.assert_int_value_equals(ret, -1, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string("'asganaslg)'", ")")
helper.assert_int_value_equals(ret, -1, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string("`asganag()aslg)`", ")")
helper.assert_int_value_equals(ret, -1, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string("`asganaslg)`", ")")
helper.assert_int_value_equals(ret, -1, "Returned value is wrong.")
# Let's now try some malformed testcases, e.g.: in which a string is not closed
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('"() ) ', ")")
helper.assert_int_value_equals(ret, -1, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('`() ) ', ")")
helper.assert_int_value_equals(ret, -1, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string("'() ) ", ")")
helper.assert_int_value_equals(ret, -1, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('someStringBefore"() ) ', ")")
helper.assert_int_value_equals(ret, -1, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('someStringBefore`() ) ', ")")
helper.assert_int_value_equals(ret, -1, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string("someStringBefore'() ) ", ")")
helper.assert_int_value_equals(ret, -1, "Returned value is wrong.")
# Now try an escaped symbol within the string
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string(',foo="xyz\\\"",2,3)xyz', ")")
helper.assert_int_value_equals(ret, 16, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string(',)foo="xyz\\\"",2,3)xyz', ")")
helper.assert_int_value_equals(ret, 1, "Returned value is wrong.")
# Let's now try to combine string characters like " and `
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('"`(`") ) ', ")")
helper.assert_int_value_equals(ret, 5, "Returned value is wrong.")
# Let's now try to see if the function detects if "`" is not the start of a string and just a symbol in the string
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('"`(") ) ', ")")
helper.assert_int_value_equals(ret, 4, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('var str1="foo`bar"; var str2="x)`yz"; someFunction(1,2,3);', ")")
helper.assert_int_value_equals(ret, -1, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('var str1="foo`bar"; var str2="x)`yz"; someFunction(1,2,3), ) ', ")")
helper.assert_int_value_equals(ret, 59, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('var str1="foo`bar"; someFunction(1,2,3), ) ;var str2="x)`yz"; ', ")")
helper.assert_int_value_equals(ret, 41, "Returned value is wrong.")
# Some tests for [
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('var xyz = [1,2,3];', "[")
helper.assert_int_value_equals(ret, 10, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('var xyz = [1,[2,],3];', "[")
helper.assert_int_value_equals(ret, 10, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('var xyz = "[1,2,3]";', "[")
helper.assert_int_value_equals(ret, -1, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string("var xyz = '[1,2,3]';", "[")
helper.assert_int_value_equals(ret, -1, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('var xyz = "[1,2,3]";', "[")
helper.assert_int_value_equals(ret, -1, "Returned value is wrong.")
# Some checks for ]
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('var xyz = [1,2,3] ];', "]")
helper.assert_int_value_equals(ret, 18, "Returned value is wrong.")
# Check if the "incorrect" opening symbol is within a string and is correctly ignored
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('"["];', "]")
helper.assert_int_value_equals(ret, 3, "Returned value is wrong.")
# Checks for /
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('foobar / 123', "/")
helper.assert_int_value_equals(ret, 7, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('foobar "/" 123', "/")
helper.assert_int_value_equals(ret, -1, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('foobar "/" 12/3', "/")
helper.assert_int_value_equals(ret, 13, "Returned value is wrong.")
# Checks for "
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('var str = "foobar"', '"')
helper.assert_int_value_equals(ret, 10, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('var str = \'"foobar"\'', '"')
helper.assert_int_value_equals(ret, -1, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('var str = \'"foo\'bar"', '"')
helper.assert_int_value_equals(ret, 19, "Returned value is wrong.")
# Checks for '
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string("var str = 'foobar'", "'")
helper.assert_int_value_equals(ret, 10, "Returned value is wrong.")
# Checks for `
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('var str = `foobar`', '`')
helper.assert_int_value_equals(ret, 10, "Returned value is wrong.")
# Checks for ,
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('1,2,3);', ',')
helper.assert_int_value_equals(ret, 1, "Returned value is wrong.")
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('someFunction"foo,",2,3);', ',')
helper.assert_int_value_equals(ret, 18, "Returned value is wrong.")
# This one returns -1 because stuff inside ( and ) is not considered because "in the current context"
# there is no ",". E.g. while parsing function arguments and I want to go to the next function argument,
# which is separated via ",", then I need to skip possible function arguments to function calls in arg1
ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('someFunction(1,2,3);', ',')
helper.assert_int_value_equals(ret, -1, "Returned value is wrong.")
# TODO: This is currently wrong and returns -1!
# ret = speed_optimized_functions.get_index_of_next_symbol_not_within_string('someFunction(1,2,3),arg2,arg3)', ',')
# helper.assert_int_value_equals(ret, 19, "Returned value is wrong.")
# Some tests for
testcase = """someCode;
someOtherCode;
foobar"""
ret = speed_optimized_functions.get_line_number_of_offset(testcase, 0)
helper.assert_int_value_equals(ret, 0, "Returned value is wrong.")
ret = speed_optimized_functions.get_line_number_of_offset(testcase, 1)
helper.assert_int_value_equals(ret, 0, "Returned value is wrong.")
ret = speed_optimized_functions.get_line_number_of_offset(testcase, 9)
helper.assert_int_value_equals(ret, 0, "Returned value is wrong.")
ret = speed_optimized_functions.get_line_number_of_offset(testcase, 10)
helper.assert_int_value_equals(ret, 1, "Returned value is wrong.")
ret = speed_optimized_functions.get_line_number_of_offset(testcase, len(testcase))
helper.assert_int_value_equals(ret, 2, "Returned value is wrong.")
ret = speed_optimized_functions.get_line_number_of_offset(testcase, len(testcase)-1)
helper.assert_int_value_equals(ret, 2, "Returned value is wrong.")
ret = speed_optimized_functions.get_line_number_of_offset(testcase, len(testcase)+1)
helper.assert_int_value_equals(ret, -1, "Returned value is wrong.")
ret = speed_optimized_functions.get_line_number_of_offset("", 0)
helper.assert_int_value_equals(ret, 0, "Returned value is wrong.")
ret = speed_optimized_functions.get_line_number_of_offset("", 1)
helper.assert_int_value_equals(ret, -1, "Returned value is wrong.")
# TODO: Per definition I return 0 for a negative index input, but it maybe makes sense
# to change this to -1, but this would require an additional check
# and I never pass a negative number, so it doesn't really matter
ret = speed_optimized_functions.get_line_number_of_offset(testcase, -5)
helper.assert_int_value_equals(ret, 0, "Returned value is wrong.")
utils.msg("[+] SUCCESS: All %d performed speed optimized function-tests worked as expected!" % helper.get_number_performed_tests())
utils.msg("[i] " + "-" * 100)
| 52.94695
| 149
| 0.73333
| 2,920
| 19,961
| 4.647945
| 0.096575
| 0.097996
| 0.159299
| 0.172414
| 0.824565
| 0.818744
| 0.812555
| 0.807324
| 0.80165
| 0.798924
| 0
| 0.013544
| 0.145534
| 19,961
| 376
| 150
| 53.087766
| 0.782188
| 0.151846
| 0
| 0.425641
| 0
| 0.020513
| 0.243166
| 0.0118
| 0
| 0
| 0
| 0.00266
| 0.461538
| 1
| 0.005128
| false
| 0
| 0.020513
| 0
| 0.025641
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
c5c56126e3e2bc50a4c0a02205081ce09bab880f
| 269,905
|
py
|
Python
|
test/search_sfull.py
|
time-track-tool/time-track-tool
|
a1c280f32a7766e460c862633b748fa206256f24
|
[
"MIT"
] | null | null | null |
test/search_sfull.py
|
time-track-tool/time-track-tool
|
a1c280f32a7766e460c862633b748fa206256f24
|
[
"MIT"
] | 1
|
2019-07-03T13:32:38.000Z
|
2019-07-03T13:32:38.000Z
|
test/search_sfull.py
|
time-track-tool/time-track-tool
|
a1c280f32a7766e460c862633b748fa206256f24
|
[
"MIT"
] | 1
|
2019-05-15T16:01:31.000Z
|
2019-05-15T16:01:31.000Z
|
properties = \
[ ( 'absence'
, [ ( 'absence_type'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'first_day'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'last_day'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'user'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'absence_type'
, [ ( 'code'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'cssclass'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'adr_type'
, [ ( 'code'
, ['admin', 'adr_readonly', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'description'
, ['admin', 'adr_readonly', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'typecat'
, ['admin', 'adr_readonly', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'adr_type_cat'
, [ ( 'code'
, ['admin', 'adr_readonly', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'description'
, ['admin', 'adr_readonly', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'type_valid'
, ['admin', 'adr_readonly', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'analysis_result'
, [ ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'area'
, [ ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'artefact'
, [ ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'filename_format'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'auto_wp'
, [ ( 'all_in'
, ['admin', 'hr']
)
, ( 'contract_type'
, ['admin', 'hr']
)
, ( 'duration'
, ['admin', 'hr']
)
, ( 'durations_allowed'
, ['admin', 'hr']
)
, ( 'is_valid'
, ['admin', 'hr']
)
, ( 'name'
, ['admin', 'hr']
)
, ( 'org_location'
, ['admin', 'hr']
)
, ( 'time_project'
, ['admin', 'hr']
)
]
)
, ( 'business_unit'
, [ ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'valid'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'category'
, [ ( 'cert_sw'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'default_part_of'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'ext_trackers'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'nosy'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'prodcat'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'responsible'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'valid'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'contact'
, [ ( 'contact'
, ['admin', 'adr_readonly', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'contact_type'
, ['admin', 'adr_readonly', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'customer'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'description'
, ['admin', 'adr_readonly', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'contact_type'
, [ ( 'description'
, ['admin', 'adr_readonly', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'adr_readonly', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'order'
, ['admin', 'adr_readonly', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'url_template'
, ['admin', 'adr_readonly', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'contract_type'
, [ ( 'description'
, ['admin', 'controlling', 'hr', 'hr-leave-approval', 'hr-vacation']
)
, ( 'group_external'
, ['admin', 'controlling', 'hr', 'hr-leave-approval', 'hr-vacation']
)
, ( 'name'
, ['admin', 'controlling', 'hr', 'hr-leave-approval', 'hr-vacation']
)
, ( 'order'
, ['admin', 'controlling', 'hr', 'hr-leave-approval', 'hr-vacation']
)
]
)
, ( 'cost_center'
, [ ( 'cost_center_group'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'status'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'cost_center_group'
, [ ( 'active'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'responsible'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'cost_center_permission_group'
, [ ( 'cost_center'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'permission_for'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'cost_center_status'
, [ ( 'active'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'customer'
, [ ( 'adr_type'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'affix'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'business_unit'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'city'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'confidential'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'contacts'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'country'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'customer_code'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'files'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'firstname'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'fromaddress'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'function'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'initial'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'is_customer'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'is_supplier'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'is_valid'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'lastname'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'lettertitle'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'lookalike_city'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'lookalike_firstname'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'lookalike_function'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'lookalike_lastname'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'lookalike_street'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'maildomain'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'messages'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'nosy'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'nosygroups'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'postalcode'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'responsible'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'rmafrom'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'salutation'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'street'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'suppclaimfrom'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'title'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'valid'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'customer_agreement'
, [ ( 'customer'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'product'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'daily_record'
, [ ( 'date'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'required_overtime'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'status'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'time_record'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'tr_duration_ok'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'user'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'weekend_allowed'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'daily_record_freeze'
, [ ( 'achieved_hours'
, ["admin", "controlling", "hr", "hr-org-location"]
)
, ( 'balance'
, ["admin", "controlling", "hr", "hr-org-location"]
)
, ( 'date'
, ["admin", "controlling", "hr", "hr-org-location"]
)
, ( 'frozen'
, ["admin", "controlling", "hr", "hr-org-location"]
)
, ( 'month_balance'
, ["admin", "controlling", "hr", "hr-org-location"]
)
, ( 'month_validity_date'
, ["admin", "controlling", "hr", "hr-org-location"]
)
, ( 'user'
, ["admin", "controlling", "hr"]
)
, ( 'validity_date'
, ["admin", "controlling", "hr", "hr-org-location"]
)
, ( 'week_balance'
, ["admin", "controlling", "hr", "hr-org-location"]
)
]
)
, ( 'daily_record_status'
, [ ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'department'
, [ ( 'deputy'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'doc_num'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'manager'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'messages'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'part_of'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'valid_from'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'valid_to'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'doc'
, [ ( 'artefact'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'department'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'doc_category'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'document_nr'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'files'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'link'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'messages'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'nosy'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'product_type'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'reference'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'responsible'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'state_changed_by'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'status'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'title'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'doc_category'
, [ ( 'doc_num'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'valid'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'doc_issue_status'
, [ ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'may_change_state_to'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'need_msg'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'nosy'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'order'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'transitions'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'doc_status'
, [ ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'order'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'rq_link'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'transitions'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'ext_msg'
, [ ( 'ext_id'
, ['admin', 'msgedit', 'msgsync']
)
, ( 'ext_tracker'
, ['admin', 'msgedit', 'msgsync']
)
, ( 'key'
, ['admin', 'msgedit', 'msgsync']
)
, ( 'msg'
, ['admin', 'msgedit', 'msgsync']
)
]
)
, ( 'ext_tracker'
, [ ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'type'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'url_template'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'ext_tracker_state'
, [ ( 'ext_attributes'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'ext_id'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'ext_status'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'ext_tracker'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'issue'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'ext_tracker_type'
, [ ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'order'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'file'
, [ ( 'content'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'type'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'functional_role'
, [ ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name_group'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'rank'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'issue'
, [ ( 'area'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'category'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'closed'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'composed_of'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'confidential'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'cur_est_begin'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'cur_est_end'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'deadline'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'depends'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'doc_issue_status'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'earliest_start'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'effective_prio'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'effort_hours'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'files'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'files_affected'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'fixed_in'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'keywords'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'kind'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'maturity_index'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'messages'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'needs'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'nosy'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'numeric_effort'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'part_of'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'planned_begin'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'planned_end'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'priority'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'release'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'responsible'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'safety_level'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'severity'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'status'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'superseder'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'test_level'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'title'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'it_category'
, [ ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'nosy'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'responsible'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'valid'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'it_int_prio'
, [ ( 'name'
, ['admin', 'it', 'itview', 'sec-incident-nosy', 'sec-incident-responsible']
)
, ( 'order'
, ['admin', 'it', 'itview', 'sec-incident-nosy', 'sec-incident-responsible']
)
]
)
, ( 'it_issue'
, [ ( 'category'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'confidential'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'deadline'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'files'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'int_prio'
, ['admin', 'it', 'itview', 'sec-incident-nosy', 'sec-incident-responsible']
)
, ( 'it_prio'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'it_project'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'it_request_type'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'messages'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'nosy'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'responsible'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'stakeholder'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'status'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'superseder'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'title'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'it_issue_status'
, [ ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'order'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'relaxed'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'transitions'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'it_prio'
, [ ( 'default'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'must_change'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'order'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'it_project'
, [ ( 'category'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'confidential'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'deadline'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'files'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'it_prio'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'messages'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'nosy'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'responsible'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'stakeholder'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'status'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'title'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'it_project_status'
, [ ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'order'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'transitions'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'it_request_type'
, [ ( 'close_immediately'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'log_template'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'order'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'title_regex'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'keyword'
, [ ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'kind'
, [ ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'simple'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'leave_status'
, [ ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'order'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'transitions'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'leave_submission'
, [ ( 'approval_hr'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'comment'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'comment_cancel'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'first_day'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'last_day'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'status'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'time_wp'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'user'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'location'
, [ ( 'address'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'city'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'country'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'domain_part'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'room_prefix'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'valid_from'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'valid_to'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'weekly_hours_fte'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'mailgroup'
, [ ( 'default_nosy'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'nosy'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'msg'
, [ ( 'author'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'content'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'date'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'files'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'header'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'inreplyto'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'keywords'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'messageid'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'recipients'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'subject'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'summary'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'type'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'msg_keyword'
, [ ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'org_group'
, [ ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'org_location'
, [ ( 'do_auto_wp'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'do_leave_process'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'location'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'organisation'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'phone'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'sap_lifnr'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'vac_aliq'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'vacation_legal_year'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'vacation_yearly'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'valid_from'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'valid_to'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'organisation'
, [ ( 'company_code'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'mail_domain'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'may_purchase'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'messages'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'org_group'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'valid_from'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'valid_to'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'overtime_correction'
, [ ( 'comment'
, ['admin', 'controlling', 'hr', 'hr-org-location']
)
, ( 'date'
, ['admin', 'controlling', 'hr', 'hr-org-location']
)
, ( 'user'
, ['admin', 'controlling', 'hr']
)
, ( 'value'
, ['admin', 'controlling', 'hr', 'hr-org-location']
)
]
)
, ( 'overtime_period'
, [ ( 'months'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'order'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'required_overtime'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'weekly'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'prodcat'
, [ ( 'level'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'valid'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'product'
, [ ( 'business_unit'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'is_series'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'product_family'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'product_line'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'product_use_case'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'sap_material'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'valid'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'product_family'
, [ ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'responsible'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'product_type'
, [ ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'project_type'
, [ ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'order'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'valid'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'public_holiday'
, [ ( 'date'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'is_half'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'locations'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'query'
, [ ( 'klass'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'private_for'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'tmplate'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'url'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'reference'
, [ ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'reporting_group'
, [ ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'responsible'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'return_type'
, [ ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'order'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'room'
, [ ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'location'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'safety_level'
, [ ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'sap_cc'
, [ ( 'deputy'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'group_lead'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'organisation'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'purchasing_agents'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'responsible'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'team_lead'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'valid'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'severity'
, [ ( 'abbreviation'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'order'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'sex'
, [ ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'status'
, [ ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'order'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'simple_transitions'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'transitions'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'status_transition'
, [ ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'require_msg'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'require_resp_change'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'target'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'summary_report'
, [ ( 'all_in'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'cost_center'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'cost_center_group'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'date'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'department'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'op_project'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'org_location'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'organisation'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'planned_effort'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'product_family'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'project_type'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'reporting_group'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'sap_cc'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'show_all_users'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'show_empty'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'show_missing'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'status'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'summary'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'summary_type'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'supervisor'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'time_project'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'time_wp'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'time_wp_group'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'time_wp_summary_no'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'user'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'summary_type'
, [ ( 'is_staff'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'order'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'sup_classification'
, [ ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'examples'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'sup_warranty'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'valid'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'sup_execution'
, [ ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'order'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'sup_prio'
, [ ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'order'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'sup_status'
, [ ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report'
]
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'order'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'relaxed'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'transitions'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'sup_type'
, [ ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'order'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'sup_warranty'
, [ ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'order'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'support'
, [ ( 'analysis_end'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'analysis_result'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'analysis_start'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'bcc'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'business_unit'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'category'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'cc'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'cc_emails'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'classification'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'closed'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'confidential'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'customer'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'emails'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'execution'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'external_ref'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'files'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'first_reply'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'goods_received'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'goods_sent'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'lot'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'messages'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'nosy'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'number_effected'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'numeric_effort'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'prio'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'prodcat'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'product'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'related_issues'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'related_support'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'release'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'responsible'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'return_type'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'sap_ref'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'satisfied'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'send_to_customer'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'serial_number'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'set_first_reply'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'status'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'superseder'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'title'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'type'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'warranty'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'test_level'
, [ ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'time_activity'
, [ ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'is_valid'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'time_activity_perm'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'travel'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'time_activity_perm'
, [ ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-org-location', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-org-location', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'time_project'
, [ ( 'approval_hr'
, ['admin', 'controlling', 'procurement', 'project', 'project_view']
)
, ( 'approval_required'
, ['admin', 'controlling', 'procurement', 'project', 'project_view']
)
, ( 'cost_center'
, ['admin', 'controlling', 'procurement', 'project', 'project_view']
)
, ( 'department'
, ['admin', 'controlling', 'procurement', 'project', 'project_view']
)
, ( 'deputy'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'group_lead'
, ['admin', 'controlling', 'procurement', 'project', 'project_view']
)
, ( 'infosec_req'
, ['admin', 'controlling', 'procurement', 'project', 'project_view']
)
, ( 'is_extern'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'is_public_holiday'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'is_special_leave'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'is_vacation'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'max_hours'
, ['admin', 'controlling', 'procurement', 'project', 'project_view']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'no_overtime'
, ['admin', 'controlling', 'procurement', 'project', 'project_view']
)
, ( 'no_overtime_day'
, ['admin', 'controlling', 'procurement', 'project', 'project_view']
)
, ( 'nosy'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'only_hours'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'op_project'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'organisation'
, ['admin', 'controlling', 'procurement', 'project', 'project_view']
)
, ( 'overtime_reduction'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'planned_effort'
, ['admin', 'controlling', 'procurement', 'project', 'project_view']
)
, ( 'product_family'
, ['admin', 'controlling', 'procurement', 'project', 'project_view']
)
, ( 'project_type'
, ['admin', 'controlling', 'procurement', 'project', 'project_view']
)
, ( 'purchasing_agents'
, ['admin', 'controlling', 'procurement', 'project', 'project_view']
)
, ( 'reporting_group'
, ['admin', 'controlling', 'procurement', 'project', 'project_view']
)
, ( 'responsible'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'status'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'team_lead'
, ['admin', 'controlling', 'procurement', 'project', 'project_view']
)
, ( 'work_location'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'wps'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'time_project_status'
, [ ( 'active'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'time_record'
, [ ( 'comment'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-org-location', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'daily_record'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'dist'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-org-location', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'duration'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-org-location', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'end'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-org-location', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'end_generated'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-org-location', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'metadata'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-org-location', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'start'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-org-location', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'start_generated'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-org-location', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'time_activity'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'tr_duration'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-org-location', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'work_location'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'wp'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'time_report'
, [ ( 'file'
, ['admin', 'controlling', 'project', 'project_view', 'time-report']
)
, ( 'last_updated'
, ['admin', 'controlling', 'project', 'project_view', 'time-report']
)
, ( 'time_project'
, ['admin', 'controlling', 'project', 'project_view', 'time-report']
)
]
)
, ( 'time_wp'
, [ ( 'auto_wp'
, ['admin', 'hr']
)
, ( 'bookers'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'cost_center'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'durations_allowed'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'epic_key'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'has_expiration_date'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'is_extern'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'is_public'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'planned_effort'
, ['admin', 'controlling', 'project', 'project_view']
)
, ( 'project'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'responsible'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'time_end'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'time_start'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'time_wp_summary_no'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'travel'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'wp_no'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'time_wp_group'
, [ ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'wps'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'time_wp_summary_no'
, [ ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'order'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'timesheet'
, [ ( 'department'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'first_day'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'last_day'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'supervisor'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'user'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'user'
, [ ( 'address'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'alternate_addresses'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'business_responsible'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'clearance_by'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'department_temp'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'entry_date'
, ['admin']
)
, ( 'firstname'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'job_description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'lastname'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'lunch_duration'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'lunch_start'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'nickname'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'password'
, ['admin']
)
, ( 'pictures'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'planning_role'
, ['admin', 'functional-role']
)
, ( 'position_text'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'queries'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'realname'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'reduced_activity_list'
, ['admin']
)
, ( 'roles'
, ['admin', 'controlling']
)
, ( 'room'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'scale_seniority'
, ['admin', 'functional-role']
)
, ( 'sex'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'status'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'subst_active'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'substitute'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'supervisor'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'sync_foreign_key'
, ['admin']
)
, ( 'timetracking_by'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'timezone'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'timing_info'
, ['admin']
)
, ( 'tt_lines'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'username'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'vie_user'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'vie_user_bl_override'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'vie_user_ml'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'user_dynamic'
, [ ( 'additional_hours'
, ["admin", "hr", "hr-org-location"]
)
, ( 'all_in'
, ["admin", "hr", "hr-org-location"]
)
, ( 'booking_allowed'
, ["admin", "hr", "hr-org-location"]
)
, ( 'contract_type'
, ["admin", "hr"]
)
, ( 'daily_worktime'
, ["admin", "hr", "hr-org-location"]
)
, ( 'department'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'do_auto_wp'
, ["admin", "hr", "hr-org-location"]
)
, ( 'durations_allowed'
, ["admin", "hr", "hr-org-location"]
)
, ( 'exemption'
, ["admin", "hr", "hr-org-location"]
)
, ( 'hours_fri'
, ["admin", "hr", "hr-org-location"]
)
, ( 'hours_mon'
, ["admin", "hr", "hr-org-location"]
)
, ( 'hours_sat'
, ["admin", "hr", "hr-org-location"]
)
, ( 'hours_sun'
, ["admin", "hr", "hr-org-location"]
)
, ( 'hours_thu'
, ["admin", "hr", "hr-org-location"]
)
, ( 'hours_tue'
, ["admin", "hr", "hr-org-location"]
)
, ( 'hours_wed'
, ["admin", "hr", "hr-org-location"]
)
, ( 'max_flexitime'
, ["admin", "hr", "hr-org-location"]
)
, ( 'org_location'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'overtime_period'
, ["admin", "hr"]
)
, ( 'sap_cc'
, ["admin", "controlling", "hr"]
)
, ( 'short_time_work_hours'
, ["admin", "hr", "hr-org-location"]
)
, ( 'supp_per_period'
, ["admin", "hr", "hr-org-location"]
)
, ( 'supp_weekly_hours'
, ["admin", "hr", "hr-org-location"]
)
, ( 'time_activity_perm'
, ["admin", "hr", "hr-org-location"]
)
, ( 'travel_full'
, ["admin", "hr", "hr-org-location"]
)
, ( 'user'
, ["admin", "controlling", "hr"]
)
, ( 'vac_aliq'
, ["admin", "hr"]
)
, ( 'vacation_day'
, ["admin", "hr", "hr-org-location"]
)
, ( 'vacation_month'
, ["admin", "hr", "hr-org-location"]
)
, ( 'vacation_yearly'
, ["admin", "hr", "hr-org-location"]
)
, ( 'valid_from'
, ["admin", "controlling", "hr", "hr-org-location"]
)
, ( 'valid_to'
, ["admin", "controlling", "hr", "hr-org-location"]
)
, ( 'weekend_allowed'
, ["admin", "hr", "hr-org-location"]
)
, ( 'weekly_hours'
, ["admin", "hr", "hr-org-location"]
)
]
)
, ( 'user_functional_role'
, [ ( 'functional_role'
, ['admin', 'functional-role']
)
, ( 'ratio'
, ['admin', 'functional-role']
)
, ( 'user'
, ['admin', 'functional-role']
)
]
)
, ( 'user_status'
, [ ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'is_internal'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'is_nosy'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'is_system'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'timetracking_allowed'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'vac_aliq'
, [ ( 'name'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'vacation_correction'
, [ ( 'absolute'
, ['admin', 'controlling', 'hr', 'hr-leave-approval', 'hr-vacation']
)
, ( 'comment'
, ['admin', 'controlling', 'hr', 'hr-leave-approval', 'hr-vacation']
)
, ( 'contract_type'
, ['admin', 'controlling', 'hr', 'hr-leave-approval', 'hr-vacation']
)
, ( 'date'
, ['admin', 'controlling', 'hr', 'hr-leave-approval', 'hr-vacation']
)
, ( 'days'
, ['admin', 'controlling', 'hr', 'hr-leave-approval', 'hr-vacation']
)
, ( 'user'
, ['admin', 'controlling', 'hr', 'hr-leave-approval', 'hr-vacation']
)
]
)
, ( 'vacation_report'
, [ ( 'additional_submitted'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'approved_submissions'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'date'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'department'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'flexi_max'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'flexi_rem'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'flexi_sub'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'flexi_time'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'org_location'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'organisation'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'show_obsolete'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'special_leave'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'special_sub'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'supervisor'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'time_project'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'user'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'valid'
, [ ( 'description'
, ['admin', 'adr_readonly', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'name'
, ['admin', 'adr_readonly', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
, ( 'work_location'
, [ ( 'code'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
, ( 'description'
, ['admin', 'cc-permission', 'contact', 'controlling', 'doc_admin', 'facility', 'functional-role', 'hr', 'hr-leave-approval', 'hr-vacation', 'issue_admin', 'it', 'itview', 'msgedit', 'msgsync', 'office', 'organisation', 'procurement', 'project', 'project_view', 'sec-incident-nosy', 'sec-incident-responsible', 'summary_view', 'supportadmin', 'time-report', 'type', 'user', 'vacation-report']
)
]
)
]
if __name__ == '__main__' :
for cl, props in properties :
print cl
for p in props :
print ' ', p
| 113.932039
| 421
| 0.615435
| 26,849
| 269,905
| 6.082983
| 0.013893
| 0.078936
| 0.066458
| 0.10636
| 0.984834
| 0.98334
| 0.976409
| 0.97451
| 0.970751
| 0.970445
| 0
| 0
| 0.154132
| 269,905
| 2,368
| 422
| 113.980152
| 0.715371
| 0
| 0
| 0.49366
| 0
| 0
| 0.639514
| 0.052367
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0.000423
| 0
| null | null | 0.000845
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 9
|
c5d41b5717c3cd962d830d6a043c410bef783ee3
| 6,317
|
py
|
Python
|
pysqlformatter/tests/pysqlformatter_test.py
|
largecats/pyspark-sql-formatter
|
f5cf6c5776eab5ed8942ef16f783436e62e826ca
|
[
"MIT"
] | 2
|
2021-01-23T06:36:31.000Z
|
2021-02-08T11:24:30.000Z
|
pysqlformatter/tests/pysqlformatter_test.py
|
largecats/pyspark-sql-formatter
|
f5cf6c5776eab5ed8942ef16f783436e62e826ca
|
[
"MIT"
] | null | null | null |
pysqlformatter/tests/pysqlformatter_test.py
|
largecats/pyspark-sql-formatter
|
f5cf6c5776eab5ed8942ef16f783436e62e826ca
|
[
"MIT"
] | 1
|
2022-01-04T10:12:06.000Z
|
2022-01-04T10:12:06.000Z
|
import unittest
import sys
import os
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))))
import logging
from pysqlformatter.src import api
logger = logging.getLogger(__name__)
log_formatter = '[%(asctime)s] %(levelname)s [%(filename)s:%(lineno)s:%(funcName)s] %(message)s'
logging.basicConfig(stream=sys.stdout, level=logging.INFO, format=log_formatter)
class Test(unittest.TestCase):
def test_script_with_simple_query_as_variable(self):
msg = 'Testing script with simple query as variable passed to spark.sql()'
testScript = """
query = 'select * from t0'
df = spark.sql(query)
"""
key = """
query = '''
SELECT
*
FROM
t0
'''
df = spark.sql(query)
""".strip() + '\n' # pep8
formattedScript = api.format_script(testScript)
self.assertEqual(formattedScript, key)
def test_script_with_simple_query_as_argument(self):
msg = 'Testing script with simple query in spark.sql()'
testScript = """
df = spark.sql('select * from t0')
"""
key = """
df = spark.sql('''
SELECT
*
FROM
t0
''')
""".strip() + '\n' # pep8
formattedScript = api.format_script(testScript)
self.assertEqual(formattedScript, key)
def test_script_with_complex_query_as_variable1(self):
msg = 'Testing script with complex query in spark.sql()'
testScript = """
import re
def get_base(date):
query = '''
select * from
t0
left join t1 on t0.id = t1.id
where t1.date = '{date}'
'''
query = query.format(date=date)
df = spark.sql(query)
df.cache()
return df
def add_columns():
df = spark.sql('select * from base left join t2 on base.id = t2.id')
return df
def final():
columns = ['id', 'date', 'c1', 'c2']
df = df.select(columns)
return df
"""
key = """
import re
def get_base(date):
query = '''
SELECT
*
FROM
t0
LEFT JOIN
t1
ON t0.id = t1.id
WHERE
t1.date = '{date}'
'''
query = query.format(date=date)
df = spark.sql(query)
df.cache()
return df
def add_columns():
df = spark.sql('''
SELECT
*
FROM
base
LEFT JOIN
t2
ON base.id = t2.id
''')
return df
def final():
columns = ['id', 'date', 'c1', 'c2']
df = df.select(columns)
return df
""".strip() + '\n' # pep8
formattedScript = api.format_script(testScript)
self.assertEqual(formattedScript, key)
def test_script_with_complex_query_as_variable_currLineIndent_less_than_prevLineIndent(self):
msg = 'Testing script with complex query in spark.sql(), with currLineIndent < prevLineIndent'
testScript = """
import re
def get_base(date):
query = '''
select * from
t0
left join t1 on t0.id = t1.id
where t1.date = '{date}'
'''
query = query.format(date=date)
df = spark.sql(query)
df.cache()
return df
def add_columns():
df = spark.sql('select * from base left join t2 on base.id = t2.id')
return df
def final():
columns = ['id', 'date', 'c1', 'c2']
df = df.select(columns)
return df
"""
key = """
import re
def get_base(date):
query = '''
SELECT
*
FROM
t0
LEFT JOIN
t1
ON t0.id = t1.id
WHERE
t1.date = '{date}'
'''
query = query.format(date=date)
df = spark.sql(query)
df.cache()
return df
def add_columns():
df = spark.sql('''
SELECT
*
FROM
base
LEFT JOIN
t2
ON base.id = t2.id
''')
return df
def final():
columns = ['id', 'date', 'c1', 'c2']
df = df.select(columns)
return df
""".strip() + '\n' # pep8
formattedScript = api.format_script(testScript)
self.assertEqual(formattedScript, key)
def test_script_with_complex_query_as_variable_currLineIndent_greater_than_prevLineIndent(self):
msg = 'Testing script with complex query in spark.sql(), with currLineIndent > prevLineIndent'
testScript = """
import re
def get_base(date):
query = '''
select * from
t0
left join t1 on t0.id = t1.id
where t1.date = '{date}'
'''
query = query.format(date=date)
df = spark.sql(query)
df.cache()
return df
def add_columns():
df = spark.sql('select * from base left join t2 on base.id = t2.id')
return df
def final():
columns = ['id', 'date', 'c1', 'c2']
df = df.select(columns)
return df
"""
key = """
import re
def get_base(date):
query = '''
SELECT
*
FROM
t0
LEFT JOIN
t1
ON t0.id = t1.id
WHERE
t1.date = '{date}'
'''
query = query.format(date=date)
df = spark.sql(query)
df.cache()
return df
def add_columns():
df = spark.sql('''
SELECT
*
FROM
base
LEFT JOIN
t2
ON base.id = t2.id
''')
return df
def final():
columns = ['id', 'date', 'c1', 'c2']
df = df.select(columns)
return df
""".strip() + '\n' # pep8
formattedScript = api.format_script(testScript)
self.assertEqual(formattedScript, key)
def test_script_with_query_starting_with_comment(self):
msg = 'Testing script with query that starts with line comment'
testScript = """
def foo():
query = '''
-- this is a line comment
select * from t0
'''
return spark.sql(query)
"""
key = """
def foo():
query = '''
-- this is a line comment
SELECT
*
FROM
t0
'''
return spark.sql(query)
""".strip() + '\n' # pep8
formattedScript = api.format_script(testScript)
self.assertEqual(formattedScript, key)
def test_script_with_single_line_query(self):
msg = 'Testing script with single line query'
testScript = """
def foo():
dropQuery = 'drop table xxx'
"""
key = """
def foo():
dropQuery = 'DROP TABLE xxx'
""".strip() + '\n' # pep8
formattedScript = api.format_script(testScript)
self.assertEqual(formattedScript, key)
if __name__ == '__main__':
unittest.main()
| 21.341216
| 102
| 0.569891
| 779
| 6,317
| 4.510911
| 0.132221
| 0.052362
| 0.045532
| 0.038702
| 0.874217
| 0.846329
| 0.813318
| 0.781161
| 0.753842
| 0.753842
| 0
| 0.015555
| 0.297768
| 6,317
| 295
| 103
| 21.413559
| 0.776601
| 0.005382
| 0
| 0.84375
| 0
| 0.015625
| 0.653705
| 0.028048
| 0
| 0
| 0
| 0
| 0.027344
| 1
| 0.027344
| false
| 0.003906
| 0.042969
| 0
| 0.152344
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
c5d4c206ab5aefa4d8e0b97c33d27de0063266ba
| 216
|
py
|
Python
|
estimation/utilities/__init__.py
|
eribean/GIRTH
|
daf22773aa9cd1c819bf732e1061ebf5cc4dc40e
|
[
"MIT"
] | null | null | null |
estimation/utilities/__init__.py
|
eribean/GIRTH
|
daf22773aa9cd1c819bf732e1061ebf5cc4dc40e
|
[
"MIT"
] | null | null | null |
estimation/utilities/__init__.py
|
eribean/GIRTH
|
daf22773aa9cd1c819bf732e1061ebf5cc4dc40e
|
[
"MIT"
] | null | null | null |
from .girth_options import *
from .utils import *
from .polytomous_utils import *
from .look_up_table import *
from .ctt_statistics import *
from .latent_ability_distribution import *
from .bootstrap_errors import *
| 27
| 42
| 0.805556
| 29
| 216
| 5.724138
| 0.551724
| 0.361446
| 0.180723
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.12963
| 216
| 7
| 43
| 30.857143
| 0.882979
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
c5f4848d3c35af36082582f768213fdd2dcfd6d3
| 5,652
|
py
|
Python
|
gbdt_uncertainty/ensemble.py
|
yandex-research/GBDT-uncertainty
|
339264ee82c1ec2b22d4200d3b9c18fcce56bb0d
|
[
"Apache-2.0"
] | 20
|
2021-03-31T07:35:21.000Z
|
2022-03-02T12:56:20.000Z
|
gbdt_uncertainty/ensemble.py
|
yandex-research/GBDT-uncertainty
|
339264ee82c1ec2b22d4200d3b9c18fcce56bb0d
|
[
"Apache-2.0"
] | null | null | null |
gbdt_uncertainty/ensemble.py
|
yandex-research/GBDT-uncertainty
|
339264ee82c1ec2b22d4200d3b9c18fcce56bb0d
|
[
"Apache-2.0"
] | 2
|
2021-11-15T12:24:55.000Z
|
2022-03-16T14:23:39.000Z
|
import context
import numpy as np
from catboost import CatBoostClassifier
class ClassificationEnsemble(object):
def __init__(self, esize=10, iterations=1000, lr=0.1, random_strength=None, border_count=None, depth=6, seed=100,
load_path=None, task_type=None, devices=None, verbose=True, use_base_model=False,
max_ctr_complexity=None, posterior_sampling=True):
self.seed = seed
self.esize = esize
self.depth = depth
self.iterations = iterations
self.lr = lr
self.posterior_sampling = posterior_sampling
if self.posterior_sampling:
self.bootstrap_type = 'No'
self.subsample = None
else:
self.bootstrap_type = 'Bernoulli'
self.subsample = 0.5
self.random_strength = random_strength
self.border_count = border_count
self.posterior_sampling = posterior_sampling
self.ensemble = []
self.use_best_model = use_base_model
for e in range(self.esize):
model = CatBoostClassifier(iterations=self.iterations,
depth=self.depth,
learning_rate=self.lr,
border_count=self.border_count,
random_strength=self.random_strength,
loss_function='MultiClass',
verbose=verbose,
posterior_sampling=self.posterior_sampling,
use_best_model=self.use_best_model,
max_ctr_complexity=max_ctr_complexity,
random_seed=self.seed + e,
subsample=self.subsample,
task_type=task_type,
bootstrap_type=self.bootstrap_type,
devices=devices)
self.ensemble.append(model)
if load_path is not None:
for i, m in enumerate(self.ensemble):
m.load_model(f"{load_path}/model{i}.cbm")
def fit(self, data, eval_set=None, save_path="./"):
for i, m in enumerate(self.ensemble):
print(f"TRAINING MODEL {i}\n\n")
m.fit(data, eval_set=eval_set)
m.save_model(f"{save_path}/model{i}.cbm")
assert np.all(m.classes_ == self.ensemble[0].classes_)
def save(self, path):
for i, m in enumerate(self.ensemble):
m.save_model(f"{path}/model{i}.cmb")
def predict(self, x):
probs = []
for m in self.ensemble:
assert np.all(m.classes_ == self.ensemble[0].classes_)
prob = m.predict_proba(x)
probs.append(prob)
probs = np.stack(probs)
return probs
class ClassificationEnsembleSGLB(ClassificationEnsemble):
def __init__(self, esize=10, iterations=1000, lr=0.1, random_strength=None, border_count=None, depth=6, seed=100,
load_path=None, task_type=None, devices=None, verbose=True, use_base_model=False,
max_ctr_complexity=None, n_objects=10000):
self.seed = seed
self.esize = esize
self.depth = depth
self.iterations = iterations
self.lr = lr
self.random_strength = random_strength
self.border_count = border_count
self.ensemble = []
self.use_best_model = use_base_model
self.n_objects = n_objects
for e in range(self.esize):
model = CatBoostClassifier(iterations=self.iterations,
depth=self.depth,
learning_rate=self.lr,
border_count=self.border_count,
random_strength=self.random_strength,
loss_function='MultiClass',
verbose=verbose,
langevin=True,
diffusion_temperature=self.n_objects,
model_shrink_rate=0.5/self.n_objects,
use_best_model=self.use_best_model,
max_ctr_complexity=max_ctr_complexity,
random_seed=self.seed + e,
subsample=None,
task_type=task_type,
bootstrap_type='No',
devices=devices)
self.ensemble.append(model)
if load_path is not None:
for i, m in enumerate(self.ensemble):
m.load_model(f"{load_path}/model{i}.cbm")
def fit(self, data, eval_set=None, save_path="./"):
for i, m in enumerate(self.ensemble):
print(f"TRAINING MODEL {i}\n\n")
m.fit(data, eval_set=eval_set)
m.save_model(f"{save_path}/model{i}.cbm")
assert np.all(m.classes_ == self.ensemble[0].classes_)
def save(self, path):
for i, m in enumerate(self.ensemble):
m.save_model(f"{path}/model{i}.cmb")
def predict(self, x):
probs = []
for m in self.ensemble:
assert np.all(m.classes_ == self.ensemble[0].classes_)
prob = m.predict_proba(x)
probs.append(prob)
probs = np.stack(probs)
return probs
| 41.558824
| 117
| 0.517339
| 600
| 5,652
| 4.665
| 0.163333
| 0.068596
| 0.034298
| 0.015005
| 0.837442
| 0.813148
| 0.792426
| 0.792426
| 0.792426
| 0.765273
| 0
| 0.010866
| 0.397558
| 5,652
| 136
| 118
| 41.558824
| 0.81116
| 0
| 0
| 0.807018
| 0
| 0
| 0.038033
| 0.016982
| 0
| 0
| 0
| 0
| 0.035088
| 1
| 0.070175
| false
| 0
| 0.026316
| 0
| 0.131579
| 0.017544
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
a8bbbf6996f1384a254ea815e2206446e8388c7c
| 127
|
py
|
Python
|
ravenclaw/wrangling/columns_are_unique.py
|
idin/ravenclaw
|
17a9b4c92d662f72c114e832f38b39eb73707bc2
|
[
"MIT"
] | 1
|
2019-05-04T07:32:21.000Z
|
2019-05-04T07:32:21.000Z
|
ravenclaw/wrangling/columns_are_unique.py
|
idin/ravenclaw
|
17a9b4c92d662f72c114e832f38b39eb73707bc2
|
[
"MIT"
] | null | null | null |
ravenclaw/wrangling/columns_are_unique.py
|
idin/ravenclaw
|
17a9b4c92d662f72c114e832f38b39eb73707bc2
|
[
"MIT"
] | 1
|
2020-03-28T21:54:11.000Z
|
2020-03-28T21:54:11.000Z
|
from slytherin.collections import has_duplicates
def columns_are_unique(data):
return not has_duplicates(list(data.columns))
| 25.4
| 48
| 0.84252
| 18
| 127
| 5.722222
| 0.777778
| 0.252427
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.086614
| 127
| 4
| 49
| 31.75
| 0.887931
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0.333333
| 0.333333
| 1
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 1
| 1
| 0
|
0
| 7
|
76684038a6fc321a7d088f81fd83b1dafeb6bc1e
| 5,232
|
py
|
Python
|
tests/cache.py
|
brettcannon/vibora
|
1933b631d4df62e7d748016f7463ab746d4695cc
|
[
"MIT"
] | 1
|
2021-01-03T00:57:53.000Z
|
2021-01-03T00:57:53.000Z
|
tests/cache.py
|
brettcannon/vibora
|
1933b631d4df62e7d748016f7463ab746d4695cc
|
[
"MIT"
] | null | null | null |
tests/cache.py
|
brettcannon/vibora
|
1933b631d4df62e7d748016f7463ab746d4695cc
|
[
"MIT"
] | 1
|
2019-06-14T10:40:54.000Z
|
2019-06-14T10:40:54.000Z
|
import time
from multiprocessing import Manager
from vibora import Vibora, Request, Hook
from vibora.hooks import Events
from vibora.cache import Static, CacheEngine
from vibora.responses import JsonResponse
from vibora.tests import TestSuite
class CacheTestCase(TestSuite):
async def test_async_cache_engine_skipping_hooks(self):
class AsyncEngine(CacheEngine):
async def get(self, request: Request):
return self.cache.get(request.url)
async def store(self, request: Request, response):
self.cache[request.url] = response
app = Vibora()
manager = Manager()
calls = manager.list()
def before_end():
calls.append('called_before_endpoint')
app.add_hook(Hook(Events.BEFORE_ENDPOINT, before_end))
@app.route('/', cache=AsyncEngine(skip_hooks=True))
async def home():
return JsonResponse({'now': time.time()})
with app.test_client() as client:
response1 = await client.get('/')
response2 = await client.get('/')
self.assertEqual(len(calls), 1)
self.assertEqual(response1.content, response2.content)
async def test_async_cache_engine_not_skipping_hooks(self):
class AsyncEngine(CacheEngine):
async def get(self, request: Request):
return self.cache.get(request.url)
async def store(self, request: Request, response):
self.cache[request.url] = response
app = Vibora()
manager = Manager()
calls = manager.list()
def before_end():
calls.append('called_before_endpoint')
app.add_hook(Hook(Events.BEFORE_ENDPOINT, before_end))
@app.route('/', cache=AsyncEngine(skip_hooks=False))
async def home():
return JsonResponse({'now': time.time()})
client = app.test_client()
response1 = await client.get('/')
response2 = await client.get('/')
self.assertEqual(len(calls), 2)
self.assertEqual(response1.content, response2.content)
client.close()
async def test_custom_cache_engine_not_skipping_hooks(self):
class AsyncEngine(CacheEngine):
def get(self, request: Request):
return self.cache.get(request.url)
def store(self, request: Request, response):
self.cache[request.url] = response
app = Vibora()
manager = Manager()
calls = manager.list()
def before_end():
calls.append('called_before_endpoint')
app.add_hook(Hook(Events.BEFORE_ENDPOINT, before_end))
@app.route('/', cache=AsyncEngine(skip_hooks=False))
async def home():
return JsonResponse({'now': time.time()})
client = app.test_client()
response1 = await client.get('/')
response2 = await client.get('/')
self.assertEqual(len(calls), 2)
self.assertEqual(response1.content, response2.content)
client.close()
async def test_custom_cache_engine_skipping_hooks(self):
class AsyncEngine(CacheEngine):
def get(self, request: Request):
return self.cache.get(request.url)
def store(self, request: Request, response):
self.cache[request.url] = response
app = Vibora()
manager = Manager()
calls = manager.list()
def before_end():
calls.append('called_before_endpoint')
app.add_hook(Hook(Events.BEFORE_ENDPOINT, before_end))
@app.route('/', cache=AsyncEngine(skip_hooks=True))
async def home():
return JsonResponse({'now': time.time()})
client = app.test_client()
response1 = await client.get('/')
response2 = await client.get('/')
self.assertEqual(len(calls), 1)
self.assertEqual(response1.content, response2.content)
client.close()
async def test_static_cache_skipping_hooks(self):
app = Vibora()
@app.route('/', cache=Static(skip_hooks=True))
async def home():
return JsonResponse({'now': time.time()})
client = app.test_client()
response1 = await client.get('/')
response2 = await client.get('/')
self.assertEqual(response1.content, response2.content)
client.close()
async def test_static_cache_not_skipping_hooks(self):
app = Vibora()
@app.route('/', cache=Static(skip_hooks=False))
async def home():
return JsonResponse({'now': time.time()})
client = app.test_client()
response1 = await client.get('/')
response2 = await client.get('/')
self.assertEqual(response1.content, response2.content)
client.close()
async def test_default_expects_static_cache(self):
app = Vibora()
@app.route('/')
async def home():
return JsonResponse({'now': time.time()})
client = app.test_client()
response1 = await client.get('/')
response2 = await client.get('/')
self.assertNotEqual(response1.content, response2.content)
client.close()
| 29.393258
| 65
| 0.609709
| 565
| 5,232
| 5.518584
| 0.111504
| 0.046183
| 0.062861
| 0.040411
| 0.905388
| 0.898653
| 0.873958
| 0.873958
| 0.87043
| 0.864978
| 0
| 0.008408
| 0.272554
| 5,232
| 177
| 66
| 29.559322
| 0.810825
| 0
| 0
| 0.834711
| 0
| 0
| 0.024847
| 0.01682
| 0
| 0
| 0
| 0
| 0.090909
| 1
| 0.066116
| false
| 0
| 0.057851
| 0.016529
| 0.256198
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
76abcd11bb3639010b0cf6e764eae589df9ce4c5
| 8,645
|
py
|
Python
|
unittest/scripts/py_devapi/validation/mysqlx_column_metadata.py
|
mueller/mysql-shell
|
29bafc5692bd536a12c4e41c54cb587375fe52cf
|
[
"Apache-2.0"
] | null | null | null |
unittest/scripts/py_devapi/validation/mysqlx_column_metadata.py
|
mueller/mysql-shell
|
29bafc5692bd536a12c4e41c54cb587375fe52cf
|
[
"Apache-2.0"
] | 1
|
2021-09-12T22:07:06.000Z
|
2021-09-12T22:07:06.000Z
|
unittest/scripts/py_devapi/validation/mysqlx_column_metadata.py
|
mueller/mysql-shell
|
29bafc5692bd536a12c4e41c54cb587375fe52cf
|
[
"Apache-2.0"
] | null | null | null |
#@ Metadata on Bit Column
|Schema Name: py_shell_test|
|Table Name: table1|
|Table Label: table1|
|Column Name: one|
|Column Label: one|
|Type: <Type.BIT>|
|Length: 1|
|Fractional Digits: 0|
|Is Number Signed: False|
|Collation Name: |
|Charset Name: |
|Is ZeroFill: False|
#@ Metadata on TinyInt Column
|Schema Name: py_shell_test|
|Table Name: table1|
|Table Label: table1|
|Column Name: two|
|Column Label: two|
|Type: <Type.TINYINT>|
|Length: 4|
|Fractional Digits: 0|
|Is Number Signed: True|
|Collation Name: |
|Charset Name: |
|Is ZeroFill: False|
#@ Metadata on Unsigned TinyInt Column
|Schema Name: py_shell_test|
|Table Name: table1|
|Table Label: table1|
|Column Name: utwo|
|Column Label: utwo|
|Type: <Type.TINYINT>|
|Length: 3|
|Fractional Digits: 0|
|Is Number Signed: False|
|Collation Name: |
|Charset Name: |
|Is ZeroFill: False|
#@ Metadata on SmallInt Column
|Schema Name: py_shell_test|
|Table Name: table1|
|Table Label: table1|
|Column Name: three|
|Column Label: three|
|Type: <Type.SMALLINT>|
|Length: 6|
|Fractional Digits: 0|
|Is Number Signed: True|
|Collation Name: |
|Charset Name: |
|Is ZeroFill: False|
#@ Metadata on Unsigned SmallInt Column
|Schema Name: py_shell_test|
|Table Name: table1|
|Table Label: table1|
|Column Name: uthree|
|Column Label: uthree|
|Type: <Type.SMALLINT>|
|Length: 5|
|Fractional Digits: 0|
|Is Number Signed: False|
|Collation Name: |
|Charset Name: |
|Is ZeroFill: False|
#@ Metadata on MediumInt Column
|Schema Name: py_shell_test|
|Table Name: table1|
|Table Label: table1|
|Column Name: four|
|Column Label: four|
|Type: <Type.MEDIUMINT>|
|Length: 9|
|Fractional Digits: 0|
|Is Number Signed: True|
|Collation Name: |
|Charset Name: |
|Is ZeroFill: False|
#@ Metadata on Unsigned MediumInt Column
|Schema Name: py_shell_test|
|Table Name: table1|
|Table Label: table1|
|Column Name: ufour|
|Column Label: ufour|
|Type: <Type.MEDIUMINT>|
|Length: 8|
|Fractional Digits: 0|
|Is Number Signed: False|
|Collation Name: |
|Charset Name: |
|Is ZeroFill: False|
#@ Metadata on Int Column
|Schema Name: py_shell_test|
|Table Name: table1|
|Table Label: table1|
|Column Name: five|
|Column Label: five|
|Type: <Type.INT>|
|Length: 11|
|Fractional Digits: 0|
|Is Number Signed: True|
|Collation Name: |
|Charset Name: |
|Is ZeroFill: False|
#@ Metadata on Unsigned Int Column
|Schema Name: py_shell_test|
|Table Name: table1|
|Table Label: table1|
|Column Name: ufive|
|Column Label: ufive|
|Type: <Type.INT>|
|Length: 10|
|Fractional Digits: 0|
|Is Number Signed: False|
|Collation Name: |
|Charset Name: |
|Is ZeroFill: False|
#@ Metadata on Float Column
|Schema Name: py_shell_test|
|Table Name: table1|
|Table Label: table1|
|Column Name: six|
|Column Label: six|
|Type: <Type.FLOAT>|
|Length: 12|
|Fractional Digits: 31|
|Is Number Signed: True|
|Collation Name: |
|Charset Name: |
|Is ZeroFill: False|
#@ Metadata on Unsigned Float Column
|Schema Name: py_shell_test|
|Table Name: table1|
|Table Label: table1|
|Column Name: usix|
|Column Label: usix|
|Type: <Type.FLOAT>|
|Length: 12|
|Fractional Digits: 31|
|Is Number Signed: False|
|Collation Name: |
|Charset Name: |
|Is ZeroFill: False|
#@ Metadata on Float Column with length and fractional digits
|Schema Name: py_shell_test|
|Table Name: table1|
|Table Label: table1|
|Column Name: csix|
|Column Label: csix|
|Type: <Type.FLOAT>|
|Length: 5|
|Fractional Digits: 3|
|Is Number Signed: True|
|Collation Name: |
|Charset Name: |
|Is ZeroFill: False|
#@ Metadata on Decimal Column
|Schema Name: py_shell_test|
|Table Name: table1|
|Table Label: table1|
|Column Name: seven|
|Column Label: seven|
|Type: <Type.DECIMAL>|
|Length: 11|
|Fractional Digits: 0|
|Is Number Signed: True|
|Collation Name: |
|Charset Name: |
|Is ZeroFill: False|
#@ Metadata on Unsigned Decimal Column
|Schema Name: py_shell_test|
|Table Name: table1|
|Table Label: table1|
|Column Name: useven|
|Column Label: useven|
|Type: <Type.DECIMAL>|
|Length: 10|
|Fractional Digits: 0|
|Is Number Signed: False|
|Collation Name: |
|Charset Name: |
|Is ZeroFill: False|
#@ Metadata on Decimal Column with length and fractional digits
|Schema Name: py_shell_test|
|Table Name: table1|
|Table Label: table1|
|Column Name: cseven|
|Column Label: cseven|
|Type: <Type.DECIMAL>|
|Length: 6|
|Fractional Digits: 2|
|Is Number Signed: True|
|Collation Name: |
|Charset Name: |
|Is ZeroFill: False|
#@ Metadata on Double Column
|Schema Name: py_shell_test|
|Table Name: table1|
|Table Label: table1|
|Column Name: eight|
|Column Label: eight|
|Type: <Type.DOUBLE>|
|Length: 22|
|Fractional Digits: 31|
|Is Number Signed: True|
|Collation Name: |
|Charset Name: |
|Is ZeroFill: False|
#@ Metadata on Unsigned Double Column
|Schema Name: py_shell_test|
|Table Name: table1|
|Table Label: table1|
|Column Name: ueight|
|Column Label: ueight|
|Type: <Type.DOUBLE>|
|Length: 22|
|Fractional Digits: 31|
|Is Number Signed: False|
|Collation Name: |
|Charset Name: |
|Is ZeroFill: False|
#@ Metadata on Double Column with length and fractional digits
|Schema Name: py_shell_test|
|Table Name: table1|
|Table Label: table1|
|Column Name: ceight|
|Column Label: ceight|
|Type: <Type.DOUBLE>|
|Length: 8|
|Fractional Digits: 3|
|Is Number Signed: True|
|Collation Name: |
|Charset Name: |
|Is ZeroFill: False|
#@ Metadata on Json Column
|Schema Name: py_shell_test|
|Table Name: table2|
|Table Label: table2|
|Column Name: one|
|Column Label: one|
|Type: <Type.JSON>|
|Fractional Digits: 0|
|Is Number Signed: False|
|Collation Name: binary|
|Charset Name: binary|
|Is ZeroFill: False|
#@ Metadata on Char Column
|Schema Name: py_shell_test|
|Table Name: table2|
|Table Label: table2|
|Column Name: two|
|Column Label: two|
|Type: <Type.STRING>|
|Length: 20|
|Fractional Digits: 0|
|Is Number Signed: False|
|Collation Name: utf8mb4_general_ci//utf8mb4_0900_ai_ci|
|Charset Name: utf8mb4|
|Is ZeroFill: False|
#@ Metadata on Varchar Column
|Schema Name: py_shell_test|
|Table Name: table2|
|Table Label: table2|
|Column Name: three|
|Column Label: three|
|Type: <Type.STRING>|
|Length: 80|
|Fractional Digits: 0|
|Is Number Signed: False|
|Collation Name: utf8mb4_general_ci//utf8mb4_0900_ai_ci|
|Charset Name: utf8mb4|
|Is ZeroFill: False|
#@ Metadata on Text Column
|Schema Name: py_shell_test|
|Table Name: table2|
|Table Label: table2|
|Column Name: four|
|Column Label: four|
|Type: <Type.STRING>|
|Length: 65535|
|Fractional Digits: 0|
|Is Number Signed: False|
|Collation Name: utf8mb4_general_ci//utf8mb4_0900_ai_ci|
|Charset Name: utf8mb4|
|Is ZeroFill: False|
#@ Metadata on Time Column
|Schema Name: py_shell_test|
|Table Name: table2|
|Table Label: table2|
|Column Name: five|
|Column Label: five|
|Type: <Type.TIME>|
|Length: 10|
|Fractional Digits: 0|
|Is Number Signed: False|
|Collation Name: |
|Charset Name: |
|Is ZeroFill: False|
#@ Metadata on Date Column
|Schema Name: py_shell_test|
|Table Name: table2|
|Table Label: table2|
|Column Name: six|
|Column Label: six|
|Type: <Type.DATE>|
|Length: 10|
|Fractional Digits: 0|
|Is Number Signed: False|
|Collation Name: |
|Charset Name: |
|Is ZeroFill: False|
#@ Metadata on DateTime Column
|Schema Name: py_shell_test|
|Table Name: table2|
|Table Label: table2|
|Column Name: seven|
|Column Label: seven|
|Type: <Type.DATETIME>|
|Length: 19|
|Fractional Digits: 0|
|Is Number Signed: False|
|Collation Name: |
|Charset Name: |
|Is ZeroFill: False|
#@ Metadata on Set Column
|Schema Name: py_shell_test|
|Table Name: table2|
|Table Label: table2|
|Column Name: eight|
|Column Label: eight|
|Type: <Type.SET>|
|Length: |
|Fractional Digits: 0|
|Is Number Signed: False|
|Collation Name: utf8mb4_general_ci//utf8mb4_0900_ai_ci|
|Charset Name: utf8mb4|
|Is ZeroFill: False|
#@ Metadata on Enum Column
|Schema Name: py_shell_test|
|Table Name: table2|
|Table Label: table2|
|Column Name: nine|
|Column Label: nine|
|Type: <Type.ENUM>|
|Length: |
|Fractional Digits: 0|
|Is Number Signed: False|
|Collation Name: utf8mb4_general_ci//utf8mb4_0900_ai_ci|
|Charset Name: utf8mb4|
|Is ZeroFill: False|
#@ Metadata on VarBinary Column
|Schema Name: py_shell_test|
|Table Name: table2|
|Table Label: table2|
|Column Name: ten|
|Column Label: ten|
|Type: <Type.BYTES>|
|Length: 15|
|Fractional Digits: 0|
|Is Number Signed: False|
|Collation Name: binary|
|Charset Name: binary|
|Is ZeroFill: False|
#@ Metadata on Blob Column
|Schema Name: py_shell_test|
|Table Name: table2|
|Table Label: table2|
|Column Name: eleven|
|Column Label: eleven|
|Type: <Type.BYTES>|
|Length: 65535|
|Fractional Digits: 0|
|Is Number Signed: False|
|Collation Name: binary|
|Charset Name: binary|
|Is ZeroFill: False|
| 21.293103
| 63
| 0.721805
| 1,224
| 8,645
| 5.030229
| 0.076797
| 0.083157
| 0.056521
| 0.080071
| 0.887608
| 0.887608
| 0.887608
| 0.887608
| 0.820042
| 0.820042
| 0
| 0.025417
| 0.13985
| 8,645
| 405
| 64
| 21.345679
| 0.802582
| 0.108733
| 0
| 0.878963
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0
| null | null | 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
4f11a9798026f57f59efe37f76a9cf7f8a4a6c20
| 471
|
py
|
Python
|
tests/augmenting/test_separate_with.py
|
sixty-north/les_iterables
|
755cdde4dd9e3d56ce2f424ff0619bde7064e897
|
[
"MIT"
] | 2
|
2020-07-04T22:21:10.000Z
|
2021-12-10T14:38:18.000Z
|
tests/augmenting/test_separate_with.py
|
sixty-north/les_iterables
|
755cdde4dd9e3d56ce2f424ff0619bde7064e897
|
[
"MIT"
] | 1
|
2020-05-26T12:01:50.000Z
|
2020-05-26T12:01:50.000Z
|
tests/augmenting/test_separate_with.py
|
sixty-north/les_iterables
|
755cdde4dd9e3d56ce2f424ff0619bde7064e897
|
[
"MIT"
] | null | null | null |
from les_iterables.augmenting import separate_with
def test_separate_with_empty_yields_empty():
assert list(separate_with([], 5)) == []
def test_separate_with_single_yields_single():
assert list(separate_with([7], 5)) == [7]
def test_separate_with_two_items_yields_three_items():
assert list(separate_with([7, 2], 5)) == [7, 5, 2]
def test_separate_with_three_items_yields_five_items():
assert list(separate_with([7, 2, 9], 5)) == [7, 5, 2, 5, 9]
| 26.166667
| 63
| 0.721868
| 74
| 471
| 4.189189
| 0.297297
| 0.348387
| 0.193548
| 0.245161
| 0.26129
| 0.187097
| 0.187097
| 0
| 0
| 0
| 0
| 0.046798
| 0.138004
| 471
| 17
| 64
| 27.705882
| 0.716749
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.444444
| 1
| 0.444444
| true
| 0
| 0.111111
| 0
| 0.555556
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 1
| 1
| 0
| 0
| 0
| 1
| 0
|
0
| 7
|
4f2f0d3815fdeedc7c333f123c5f9d4d8b491074
| 1,972
|
py
|
Python
|
Turtle/hirst-painting.py
|
the-cryptozoologist/python-bootcamp
|
2f54dbf0594fd179e722998898abebf932f176cf
|
[
"MIT"
] | null | null | null |
Turtle/hirst-painting.py
|
the-cryptozoologist/python-bootcamp
|
2f54dbf0594fd179e722998898abebf932f176cf
|
[
"MIT"
] | null | null | null |
Turtle/hirst-painting.py
|
the-cryptozoologist/python-bootcamp
|
2f54dbf0594fd179e722998898abebf932f176cf
|
[
"MIT"
] | null | null | null |
import turtle as t
import random
t.colormode(255)
aa = t.Turtle()
aa.penup()
aa.hideturtle()
screen = t.Screen()
screen.screensize(600,600)
color_list = [(241, 222, 86), (35, 98, 185), (86, 174, 218), (169, 67, 37), (217, 158, 84), (187, 16, 34),
(173, 49, 85), (78, 108, 210), (225, 57, 103), (161, 163, 23), (166, 27, 17), (75, 176, 77),
(232, 70, 44), (225, 123, 172), (125, 198, 117), (20, 55, 146), (59, 119, 64), (118, 226, 184),
(71, 30, 43), (135, 216, 233), (238, 158, 217), (41, 172, 183), (29, 41, 84), (242, 175, 152),
(162, 165, 235), (90, 30, 22)]
aa.setheading(225)
aa.forward(300)
aa.setheading(0)
aa.speed("fastest")
dot_num = 100
for dot_count in range(1, dot_num+1):
aa.dot(20,random.choice(color_list))
aa.forward(50)
if dot_count %10 == 0:
aa.setheading(90)
aa.forward(50)
aa.setheading(180)
aa.forward(500)
aa.setheading(0)
screen.exitonclick()
import turtle as t
import random
t.colormode(255)
aa = t.Turtle()
aa.penup()
aa.hideturtle()
screen = t.Screen()
screen.screensize(600,600)
color_list = [(241, 222, 86), (35, 98, 185), (86, 174, 218), (169, 67, 37), (217, 158, 84), (187, 16, 34),
(173, 49, 85), (78, 108, 210), (225, 57, 103), (161, 163, 23), (166, 27, 17), (75, 176, 77),
(232, 70, 44), (225, 123, 172), (125, 198, 117), (20, 55, 146), (59, 119, 64), (118, 226, 184),
(71, 30, 43), (135, 216, 233), (238, 158, 217), (41, 172, 183), (29, 41, 84), (242, 175, 152),
(162, 165, 235), (90, 30, 22)]
aa.setheading(225)
aa.forward(300)
aa.setheading(0)
aa.speed("fastest")
dot_num = 100
for dot_count in range(1, dot_num+1):
aa.dot(20,random.choice(color_list))
aa.forward(50)
if dot_count %10 == 0:
aa.setheading(90)
aa.forward(50)
aa.setheading(180)
aa.forward(500)
aa.setheading(0)
screen.exitonclick()
| 24.962025
| 109
| 0.548682
| 318
| 1,972
| 3.36478
| 0.333333
| 0.11215
| 0.048598
| 0.028037
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0.320375
| 0.243408
| 1,972
| 78
| 110
| 25.282051
| 0.396783
| 0
| 0
| 1
| 0
| 0
| 0.007099
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.071429
| 0
| 0.071429
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 9
|
4fa50ac5ab9e9b7b6d6b7bd8f47d9f965a487904
| 6,222
|
py
|
Python
|
tests/test_labelled_data.py
|
MicroDroid/ingredient-phrase-tagger
|
d48264ccf667616fcf48ff00239ac6df79b796f0
|
[
"Apache-2.0"
] | null | null | null |
tests/test_labelled_data.py
|
MicroDroid/ingredient-phrase-tagger
|
d48264ccf667616fcf48ff00239ac6df79b796f0
|
[
"Apache-2.0"
] | null | null | null |
tests/test_labelled_data.py
|
MicroDroid/ingredient-phrase-tagger
|
d48264ccf667616fcf48ff00239ac6df79b796f0
|
[
"Apache-2.0"
] | null | null | null |
import io
import unittest
from ingredient_phrase_tagger.training import labelled_data
class ReaderTest(unittest.TestCase):
def test_reads_valid_label_file(self):
mock_file = io.BytesIO("""
index,input,name,qty,range_end,unit,comment
63,4 to 6 large cloves garlic,garlic,4.0,6.0,clove,
77,3 bananas,bananas,3.0,0.0,,
106,"2 1/2 pounds bell peppers (about 6 peppers in assorted colors), cut into 2-inch chunks",bell peppers,2.5,0.0,pound,"(about 6 peppers in assorted colors), cut into 2-inch chunks"
""".strip())
reader = labelled_data.Reader(mock_file)
self.assertEqual([{
'input': '4 to 6 large cloves garlic',
'qty': 4.0,
'unit': 'clove',
'name': 'garlic',
'range_end': 6.0,
'comment': '',
}, {
'input': '3 bananas',
'qty': 3.0,
'unit': '',
'name': 'bananas',
'comment': '',
'range_end': 0.0,
}, {
'input': ('2 1/2 pounds bell peppers (about 6 peppers in '
'assorted colors), cut into 2-inch chunks'),
'qty':
2.5,
'unit':
'pound',
'name':
'bell peppers',
'range_end':
0.0,
'comment': ('(about 6 peppers in assorted colors), cut into '
'2-inch chunks'),
}], [r for r in reader])
def test_reads_file_with_utf8_encoding(self):
mock_file = io.BytesIO(
('index,input,name,qty,range_end,unit,comment\n'
'1,2 jalape\xc3\xb1os,jalape\xc3\xb1os,2.0,0.0,,,\n'
).encode('utf-8'))
reader = labelled_data.Reader(mock_file)
self.assertEqual([{
'input': '2 jalape\xc3\xb1os',
'name': 'jalape\xc3\xb1os',
'qty': 2.0,
'unit': '',
'range_end': 0.0,
'comment': '',
}], [r for r in reader])
def test_interprets_empty_range_end_as_zero(self):
mock_file = io.BytesIO("""
index,input,name,qty,range_end,unit,comment
77,3 bananas,bananas,3.0,,,
""".strip())
reader = labelled_data.Reader(mock_file)
self.assertEqual({
'input': '3 bananas',
'qty': 3.0,
'unit': '',
'name': 'bananas',
'comment': '',
'range_end': 0.0,
}, next(reader))
def test_raises_error_when_csv_does_not_have_required_columns(self):
with self.assertRaises(labelled_data.InvalidHeaderError):
mock_file = io.BytesIO("""
index,input,UNEXPECTED_COLUMN,qty,range_end,unit,comment
77,3 bananas,bananas,3.0,0.0,,
""".strip())
next(labelled_data.Reader(mock_file))
class WriterTest(unittest.TestCase):
def setUp(self):
self.maxDiff = None
def test_writes_valid_rows(self):
mock_file = io.BytesIO()
writer = labelled_data.Writer(mock_file)
writer.writerows([{
'input': '4 to 6 large cloves garlic',
'qty': 4.0,
'unit': 'clove',
'name': 'garlic',
'range_end': 6.0,
'comment': '',
}, {
'input': '3 bananas',
'qty': 3.0,
'unit': '',
'name': 'bananas',
'comment': '',
'range_end': 0.0,
}, {
'input': ('2 1/2 pounds bell peppers (about 6 peppers in '
'assorted colors), cut into 2-inch chunks'),
'qty':
2.5,
'unit':
'pound',
'name':
'bell peppers',
'range_end':
0.0,
'comment': ('(about 6 peppers in assorted colors), cut into '
'2-inch chunks'),
}])
self.assertMultiLineEqual("""
input,name,qty,range_end,unit,comment
4 to 6 large cloves garlic,garlic,4.0,6.0,clove,
3 bananas,bananas,3.0,0.0,,
"2 1/2 pounds bell peppers (about 6 peppers in assorted colors), cut into 2-inch chunks",bell peppers,2.5,0.0,pound,"(about 6 peppers in assorted colors), cut into 2-inch chunks"
""".strip(),
mock_file.getvalue().strip())
def test_writes_valid_rows_one_by_one(self):
mock_file = io.BytesIO()
writer = labelled_data.Writer(mock_file)
writer.writerow({
'input': '4 to 6 large cloves garlic',
'qty': 4.0,
'unit': 'clove',
'name': 'garlic',
'range_end': 6.0,
'comment': '',
})
writer.writerow({
'input': '3 bananas',
'qty': 3.0,
'unit': '',
'name': 'bananas',
'comment': '',
'range_end': 0.0,
})
writer.writerow({
'input': ('2 1/2 pounds bell peppers (about 6 peppers in '
'assorted colors), cut into 2-inch chunks'),
'qty':
2.5,
'unit':
'pound',
'name':
'bell peppers',
'range_end':
0.0,
'comment': ('(about 6 peppers in assorted colors), cut into '
'2-inch chunks'),
})
self.assertMultiLineEqual("""
input,name,qty,range_end,unit,comment
4 to 6 large cloves garlic,garlic,4.0,6.0,clove,
3 bananas,bananas,3.0,0.0,,
"2 1/2 pounds bell peppers (about 6 peppers in assorted colors), cut into 2-inch chunks",bell peppers,2.5,0.0,pound,"(about 6 peppers in assorted colors), cut into 2-inch chunks"
""".strip(),
mock_file.getvalue().strip())
def test_writes_with_utf8_encoding(self):
mock_file = io.BytesIO()
writer = labelled_data.Writer(mock_file)
writer.writerow({
'input': '2 jalape\xc3\xb1os',
'name': 'jalape\xc3\xb1os',
'qty': 2.0,
'unit': '',
'range_end': 0.0,
'comment': '',
})
self.assertMultiLineEqual(
('input,name,qty,range_end,unit,comment\n'
'2 jalape\xc3\xb1os,jalape\xc3\xb1os,2.0,0.0,,\n'),
mock_file.getvalue().decode('utf-8'))
| 33.632432
| 182
| 0.510768
| 751
| 6,222
| 4.118509
| 0.139814
| 0.015519
| 0.050436
| 0.058196
| 0.853217
| 0.834788
| 0.826059
| 0.813126
| 0.794698
| 0.76172
| 0
| 0.048143
| 0.342334
| 6,222
| 184
| 183
| 33.815217
| 0.707722
| 0
| 0
| 0.812866
| 0
| 0.035088
| 0.380906
| 0.109933
| 0
| 0
| 0
| 0
| 0.040936
| 1
| 0.046784
| false
| 0
| 0.017544
| 0
| 0.076023
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
96eef8efad13be80d77ee4e03be6e3d42c52f4b1
| 349
|
py
|
Python
|
tests/internal/instance_type/test_instance_type_t1_auto.py
|
frolovv/aws.ec2.compare
|
582805823492f833d65c0441c4a14dce697c12aa
|
[
"Apache-2.0"
] | null | null | null |
tests/internal/instance_type/test_instance_type_t1_auto.py
|
frolovv/aws.ec2.compare
|
582805823492f833d65c0441c4a14dce697c12aa
|
[
"Apache-2.0"
] | null | null | null |
tests/internal/instance_type/test_instance_type_t1_auto.py
|
frolovv/aws.ec2.compare
|
582805823492f833d65c0441c4a14dce697c12aa
|
[
"Apache-2.0"
] | 1
|
2021-12-15T11:58:22.000Z
|
2021-12-15T11:58:22.000Z
|
# Testing module instance_type.t1
import pytest
import ec2_compare.internal.instance_type.t1
def test_get_internal_data_instance_type_t1_get_instances_list():
assert len(ec2_compare.internal.instance_type.t1.get_instances_list()) > 0
def test_get_internal_data_instance_type_t1_get():
assert len(ec2_compare.internal.instance_type.t1.get) > 0
| 34.9
| 76
| 0.848138
| 56
| 349
| 4.839286
| 0.339286
| 0.265683
| 0.309963
| 0.250923
| 0.826568
| 0.826568
| 0.612546
| 0.612546
| 0.612546
| 0
| 0
| 0.034056
| 0.074499
| 349
| 9
| 77
| 38.777778
| 0.804954
| 0.088825
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.333333
| 1
| 0.333333
| true
| 0
| 0.333333
| 0
| 0.666667
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 10
|
4fc0c2a7af5f28aa7f990a58d0ad266e2157c7ec
| 67
|
py
|
Python
|
src/EcmsApi/__init__.py
|
Poseidon-Dev/ecms-api
|
b2c409d46afeddb73b374b7e80e425be5d09821b
|
[
"MIT"
] | null | null | null |
src/EcmsApi/__init__.py
|
Poseidon-Dev/ecms-api
|
b2c409d46afeddb73b374b7e80e425be5d09821b
|
[
"MIT"
] | null | null | null |
src/EcmsApi/__init__.py
|
Poseidon-Dev/ecms-api
|
b2c409d46afeddb73b374b7e80e425be5d09821b
|
[
"MIT"
] | null | null | null |
from .tables import *
from .queries import *
from .tables import *
| 16.75
| 22
| 0.731343
| 9
| 67
| 5.444444
| 0.444444
| 0.408163
| 0.653061
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.179104
| 67
| 3
| 23
| 22.333333
| 0.890909
| 0
| 0
| 0.666667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
4fc3939d70ed769ef89307aa4a3b2dd39ee29516
| 172
|
py
|
Python
|
hw/maksim_ptitski/test_file_03.py
|
alexander-sidorov/qap-05
|
6db7c0a1eeadd15f7d3f826e7f0ac4be3949ec8c
|
[
"MIT"
] | 9
|
2021-12-10T21:30:07.000Z
|
2022-02-25T21:32:34.000Z
|
hw/maksim_ptitski/test_file_03.py
|
alexander-sidorov/qap-05
|
6db7c0a1eeadd15f7d3f826e7f0ac4be3949ec8c
|
[
"MIT"
] | 22
|
2021-12-11T08:46:58.000Z
|
2022-02-02T15:56:37.000Z
|
hw/maksim_ptitski/test_file_03.py
|
alexander-sidorov/qap-05
|
6db7c0a1eeadd15f7d3f826e7f0ac4be3949ec8c
|
[
"MIT"
] | 8
|
2021-12-11T09:15:45.000Z
|
2022-02-02T08:09:09.000Z
|
from hw.maksim_ptitski.lesson3hw import f
from hw.maksim_ptitski.lesson3hw import g
def test_rwfwfw() -> None:
assert f() is None # type: ignore
assert g() == 4
| 21.5
| 41
| 0.703488
| 27
| 172
| 4.37037
| 0.62963
| 0.101695
| 0.20339
| 0.322034
| 0.576271
| 0.576271
| 0
| 0
| 0
| 0
| 0
| 0.021739
| 0.197674
| 172
| 7
| 42
| 24.571429
| 0.833333
| 0.069767
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.4
| 1
| 0.2
| true
| 0
| 0.4
| 0
| 0.6
| 0
| 1
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
4fdb858d3a1988c041ff4afc2df726555089cefa
| 11,536
|
py
|
Python
|
nvflare/private/fed/protos/federated_pb2_grpc.py
|
IsaacYangSLA/NVFlare
|
8c6582894c9a8431f64479bc9f472fefcd71e5a7
|
[
"Apache-2.0"
] | null | null | null |
nvflare/private/fed/protos/federated_pb2_grpc.py
|
IsaacYangSLA/NVFlare
|
8c6582894c9a8431f64479bc9f472fefcd71e5a7
|
[
"Apache-2.0"
] | null | null | null |
nvflare/private/fed/protos/federated_pb2_grpc.py
|
IsaacYangSLA/NVFlare
|
8c6582894c9a8431f64479bc9f472fefcd71e5a7
|
[
"Apache-2.0"
] | null | null | null |
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from nvflare.private.fed.protos import federated_pb2 as nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2
class FederatedTrainingStub(object):
"""The global federated model interfaces
"""
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.Register = channel.unary_unary(
'/fedlearn.FederatedTraining/Register',
request_serializer=nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.ClientLogin.SerializeToString,
response_deserializer=nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.FederatedSummary.FromString,
)
self.Quit = channel.unary_unary(
'/fedlearn.FederatedTraining/Quit',
request_serializer=nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.ClientState.SerializeToString,
response_deserializer=nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.FederatedSummary.FromString,
)
self.GetTask = channel.unary_unary(
'/fedlearn.FederatedTraining/GetTask',
request_serializer=nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.ClientState.SerializeToString,
response_deserializer=nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.CurrentTask.FromString,
)
self.SubmitUpdate = channel.unary_unary(
'/fedlearn.FederatedTraining/SubmitUpdate',
request_serializer=nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.Contribution.SerializeToString,
response_deserializer=nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.FederatedSummary.FromString,
)
self.Heartbeat = channel.unary_unary(
'/fedlearn.FederatedTraining/Heartbeat',
request_serializer=nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.Token.SerializeToString,
response_deserializer=nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.FederatedSummary.FromString,
)
self.AuxCommunicate = channel.unary_unary(
'/fedlearn.FederatedTraining/AuxCommunicate',
request_serializer=nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.AuxMessage.SerializeToString,
response_deserializer=nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.AuxReply.FromString,
)
class FederatedTrainingServicer(object):
"""The global federated model interfaces
"""
def Register(self, request, context):
"""client registration, so that it will contribute to the training
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def Quit(self, request, context):
"""client quiting the federated training
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def GetTask(self, request, context):
"""server to client model sharing
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def SubmitUpdate(self, request, context):
"""client to server contribution submission
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def Heartbeat(self, request, context):
"""client to server heartbeat keep live
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def AuxCommunicate(self, request, context):
"""client to server aux channel communication
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def add_FederatedTrainingServicer_to_server(servicer, server):
rpc_method_handlers = {
'Register': grpc.unary_unary_rpc_method_handler(
servicer.Register,
request_deserializer=nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.ClientLogin.FromString,
response_serializer=nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.FederatedSummary.SerializeToString,
),
'Quit': grpc.unary_unary_rpc_method_handler(
servicer.Quit,
request_deserializer=nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.ClientState.FromString,
response_serializer=nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.FederatedSummary.SerializeToString,
),
'GetTask': grpc.unary_unary_rpc_method_handler(
servicer.GetTask,
request_deserializer=nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.ClientState.FromString,
response_serializer=nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.CurrentTask.SerializeToString,
),
'SubmitUpdate': grpc.unary_unary_rpc_method_handler(
servicer.SubmitUpdate,
request_deserializer=nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.Contribution.FromString,
response_serializer=nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.FederatedSummary.SerializeToString,
),
'Heartbeat': grpc.unary_unary_rpc_method_handler(
servicer.Heartbeat,
request_deserializer=nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.Token.FromString,
response_serializer=nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.FederatedSummary.SerializeToString,
),
'AuxCommunicate': grpc.unary_unary_rpc_method_handler(
servicer.AuxCommunicate,
request_deserializer=nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.AuxMessage.FromString,
response_serializer=nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.AuxReply.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'fedlearn.FederatedTraining', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
# This class is part of an EXPERIMENTAL API.
class FederatedTraining(object):
"""The global federated model interfaces
"""
@staticmethod
def Register(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/fedlearn.FederatedTraining/Register',
nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.ClientLogin.SerializeToString,
nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.FederatedSummary.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def Quit(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/fedlearn.FederatedTraining/Quit',
nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.ClientState.SerializeToString,
nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.FederatedSummary.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def GetTask(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/fedlearn.FederatedTraining/GetTask',
nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.ClientState.SerializeToString,
nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.CurrentTask.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def SubmitUpdate(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/fedlearn.FederatedTraining/SubmitUpdate',
nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.Contribution.SerializeToString,
nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.FederatedSummary.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def Heartbeat(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/fedlearn.FederatedTraining/Heartbeat',
nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.Token.SerializeToString,
nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.FederatedSummary.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def AuxCommunicate(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/fedlearn.FederatedTraining/AuxCommunicate',
nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.AuxMessage.SerializeToString,
nvflare_dot_private_dot_fed_dot_protos_dot_federated__pb2.AuxReply.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
| 47.86722
| 133
| 0.694348
| 1,139
| 11,536
| 6.584723
| 0.104478
| 0.0608
| 0.083867
| 0.098667
| 0.8432
| 0.8096
| 0.7916
| 0.75
| 0.75
| 0.75
| 0
| 0.00434
| 0.240985
| 11,536
| 240
| 134
| 48.066667
| 0.852216
| 0.057819
| 0
| 0.59375
| 1
| 0
| 0.074163
| 0.043571
| 0
| 0
| 0
| 0
| 0
| 1
| 0.072917
| false
| 0
| 0.010417
| 0.03125
| 0.130208
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
8b3416a675167464c2fa4a32341ad43d54b0f126
| 49,645
|
py
|
Python
|
python/openlattice/api/shuttle_api.py
|
openlattice/api-clients
|
1d5be9861785b295089b732f37464e31bf80c8ca
|
[
"Apache-2.0"
] | null | null | null |
python/openlattice/api/shuttle_api.py
|
openlattice/api-clients
|
1d5be9861785b295089b732f37464e31bf80c8ca
|
[
"Apache-2.0"
] | 1
|
2021-01-20T00:20:01.000Z
|
2021-01-20T00:20:01.000Z
|
python/openlattice/api/shuttle_api.py
|
openlattice/api-clients
|
1d5be9861785b295089b732f37464e31bf80c8ca
|
[
"Apache-2.0"
] | null | null | null |
# coding: utf-8
"""
OpenLattice API
OpenLattice API # noqa: E501
The version of the OpenAPI document: 0.0.1
Contact: support@openlattice.com
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from openlattice.api_client import ApiClient
from openlattice.exceptions import ( # noqa: F401
ApiTypeError,
ApiValueError
)
class ShuttleApi(object):
"""NOTE: This class is auto generated by OpenAPI Generator
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
def __init__(self, api_client=None):
if api_client is None:
api_client = ApiClient()
self.api_client = api_client
def create_integration_definition(self, integration_name, integration, **kwargs): # noqa: E501
"""Creates a new integration definition for running recurring integrations # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_integration_definition(integration_name, integration, async_req=True)
>>> result = thread.get()
:param integration_name: (required)
:type integration_name: str
:param integration: (required)
:type integration: Integration
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:type _preload_content: bool, optional
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: Returns the result object.
If the method is called asynchronously,
returns the request thread.
:rtype: str
"""
kwargs['_return_http_data_only'] = True
return self.create_integration_definition_with_http_info(integration_name, integration, **kwargs) # noqa: E501
def create_integration_definition_with_http_info(self, integration_name, integration, **kwargs): # noqa: E501
"""Creates a new integration definition for running recurring integrations # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_integration_definition_with_http_info(integration_name, integration, async_req=True)
>>> result = thread.get()
:param integration_name: (required)
:type integration_name: str
:param integration: (required)
:type integration: Integration
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
:param _return_http_data_only: response data without head status code
and headers
:type _return_http_data_only: bool, optional
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:type _preload_content: bool, optional
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:param _request_auth: set to override the auth_settings for an a single
request; this effectively ignores the authentication
in the spec for a single request.
:type _request_auth: dict, optional
:return: Returns the result object.
If the method is called asynchronously,
returns the request thread.
:rtype: tuple(str, status_code(int), headers(HTTPHeaderDict))
"""
local_var_params = locals()
all_params = [
'integration_name',
'integration'
]
all_params.extend(
[
'async_req',
'_return_http_data_only',
'_preload_content',
'_request_timeout',
'_request_auth'
]
)
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method create_integration_definition" % key
)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'integration_name' is set
if self.api_client.client_side_validation and ('integration_name' not in local_var_params or # noqa: E501
local_var_params['integration_name'] is None): # noqa: E501
raise ApiValueError("Missing the required parameter `integration_name` when calling `create_integration_definition`") # noqa: E501
# verify the required parameter 'integration' is set
if self.api_client.client_side_validation and ('integration' not in local_var_params or # noqa: E501
local_var_params['integration'] is None): # noqa: E501
raise ApiValueError("Missing the required parameter `integration` when calling `create_integration_definition`") # noqa: E501
collection_formats = {}
path_params = {}
if 'integration_name' in local_var_params:
path_params['integrationName'] = local_var_params['integration_name'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'integration' in local_var_params:
body_params = local_var_params['integration']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['http_auth', 'openlattice_auth'] # noqa: E501
return self.api_client.call_api(
'/shuttle/integration/definition/{integrationName}', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='str', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats,
_request_auth=local_var_params.get('_request_auth'))
def delete_integration_definition(self, integration_name, **kwargs): # noqa: E501
"""Replaces any number of fields within an existing integration definition # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_integration_definition(integration_name, async_req=True)
>>> result = thread.get()
:param integration_name: (required)
:type integration_name: str
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:type _preload_content: bool, optional
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: Returns the result object.
If the method is called asynchronously,
returns the request thread.
:rtype: None
"""
kwargs['_return_http_data_only'] = True
return self.delete_integration_definition_with_http_info(integration_name, **kwargs) # noqa: E501
def delete_integration_definition_with_http_info(self, integration_name, **kwargs): # noqa: E501
"""Replaces any number of fields within an existing integration definition # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_integration_definition_with_http_info(integration_name, async_req=True)
>>> result = thread.get()
:param integration_name: (required)
:type integration_name: str
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
:param _return_http_data_only: response data without head status code
and headers
:type _return_http_data_only: bool, optional
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:type _preload_content: bool, optional
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:param _request_auth: set to override the auth_settings for an a single
request; this effectively ignores the authentication
in the spec for a single request.
:type _request_auth: dict, optional
:return: Returns the result object.
If the method is called asynchronously,
returns the request thread.
:rtype: None
"""
local_var_params = locals()
all_params = [
'integration_name'
]
all_params.extend(
[
'async_req',
'_return_http_data_only',
'_preload_content',
'_request_timeout',
'_request_auth'
]
)
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method delete_integration_definition" % key
)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'integration_name' is set
if self.api_client.client_side_validation and ('integration_name' not in local_var_params or # noqa: E501
local_var_params['integration_name'] is None): # noqa: E501
raise ApiValueError("Missing the required parameter `integration_name` when calling `delete_integration_definition`") # noqa: E501
collection_formats = {}
path_params = {}
if 'integration_name' in local_var_params:
path_params['integrationName'] = local_var_params['integration_name'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# Authentication setting
auth_settings = ['http_auth', 'openlattice_auth'] # noqa: E501
return self.api_client.call_api(
'/shuttle/integration/definition/{integrationName}', 'DELETE',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats,
_request_auth=local_var_params.get('_request_auth'))
def delete_integration_job_status(self, job_id, **kwargs): # noqa: E501
"""Deletes an integration job status from the integrationJobs map # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_integration_job_status(job_id, async_req=True)
>>> result = thread.get()
:param job_id: the unique id of the integration job (required)
:type job_id: str
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:type _preload_content: bool, optional
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: Returns the result object.
If the method is called asynchronously,
returns the request thread.
:rtype: None
"""
kwargs['_return_http_data_only'] = True
return self.delete_integration_job_status_with_http_info(job_id, **kwargs) # noqa: E501
def delete_integration_job_status_with_http_info(self, job_id, **kwargs): # noqa: E501
"""Deletes an integration job status from the integrationJobs map # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_integration_job_status_with_http_info(job_id, async_req=True)
>>> result = thread.get()
:param job_id: the unique id of the integration job (required)
:type job_id: str
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
:param _return_http_data_only: response data without head status code
and headers
:type _return_http_data_only: bool, optional
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:type _preload_content: bool, optional
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:param _request_auth: set to override the auth_settings for an a single
request; this effectively ignores the authentication
in the spec for a single request.
:type _request_auth: dict, optional
:return: Returns the result object.
If the method is called asynchronously,
returns the request thread.
:rtype: None
"""
local_var_params = locals()
all_params = [
'job_id'
]
all_params.extend(
[
'async_req',
'_return_http_data_only',
'_preload_content',
'_request_timeout',
'_request_auth'
]
)
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method delete_integration_job_status" % key
)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'job_id' is set
if self.api_client.client_side_validation and ('job_id' not in local_var_params or # noqa: E501
local_var_params['job_id'] is None): # noqa: E501
raise ApiValueError("Missing the required parameter `job_id` when calling `delete_integration_job_status`") # noqa: E501
collection_formats = {}
path_params = {}
if 'job_id' in local_var_params:
path_params['jobId'] = local_var_params['job_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# Authentication setting
auth_settings = ['http_auth', 'openlattice_auth'] # noqa: E501
return self.api_client.call_api(
'/shuttle/integration/status/{jobId}', 'DELETE',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats,
_request_auth=local_var_params.get('_request_auth'))
def enqueue_integration(self, integration_name, integration_key, **kwargs): # noqa: E501
"""Enqueues an integration on Shuttle Server for a given integration # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.enqueue_integration(integration_name, integration_key, async_req=True)
>>> result = thread.get()
:param integration_name: the name of the integration to be run (required)
:type integration_name: str
:param integration_key: the unique id used to authenticate an integration run (required)
:type integration_key: str
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:type _preload_content: bool, optional
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: Returns the result object.
If the method is called asynchronously,
returns the request thread.
:rtype: str
"""
kwargs['_return_http_data_only'] = True
return self.enqueue_integration_with_http_info(integration_name, integration_key, **kwargs) # noqa: E501
def enqueue_integration_with_http_info(self, integration_name, integration_key, **kwargs): # noqa: E501
"""Enqueues an integration on Shuttle Server for a given integration # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.enqueue_integration_with_http_info(integration_name, integration_key, async_req=True)
>>> result = thread.get()
:param integration_name: the name of the integration to be run (required)
:type integration_name: str
:param integration_key: the unique id used to authenticate an integration run (required)
:type integration_key: str
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
:param _return_http_data_only: response data without head status code
and headers
:type _return_http_data_only: bool, optional
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:type _preload_content: bool, optional
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:param _request_auth: set to override the auth_settings for an a single
request; this effectively ignores the authentication
in the spec for a single request.
:type _request_auth: dict, optional
:return: Returns the result object.
If the method is called asynchronously,
returns the request thread.
:rtype: tuple(str, status_code(int), headers(HTTPHeaderDict))
"""
local_var_params = locals()
all_params = [
'integration_name',
'integration_key'
]
all_params.extend(
[
'async_req',
'_return_http_data_only',
'_preload_content',
'_request_timeout',
'_request_auth'
]
)
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method enqueue_integration" % key
)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'integration_name' is set
if self.api_client.client_side_validation and ('integration_name' not in local_var_params or # noqa: E501
local_var_params['integration_name'] is None): # noqa: E501
raise ApiValueError("Missing the required parameter `integration_name` when calling `enqueue_integration`") # noqa: E501
# verify the required parameter 'integration_key' is set
if self.api_client.client_side_validation and ('integration_key' not in local_var_params or # noqa: E501
local_var_params['integration_key'] is None): # noqa: E501
raise ApiValueError("Missing the required parameter `integration_key` when calling `enqueue_integration`") # noqa: E501
collection_formats = {}
path_params = {}
if 'integration_name' in local_var_params:
path_params['integrationName'] = local_var_params['integration_name'] # noqa: E501
if 'integration_key' in local_var_params:
path_params['integrationKey'] = local_var_params['integration_key'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['http_auth', 'openlattice_auth'] # noqa: E501
return self.api_client.call_api(
'/shuttle/integration/{integrationName}/{integrationKey}', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='str', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats,
_request_auth=local_var_params.get('_request_auth'))
def poll_all_integrations(self, **kwargs): # noqa: E501
"""Polls the statuses of all running integrations # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.poll_all_integrations(async_req=True)
>>> result = thread.get()
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:type _preload_content: bool, optional
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: Returns the result object.
If the method is called asynchronously,
returns the request thread.
:rtype: dict(str, IntegrationJob)
"""
kwargs['_return_http_data_only'] = True
return self.poll_all_integrations_with_http_info(**kwargs) # noqa: E501
def poll_all_integrations_with_http_info(self, **kwargs): # noqa: E501
"""Polls the statuses of all running integrations # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.poll_all_integrations_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
:param _return_http_data_only: response data without head status code
and headers
:type _return_http_data_only: bool, optional
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:type _preload_content: bool, optional
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:param _request_auth: set to override the auth_settings for an a single
request; this effectively ignores the authentication
in the spec for a single request.
:type _request_auth: dict, optional
:return: Returns the result object.
If the method is called asynchronously,
returns the request thread.
:rtype: tuple(dict(str, IntegrationJob), status_code(int), headers(HTTPHeaderDict))
"""
local_var_params = locals()
all_params = [
]
all_params.extend(
[
'async_req',
'_return_http_data_only',
'_preload_content',
'_request_timeout',
'_request_auth'
]
)
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method poll_all_integrations" % key
)
local_var_params[key] = val
del local_var_params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['http_auth', 'openlattice_auth'] # noqa: E501
return self.api_client.call_api(
'/shuttle/integration/status', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='dict(str, IntegrationJob)', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats,
_request_auth=local_var_params.get('_request_auth'))
def poll_integration(self, job_id, **kwargs): # noqa: E501
"""Polls the status of an integration # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.poll_integration(job_id, async_req=True)
>>> result = thread.get()
:param job_id: the unique id of the integration job (required)
:type job_id: str
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:type _preload_content: bool, optional
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: Returns the result object.
If the method is called asynchronously,
returns the request thread.
:rtype: str
"""
kwargs['_return_http_data_only'] = True
return self.poll_integration_with_http_info(job_id, **kwargs) # noqa: E501
def poll_integration_with_http_info(self, job_id, **kwargs): # noqa: E501
"""Polls the status of an integration # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.poll_integration_with_http_info(job_id, async_req=True)
>>> result = thread.get()
:param job_id: the unique id of the integration job (required)
:type job_id: str
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
:param _return_http_data_only: response data without head status code
and headers
:type _return_http_data_only: bool, optional
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:type _preload_content: bool, optional
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:param _request_auth: set to override the auth_settings for an a single
request; this effectively ignores the authentication
in the spec for a single request.
:type _request_auth: dict, optional
:return: Returns the result object.
If the method is called asynchronously,
returns the request thread.
:rtype: tuple(str, status_code(int), headers(HTTPHeaderDict))
"""
local_var_params = locals()
all_params = [
'job_id'
]
all_params.extend(
[
'async_req',
'_return_http_data_only',
'_preload_content',
'_request_timeout',
'_request_auth'
]
)
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method poll_integration" % key
)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'job_id' is set
if self.api_client.client_side_validation and ('job_id' not in local_var_params or # noqa: E501
local_var_params['job_id'] is None): # noqa: E501
raise ApiValueError("Missing the required parameter `job_id` when calling `poll_integration`") # noqa: E501
collection_formats = {}
path_params = {}
if 'job_id' in local_var_params:
path_params['jobId'] = local_var_params['job_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['http_auth', 'openlattice_auth'] # noqa: E501
return self.api_client.call_api(
'/shuttle/integration/status/{jobId}', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='str', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats,
_request_auth=local_var_params.get('_request_auth'))
def read_integration_definition(self, integration_name, **kwargs): # noqa: E501
"""Gets an existing integration definition # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.read_integration_definition(integration_name, async_req=True)
>>> result = thread.get()
:param integration_name: (required)
:type integration_name: str
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:type _preload_content: bool, optional
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: Returns the result object.
If the method is called asynchronously,
returns the request thread.
:rtype: Integration
"""
kwargs['_return_http_data_only'] = True
return self.read_integration_definition_with_http_info(integration_name, **kwargs) # noqa: E501
def read_integration_definition_with_http_info(self, integration_name, **kwargs): # noqa: E501
"""Gets an existing integration definition # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.read_integration_definition_with_http_info(integration_name, async_req=True)
>>> result = thread.get()
:param integration_name: (required)
:type integration_name: str
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
:param _return_http_data_only: response data without head status code
and headers
:type _return_http_data_only: bool, optional
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:type _preload_content: bool, optional
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:param _request_auth: set to override the auth_settings for an a single
request; this effectively ignores the authentication
in the spec for a single request.
:type _request_auth: dict, optional
:return: Returns the result object.
If the method is called asynchronously,
returns the request thread.
:rtype: tuple(Integration, status_code(int), headers(HTTPHeaderDict))
"""
local_var_params = locals()
all_params = [
'integration_name'
]
all_params.extend(
[
'async_req',
'_return_http_data_only',
'_preload_content',
'_request_timeout',
'_request_auth'
]
)
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method read_integration_definition" % key
)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'integration_name' is set
if self.api_client.client_side_validation and ('integration_name' not in local_var_params or # noqa: E501
local_var_params['integration_name'] is None): # noqa: E501
raise ApiValueError("Missing the required parameter `integration_name` when calling `read_integration_definition`") # noqa: E501
collection_formats = {}
path_params = {}
if 'integration_name' in local_var_params:
path_params['integrationName'] = local_var_params['integration_name'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['http_auth', 'openlattice_auth'] # noqa: E501
return self.api_client.call_api(
'/shuttle/integration/definition/{integrationName}', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='Integration', # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats,
_request_auth=local_var_params.get('_request_auth'))
def update_integration_definition(self, integration_name, integration_update, **kwargs): # noqa: E501
"""Replaces any number of fields within an existing integration definition # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_integration_definition(integration_name, integration_update, async_req=True)
>>> result = thread.get()
:param integration_name: (required)
:type integration_name: str
:param integration_update: (required)
:type integration_update: IntegrationUpdate
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:type _preload_content: bool, optional
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: Returns the result object.
If the method is called asynchronously,
returns the request thread.
:rtype: None
"""
kwargs['_return_http_data_only'] = True
return self.update_integration_definition_with_http_info(integration_name, integration_update, **kwargs) # noqa: E501
def update_integration_definition_with_http_info(self, integration_name, integration_update, **kwargs): # noqa: E501
"""Replaces any number of fields within an existing integration definition # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_integration_definition_with_http_info(integration_name, integration_update, async_req=True)
>>> result = thread.get()
:param integration_name: (required)
:type integration_name: str
:param integration_update: (required)
:type integration_update: IntegrationUpdate
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
:param _return_http_data_only: response data without head status code
and headers
:type _return_http_data_only: bool, optional
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:type _preload_content: bool, optional
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:param _request_auth: set to override the auth_settings for an a single
request; this effectively ignores the authentication
in the spec for a single request.
:type _request_auth: dict, optional
:return: Returns the result object.
If the method is called asynchronously,
returns the request thread.
:rtype: None
"""
local_var_params = locals()
all_params = [
'integration_name',
'integration_update'
]
all_params.extend(
[
'async_req',
'_return_http_data_only',
'_preload_content',
'_request_timeout',
'_request_auth'
]
)
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method update_integration_definition" % key
)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'integration_name' is set
if self.api_client.client_side_validation and ('integration_name' not in local_var_params or # noqa: E501
local_var_params['integration_name'] is None): # noqa: E501
raise ApiValueError("Missing the required parameter `integration_name` when calling `update_integration_definition`") # noqa: E501
# verify the required parameter 'integration_update' is set
if self.api_client.client_side_validation and ('integration_update' not in local_var_params or # noqa: E501
local_var_params['integration_update'] is None): # noqa: E501
raise ApiValueError("Missing the required parameter `integration_update` when calling `update_integration_definition`") # noqa: E501
collection_formats = {}
path_params = {}
if 'integration_name' in local_var_params:
path_params['integrationName'] = local_var_params['integration_name'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'integration_update' in local_var_params:
body_params = local_var_params['integration_update']
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['http_auth', 'openlattice_auth'] # noqa: E501
return self.api_client.call_api(
'/shuttle/integration/definition/{integrationName}', 'PATCH',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats,
_request_auth=local_var_params.get('_request_auth'))
| 45.587695
| 145
| 0.603867
| 5,381
| 49,645
| 5.305519
| 0.040327
| 0.035868
| 0.054923
| 0.030264
| 0.96837
| 0.964167
| 0.956461
| 0.950576
| 0.947249
| 0.929595
| 0
| 0.010919
| 0.328512
| 49,645
| 1,088
| 146
| 45.629596
| 0.845482
| 0.478155
| 0
| 0.745223
| 1
| 0
| 0.202255
| 0.057793
| 0
| 0
| 0
| 0
| 0
| 1
| 0.036093
| false
| 0
| 0.010616
| 0
| 0.082803
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
8b40801b6ea932e5d6e327f953ef3263c65b1336
| 366,817
|
py
|
Python
|
V1/R1/N2HF_heros_v1_r1.py
|
N2HF-OFFICIAL/n2hf
|
de4a26a3b70082cd2375cc3fe7a5c2fd09cec085
|
[
"MIT"
] | null | null | null |
V1/R1/N2HF_heros_v1_r1.py
|
N2HF-OFFICIAL/n2hf
|
de4a26a3b70082cd2375cc3fe7a5c2fd09cec085
|
[
"MIT"
] | null | null | null |
V1/R1/N2HF_heros_v1_r1.py
|
N2HF-OFFICIAL/n2hf
|
de4a26a3b70082cd2375cc3fe7a5c2fd09cec085
|
[
"MIT"
] | null | null | null |
from PIL import Image
import os
import numpy as np
import pandas as pd
from random import seed
from random import randint
dirname = os.path.dirname('')
dimensions = 600, 600
def make_heros(mh, mh1, mh2):
count_guakjaewoo = 0
count_kimchungsun = 0
count_jungwoon = 0
for ttew in range(0, mh1):
b=mh2
seed(ttew+b)
## 1이 진한거 2가 연한거
## a : 곽재우 모자
# a1 색상
a1 = (randint(20, 40), randint(0, 10), randint(0, 10))
c=randint(0,500)
seed(c)
# a2 색상
a2 = (a1[0]+randint(0, 30), a1[1]+randint(0, 10), a1[2]+randint(0, 10))
d = randint(501,1000)
seed(d)
## b : 곽재우 얼굴
# b4 색상
b4 = (196, 162, 128)
# b3 색상
b3 = (194, 148, 101)
e=randint(1001,1500)
seed(e)
# b2 색상
b2 = (187, 138, 86)
fw = randint(1501,2000)
seed(fw)
# b1 색상
b1 = (145, 107, 67)
fw = randint(1501,2000)
seed(fw)
## c : 입술
# c1 색상
c1 = (183, 60, 60)
g34=randint(2001,2500)
seed(g34)
# c2 색상
c2 = (185, 92, 92)
hr = randint(2501,3000)
seed(hr)
## d : 곽재우 모자 염주
# d1 색상 ex) 63, 48, 17
d1 = (randint(50, 70), randint(40, 60), randint(5, 25))
ir=randint(3001,3500)
seed(ir)
# d2 색상
d2 = (d1[0]+randint(20, 30), d1[1]+randint(10, 20), d1[2]+randint(0, 10))
ja=randint(3501,4000)
seed(ja)
## e : 곽재우 팔
ee = randint(0, 300)
if ee < 100:
# e1 색상
e1 = (randint(155, 185), randint(115, 145), randint(0, 10))
kw = randint(4001,4500)
seed(kw)
# e2 색상
e2 = (randint(145, 165), randint(110, 150), randint(0, 20))
lwq = randint(5001,5500)
seed(lwq)
# e3 색상
e3 = (e2[0]+randint(20, 50), e2[1]+randint(0, 30), e2[2]+randint(0, 5))
lew = randint(5001,5500)
seed(lew)
l1 = (randint(80, 90), randint(65, 75), randint(15, 25))
oe1 = randint(7501,8000)
seed(oe1)
elif 100 <= ee < 200:
# e1 색상
e1 = (randint(0, 10), randint(45, 75), randint(155, 185))
kw = randint(4001,4500)
seed(kw)
# e2 색상
e2 = (randint(0, 10), randint(110, 120), randint(205, 215))
lwq = randint(5001,5500)
seed(lwq)
# e3 색상
e3 = (e2[0]+randint(20, 50), e2[1]+randint(0, 30), e2[2]+randint(0, 5))
lew = randint(5001,5500)
seed(lew)
l1 = (randint(5, 35), randint(15, 45), randint(65, 95))
oe1 = randint(7501,8000)
seed(oe1)
else:
# e1 색상
e1 = (randint(0, 10), randint(155, 185), randint(65, 95))
kw = randint(4001,4500)
seed(kw)
# e2 색상
e2 = (randint(0, 10), randint(205, 215), randint(55, 65))
lwq = randint(5001,5500)
seed(lwq)
# e3 색상
e3 = (e2[0]+randint(20, 50), e2[1]+randint(0, 30), e2[2]+randint(0, 5))
lew = randint(5001,5500)
seed(lew)
l1 = (randint(5, 35), randint(70, 100), randint(10, 40))
oe1 = randint(7501,8000)
seed(oe1)
## f : 곽재우 옷
# f2 색상 209, 0, 0
f2 = (randint(200, 220), 0, 0)
mt = randint(5501,6000)
seed(mt)
# f1 색상 197, 36, 36
f1 = (f2[0]-randint(5, 10), f2[1]+randint(20, 40), f2[2]+randint(20, 40))
nqw = randint(6501,7000)
seed(nqw)
## 배경색
# bg1 : 위인 기본 배경
bg1 = randint(0,400)
if bg1 < 100:
bg1_1 = (randint(75, 85), randint(55, 65), randint(0, 10))
bg1_2 = (randint(105, 115), randint(80, 90), randint(5, 15))
bg1_3 = (randint(165, 175), randint(125, 135), randint(15, 25))
bg1_4 = (randint(195, 205), randint(145, 155), randint(20, 30))
bg1_5 = (randint(195, 205), randint(155, 165), randint(45, 55))
bg1_6 = (randint(210, 220), randint(180, 190), randint(85, 95))
bg1_7 = (randint(175, 185), randint(145, 155), randint(50, 60))
bg1_8 = (randint(175, 185), randint(125, 135), randint(30, 40))
bg1_9 = (randint(155, 165), randint(105, 115), randint(20, 30))
bg1_10 = (randint(95, 105), randint(60, 70), randint(0, 10))
elif 100 <= bg1 < 200:
bg1_1 = (0, 70, 44)
bg1_2 = (10, 108, 71)
bg1_3 = (23, 158, 108)
bg1_4 = (43, 226, 157)
bg1_5 = (109, 247, 195)
bg1_6 = (163, 247, 215)
bg1_7 = (115, 175, 152)
bg1_8 = (53, 113, 90)
bg1_9 = (35, 82, 64)
bg1_10 = (15, 38, 30)
elif 200 <= bg1 < 300:
bg1_1 = (78, 0, 0)
bg1_2 = (132, 21, 21)
bg1_3 = (183, 60, 60)
bg1_4 = (230, 105, 105)
bg1_5 = (243, 154, 154)
bg1_6 = (224, 181, 181)
bg1_7 = (177, 128, 128)
bg1_8 = (123, 83, 83)
bg1_9 = (98, 54, 54)
bg1_10 = (65, 33, 33)
else:
bg1_1 = (5, 0, 65)
bg1_2 = (26, 17, 130)
bg1_3 = (53, 42, 177)
bg1_4 = (86, 75, 209)
bg1_5 = (130, 121, 235)
bg1_6 = (179, 174, 239)
bg1_7 = (143, 139, 188)
bg1_8 = (106, 102, 153)
bg1_9 = (68, 64, 117)
bg1_10 = (32, 29, 67)
qth = randint(8501,9000)
seed(qth)
# bg2 : 장수, 의병 배경
bg2_1 = (93, 67, 40)
bg2_2 = (121, 88, 53)
bg2_3 = (143, 101, 57)
bg2_4 = (181, 132, 81)
bg2_5 = (167, 131, 7)
bg2_6 = (61, 55, 36)
#bg2_7 = (bg2_6[0]+randint(20, 40), bg2_6[1]+randint(20, 40), bg2_6[2]+randint(20, 40))
bg2_7 = (114, 97, 44)
#bg2_8 = (bg2_7[0]+randint(20, 40), bg2_7[1]+randint(20, 40), bg2_7[2]+randint(20, 40))
bg2_8 = (123, 109, 64)
bg2_9 = (randint(150, 256), randint(0, 100), randint(0, 100))
bg2_10 = (randint(20, 60), randint(0, 40), randint(0, 20))
bg2_11 = (bg2_10[0]+randint(20, 60), bg2_10[1]+randint(0, 40), bg2_10[2]+randint(0, 20))
bg2_12 = (randint(30, 50), randint(0, 10), randint(0, 10))
bg2_13 = (bg2_12[0]+randint(40, 60), bg2_12[1]+randint(20, 30), randint(0, 10))
bg2_14 = (bg2_13[0]+randint(20, 40), bg2_13[1]+randint(0, 10), randint(0, 10))
bg2_15 = (randint(20, 50), randint(20, 50), randint(30, 100))
bg2_16 = (randint(50, 70), randint(50, 70), randint(50, 70))
bg2_17 = (bg2_16[0]+randint(10, 30), bg2_16[1]+randint(10, 30), bg2_16[2]+randint(10, 30))
bg2_18 = (bg2_17[0]+randint(10, 30), bg2_17[1]+randint(10, 30), bg2_17[2]+randint(10, 30))
bg2_19 = (bg2_18[0]+randint(10, 30), bg2_18[1]+randint(10, 30), bg2_18[2]+randint(10, 30))
bg2_20 = (bg2_19[0]+randint(10, 30), bg2_19[1]+randint(10, 30), bg2_19[2]+randint(10, 30))
bg2_21 = (bg2_20[0]+randint(10, 30), bg2_20[1]+randint(10, 30), bg2_20[2]+randint(10, 30))
bg2_22 = (randint(10, 30), randint(10, 30), randint(10, 30))
# bg3 : 문신 배경
bg3_1 = (70, 9, 9)
bg3_2 = (112, 0, 0)
bg3_3 = (49, 134, 50)
bg3_4 = (12, 61, 12)
bg3_5 = (160, 145, 0)
bg3_6 = (188, 97, 97)
bg3_7 = (164, 72, 72)
bg3_8 = (11, 51, 136)
bg3_9 = (85, 129, 226)
bg3_10 = (233, 233, 187)
## g : 경계 (검은색)
g = (0, 0, 0)
wrh = randint(11500,12001)
seed(wrh)
## h : 곽 옷 명암
# h1 색상 134, 63, 63
h1 = (randint(120, 140), randint(50, 70), randint(50, 70))
xrh = randint(12001,12501)
seed(xrh)
# h2 색상 140, 51, 51
h2 = (h1[0]+randint(5, 10), h1[1]-randint(5, 10), h1[2]-randint(5, 10))
neh = randint(6501,7000)
seed(neh)
## i : 옅은 회색
i1 = (randint(110, 130), randint(110, 130), randint(110, 130))
x131 = randint(12001,12501)
seed(x131)
i2 = (i1[0]+randint(50, 90), i1[1]+randint(50, 90), i1[2]+randint(50, 90))
xe1 = randint(12001,12501)
seed(xe1)
## j : 어두운 회색
j = (randint(50, 70), randint(50, 70), randint(50, 70))
xe2 = randint(12001,12501)
seed(xe2)
## k : 어두운 색
k = (randint(35, 55), randint(35, 55), randint(35, 55))
xe3 = randint(12001,12501)
seed(xe3)
## l : 곽 허리띠
## 임시로넣음
l2 = (255,255,255)
pe1 = randint(8001,8500)
seed(pe1)
l3 = (randint(205, 215), randint(155, 165), randint(0, 5))
qe1 = randint(8501,9000)
seed(qe1)
## m : 곽 화살대
m1 = (randint(10, 50), randint(10, 50), randint(10, 50))
xe4 = randint(12001,12501)
seed(xe4)
m2 = (m1[0]+randint(30, 70), m1[1]+randint(30, 70), m1[2]+randint(0, 10))
pe2 = randint(8001,8500)
seed(pe2)
## n : 곽 화살깃a
# n1 색상 ex) 8, 70, 39
n1 = (randint(0, 10), randint(60, 80), randint(30, 50))
mqe = randint(5501,6000)
seed(mqe)
# n2 색상 ex) 58, 134, 96
n2 = (n1[0]+randint(40, 60), n1[1]+randint(60, 80), n1[2]+randint(50, 70))
nret = randint(6501,7000)
seed(nret)
## o : 곽 화살통
o = (randint(10, 50), randint(10, 50), randint(10, 50))
## p : 곽 화살깃b
# p1 색상 18, 12, 89
p1 = (randint(10, 30), randint(10, 20), randint(80, 100))
# p2 색상 53, 48, 110
p2 = (p1[0]+randint(25, 45), p1[1]+randint(25, 45), p1[2]+randint(10, 30))
## q : 말 줄
q = (randint(70, 90), randint(30, 50), randint(0, 10))
## q_2 : 말 줄 금속
q_2 = (randint(155, 185), randint(115, 145), randint(0, 10))
e1
## r : 말 입
# r1 색상
r1 = (randint(15, 35), randint(15, 35), randint(15, 35))
qwe = randint(4001,4500)
seed(qwe)
# r2 색상
r2 = (64, 40, 0)
lw = randint(5001,5500)
seed(lw)
## s : 말 주 색
ss = randint(0, 300)
if ss<100:
s1 = (randint(40, 70), randint(20, 50), randint(10, 40))
s2 = (randint(65, 95), randint(15, 45), randint(0, 30))
s3 = (randint(100, 130), randint(15, 45), randint(0, 30))
t1 = (randint(20, 50), randint(0, 30), randint(0, 30))
krq = randint(4001,4500)
seed(krq)
# t2 색상 57, 38, 4
t2 = (randint(45, 75), randint(0, 10), randint(0, 10))
ltt = randint(5001,5500)
seed(ltt)
elif 100 <= ss <200:
s1 = (randint(40, 70), randint(30, 60), randint(10, 40))
s2 = (randint(65, 95), randint(40, 70), randint(0, 30))
s3 = (randint(100, 130), randint(60, 90), randint(0, 30))
t1 = (randint(20, 50), randint(10, 40), randint(5, 15))
krq = randint(4001,4500)
seed(krq)
# t2 색상 57, 38, 4
t2 = (randint(45, 75), randint(25, 55), randint(5, 15))
ltt = randint(5001,5500)
seed(ltt)
else:
s1 = (randint(40, 70), randint(40, 70), randint(40, 70))
s2 = (randint(65, 95), randint(65, 95), randint(65, 95))
s3 = (randint(130, 160), randint(130, 160), randint(130, 160))
t1 = (randint(25, 55), randint(25, 55), randint(25, 55))
t2 = (randint(50, 80), randint(50, 80), randint(50, 80))
## u: 김충선 모자
# u1 :
u1 = (randint(0, 5), randint(0, 10), randint(20, 40))
ow = randint(7501,8000)
seed(ow)
u2 = (u1[0]+randint(0, 5), u1[1]+randint(0, 5), u1[2]+randint(20, 30))
pqr = randint(8001,8500)
seed(pqr)
u3 = (u2[0]+randint(5, 10), u2[1]+randint(5, 10), u2[2]+randint(5, 10))
qt = randint(8501,9000)
seed(qt)
## v: 김충선 수염
# v1 :
v1 = (randint(65, 85), randint(65, 85), randint(65, 85))
oww = randint(7501,8000)
seed(oww)
v2 = (v1[0]+randint(40, 60), v1[1]+randint(40, 60), v1[2]+randint(40, 60))
pqrw = randint(8001,8500)
seed(pqrw)
v3 = (v2[0]+randint(20, 40), v2[1]+randint(20, 40), v2[2]+randint(20, 40))
qqt = randint(8501,9000)
seed(qqt)
v4 = (v3[0]+randint(40, 60), v3[1]+randint(40, 60), v3[2]+randint(40, 60))
qet = randint(8501,9000)
seed(qet)
## w : 흰색
w = (255, 255, 255)
## x: 김충선 얼굴
# x1 :
x1 = (212, 138, 59)
x2 = (213, 156, 97)
## y: 김충선 입술
# y1 :
y1 = (183, 60, 60)
y2 = (185, 92, 92)
## z: 김충선 얼굴 명암
# z1 :
z1 = (randint(160, 180), randint(120, 140), randint(70, 90))
z2 = (z1[0]+randint(10, 15), z1[1]+randint(0, 10), z1[2]+randint(0, 10))
## aa : 김충섭 소매
aa = (randint(50, 70), randint(0, 10), randint(130, 150))
## ab : 김충섭 옷 주 색
ab = randint(0, 300)
if ab < 100:
ab3 = (randint(210, 230), randint(0, 10), randint(0, 10))
ab2 = (ab3[0]-randint(40, 60), ab3[1]+randint(0, 10), ab3[2]+randint(0, 10))
ab1 = (ab2[0]-randint(35, 55), ab3[1]+randint(0, 10), ab3[2]+randint(0, 10))
ab4 = (randint(210, 230), ab3[1]+randint(40, 60), ab3[2]+randint(40, 60))
elif 100 <= ab < 200:
ab3 = (randint(45, 75), randint(45, 75), randint(45, 75))
ab2 = (randint(25, 55), randint(25, 35), randint(20, 50))
ab1 = (randint(5, 35), randint(0, 30), randint(0, 30))
ab4 = (randint(145, 175), randint(145, 175), randint(145, 175))
else:
ab3 = (randint(145, 175), randint(0, 30), randint(0, 20))
ab2 = (randint(100, 130), randint(15, 45), randint(15, 45))
ab1 = (randint(50, 80), randint(10, 40), randint(10, 40))
ab4 = (randint(160, 190), randint(60, 90), randint(60, 90))
# ac : 김충섭 흉배a
ac1 = (randint(135, 155), randint(130, 150), randint(30, 50))
ac2 = (ac1[0]+randint(40, 60), ac1[1]+randint(40, 60), randint(0, 10))
# ad : 김충섭 흉배b
ad = (randint(190, 210), randint(85, 105), randint(5, 25))
# ae : 김충섭 흉배c
ae1 = (randint(0, 5), randint(15, 35), randint(70, 90))
ae2 = (ae1[0]+randint(35, 55), ae1[1]+randint(40, 60), ae1[2]+randint(40, 60))
# af : 의자
af1 = (randint(35, 55), randint(15, 35), randint(5, 25))
af2 = (af1[0]+randint(5, 25), randint(15, 35), randint(0, 10))
# ag : 기본 김충선 추가본
ag1 = (12, 61, 12)
ag2 = (160, 145, 0)
ag3 = (85, 129, 226)
## ah : 정운 모자
ah1 = (randint(15, 35), randint(5, 25), randint(5, 25))
oee1 = randint(7501,8000)
seed(oee1)
ah2 = (ah1[0]+randint(0, 10), ah1[1]+randint(0, 10), ah1[2]+randint(0, 10))
pee1 = randint(8001,8500)
seed(pee1)
ah3 = (ah2[0]+randint(0, 10), ah2[1]+randint(10, 20), ah2[2]+randint(10, 20))
qee1 = randint(8501,9000)
seed(qee1)
## ai : 정운 얼굴 주색
ai2 = (215, 166, 115)
ai1 = (ai2[0]-randint(5, 10), ai2[1]-randint(5, 10), ai2[2]-randint(15, 35))
nhee1 = randint(8501,9300)
seed(nhee1)
## aj : 정운 얼굴 명암
aj1 = (randint(165, 185), randint(120, 140), randint(70, 90))
pe2e1 = randint(3001,8700)
seed(pe2e1)
aj2 = (aj1[0]+randint(5, 15), aj1[1]+randint(0, 10), aj1[2]+randint(5, 10))
pete1 = randint(2001,8500)
seed(pete1)
## ak : 정운 수염 명암
ak = (randint(35, 55), randint(35, 55), randint(35, 55))
## al : 정운 흉배a
al1 = (randint(155, 175), randint(0, 20), randint(0, 20))
te2 = randint(2001,8500)
seed(te2)
al2 = (al1[0]+randint(60, 80), al1[1]+randint(100, 140), al1[2]+randint(40, 60))
twe2 = randint(2001,8500)
seed(twe2)
## am : 정운 흉배b
am = (randint(220, 240), randint(200, 225), randint(35, 55))
twwe2 = randint(2001,8500)
seed(twwe2)
## an : 정운 흉배c
an1 = (randint(150, 170), randint(160, 180), randint(90, 110))
tbe2 = randint(2001,8500)
seed(tbe2)
an2 = (an1[0]+randint(50, 70), an1[1]+randint(40, 60), an1[2]+randint(40, 60))
twbe2 = randint(2001,8500)
seed(twbe2)
## ao : 정운 흉배d
ao = (randint(10, 20), randint(10, 30), randint(110, 140))
## ap : 정운 흉배e
ap = (randint(155, 175), randint(120, 140), randint(0, 10))
## aq : 정운 흉배f
aq = (randint(190, 210), randint(85, 105), randint(5, 25))
## ar : 정운 노란 명암
ar = (randint(90, 110), randint(85, 105), randint(15, 35))
## "Replace_select 로 ' 제거" + "]를 ],로 수정" (수작업 필요)
GuakJaeWoo1 = [
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, g, g, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, g, b4, b4, g, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, g, b4, b4, g, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, g, b4, b4, g, g, bg1_2, bg1_2, g, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, g, b4, b4, b4, g, bg1_2, g, b4, g, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, g, g, g, g, g, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, g, b4, b4, b4, b4, g, g, b3, g, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, a2, a2, a2, a2, a2, a2, g, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, g, b1, b4, b4, b4, b4, b4, b4, g, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, a2, a2, a2, a2, a2, a2, a2, a1, g, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, g, b1, b4, b4, b4, b4, b4, b4, g, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, a2, a2, a2, a2, a2, a2, a2, a1, a1, g, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, g, b1, b1, b4, b4, b4, b4, b4, g, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, a2, a2, a2, a2, a2, a1, a1, a1, a1, a1, g, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, g, b1, b1, b4, b4, g, g, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, g, g, g, g, g, g, g, g, g, g, g, g, g, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, g, b4, g, g, e2, e2, g, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, g, g, g, g, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, g, g, g, g, g, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, g, e2, e2, e2, e2, g, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, g, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, g, g, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, g, e1, e2, e2, e2, j, g, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, g, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, g, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, g, e2, j, j, e2, e2, g, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, g, g, g, g, g, g, g, g, g, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, g, e1, e2, e2, e2, j, g, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, d2, g, g, g, g, g, g, g, g, g, g, g, a1, a1, a1, a1, a1, a1, a1, a1, a1, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, g, e1, e2, j, j, e2, e2, g, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, a1, a1, a1, a1, a1, a1, a1, a1, a1, g, g, d1, b3, b3, b3, b3, b3, b3, b3, b3, b3, b3, g, a1, a1, a1, a1, a1, a1, a1, a1, a1, g, bg1_5, bg1_5, bg1_5, bg1_5, g, g, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, g, e1, e2, e2, e2, j, g, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, a1, a1, a1, a1, a1, a1, a1, a1, a1, g, d2, b3, b3, g, b3, b3, b3, b3, b3, b3, b3, g, g, a1, a1, a1, a1, a1, a1, a1, a1, a1, g, bg1_5, g, g, g, r2, g, r2, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, g, e1, e2, j, j, e2, e2, g, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, g, a1, a1, a1, a1, a1, a1, g, g, d1, b3, b3, g, g, g, b3, b3, b3, b3, g, g, b3, g, a1, a1, a1, a1, a1, a1, g, g, bg1_5, g, r2, g, r2, r2, r2, r2, g, q, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, g, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, g, e1, e2, e2, e2, j, g, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, g, a1, a1, a1, g, b3, b3, d2, b3, b3, b3, b3, b3, g, b3, b3, g, b3, b3, b3, g, a1, a1, a1, a1, g, g, bg1_5, bg1_5, bg1_5, bg1_5, g, r2, r2, r2, g, g, g, q, g, bg1_5, bg1_6, bg1_6, g, r2, g, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, g, e1, e2, j, j, e2, g, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, g, g, g, b3, b1, d1, b3, b3, b3, w, g, b3, b3, b3, b3, g, b3, b3, g, g, g, g, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, g, g, g, r1, r1, r1, g, q, g, g, g, r2, r2, g, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, g, e1, j, e2, e2, e2, g, g, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, b3, d2, b3, b3, b3, b3, b3, b3, b3, b1, b3, b3, b3, b3, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, r1, r1, r1, r1, i1, i1, i1, g, q, s3, s3, s3, s3, s3, g, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, g, k, g, e1, e2, e2, g, g, f1, g, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, d1, b1, b3, b3, b3, b3, b3, b3, b1, b3, b3, b3, b3, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, i1, i1, i1, i1, g, g, g, g, s3, q, s3, s3, i1, i2, g, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, g, k, g, e1, e1, e1, g, f1, f1, f1, g, g, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, d2, b1, b1, b3, b3, b3, b3, b1, b3, b1, b3, b3, b3, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, q, g, g, g, g, r2, r2, r2, g, s3, q, s3, s3, s3, i2, g, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, g, k, k, k, g, g, g, f1, f1, f1, f1, f1, f1, g, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, d1, b1, b3, b3, b3, b3, g, g, b3, g, g, b3, b3, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, q, g, r2, r2, r2, r2, r2, r2, g, s3, s3, q, s3, s3, s3, g, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, g, f1, g, g, g, g, f1, f1, f1, f1, f1, f1, f1, f1, f1, g, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, d2, b1, b3, b3, b3, g, g, c2, c2, c2, g, g, b3, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, q, s3, g, r2, r2, r2, r2, g, s3, s3, s3, s3, q, s3, s3, g, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, g, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, d1, b3, b3, g, g, g, b3, b3, b3, b3, b3, g, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, q, s3, s3, g, g, g, g, s3, s3, s3, s3, s3, q, s3, s3, g, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, g, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, d2, g, g, g, g, g, g, g, g, g, g, g, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, q, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, q, s3, s3, g, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, g, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, d1, g, g, g, g, g, g, g, g, g, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, q, bg1_5, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, q, s3, s3, g, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, g, g, g, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, d2, g, g, g, g, g, g, g, g, g, g, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, q, bg1_5, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, q, s3, g, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, h1, f1, f1, g, g, g, bg1_4, bg1_4, bg1_4, g, g, d1, g, g, g, g, g, g, g, g, w, w, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, q, bg1_6, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, q, g, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, h1, f1, f1, f1, f1, f1, g, g, g, w, i2, i2, d2, g, g, g, g, g, g, w, w, g, g, g, g, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, q, bg1_6, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, q, g, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, h1, f1, f1, f1, f1, f1, f1, f1, g, g, w, i2, i2, g, g, g, g, g, w, g, f2, f2, f2, f2, f2, g, bg1_5, bg1_5, bg1_5, bg1_6, q, bg1_6, g, s1, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, q, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, h1, f1, f1, f1, f1, f1, f1, f1, f1, f1, g, w, w, i2, i2, g, g, w, g, f2, f2, f2, f2, f2, f2, f2, g, bg1_5, bg1_6, bg1_6, q, bg1_6, g, s1, s3, s3, s3, s3, s3, s3, s3, s3, s3, s1, s1, s1, s1, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, h1, h1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, g, w, w, g, w, w, w, g, f2, f2, f2, f2, f2, f2, f2, h2, g, bg1_6, bg1_6, q, bg1_6, g, s1, s3, s3, s3, s3, s3, s3, s3, s1, s1, s1, s1, s1, s1, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, h1, h1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, g, g, w, w, w, g, f2, f2, f2, f2, f2, f2, f2, f2, h2, f2, g, q, bg1_6, bg1_6, bg1_6, g, s1, s3, s3, s3, s1, s1, s1, s1, s1, s1, s1, s1, g, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, g, h1, h1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, g, w, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, h2, f2, g, q, bg1_6, bg1_6, bg1_6, g, s1, s1, s1, s1, s1, s1, s1, s1, s1, s1, s1, g, s3, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, g, bg1_4, g, g, h1, h1, h1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, g, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, h2, f2, f2, f2, q, g, bg1_6, g, g, s1, s1, s1, s1, s1, s1, s1, s1, s1, s1, s1, g, s3, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, g, g, bg1_4, bg1_4, bg1_4, g, h1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, h2, f2, f2, f2, q, g, g, t2, g, g, s1, s1, s1, s1, s1, s1, s1, s1, s1, g, s3, s3, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, g, g, g, g, g, g, g, g, g, g, g, n1, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, g, h1, f1, f1, f1, f1, f1, f1, f1, f1, f1, g, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, h2, f2, f2, f2, q, g, t1, t2, g, g, s1, s1, s1, s1, s1, s1, s1, s1, g, s3, s3, s3, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, n1, m1, n1, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, h1, f1, f1, f1, f1, f1, f1, f1, f1, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, q, f2, g, t1, t2, g, s3, g, g, g, g, g, g, g, g, s3, s3, s3, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, p1, n1, m1, p2, bg1_4, bg1_4, bg1_4, bg1_4, g, h1, f1, f1, f1, f1, f1, f1, f1, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, q, f2, g, t1, g, s3, s3, s3, s1, s1, s1, s1, s1, s1, s3, s3, s3, s3, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, n1, p1, m1, p1, p2, m1, n2, bg1_4, bg1_4, bg1_4, g, h1, f1, f1, f1, f1, f1, g, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, h2, f2, f2, f2, f2, f2, h2, f2, q, f2, g, t2, t2, g, s3, s3, s3, s3, s1, s1, s1, s1, s3, s3, s3, s3, s3, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, n1, m1, n1, p1, m1, bg1_4, n2, m1, n2, bg1_4, bg1_5, bg1_5, g, h1, f1, f1, f1, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, h2, f2, f2, f2, f2, f2, f2, f2, f2, q, f2, g, t1, t1, g, s3, s3, s3, s3, s1, s1, s1, s1, s3, s3, s3, s3, s3, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, n1, m1, bg1_4, bg1_4, m1, bg1_4, n2, m1, g, g, bg1_5, g, h1, f1, f1, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, h2, f2, f2, f2, f2, f2, f2, f2, h2, q, f2, g, t1, t1, t2, g, s3, s3, s3, s3, s3, s1, s1, s1, s3, s3, s3, s3, s3, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, p2, m1, n2, bg1_4, m1, bg1_4, bg1_5, g, m2, g, g, h1, g, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, g, g, g, g, g, f2, f2, f2, f2, f2, f2, q, f2, g, t1, t2, t2, g, s3, s3, s3, s3, s3, s1, s1, s3, s3, s3, s3, s3, s3, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, n1, n1, p2, m1, n2, bg1_4, m1, g, m2, m2, o, g, g, f2, f2, f2, f2, f2, g, g, g, g, g, g, g, e1, e1, g, e1, e1, g, g, f2, f2, f2, q, f2, f2, g, t1, t2, g, s3, s3, s3, s3, s3, s3, s1, s1, s3, s3, s3, s3, s3, s3, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, g, g, m1, g, g, m2, m2, o, o, o, g, f2, f2, g, g, g, e1, e1, e1, e1, g, e1, e1, g, e1, g, e1, e1, e1, e1, g, g, g, q, f2, g, g, t2, t2, g, s3, s3, s3, s3, s3, s3, s1, s1, s3, s3, s3, s3, s3, s3, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, n1, n1, bg1_4, bg1_4, g, m2, m2, m2, o, o, o, o, g, f2, g, e1, e1, e1, e1, e1, e1, g, e1, e1, g, g, g, g, g, g, g, e1, e1, e1, q, g, h2, g, t2, t2, t2, g, s3, s3, s3, s3, s3, s3, s3, s1, s3, s3, s3, s3, s3, s3, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, g, o, o, o, o, o, o, g, g, e1, e1, e1, e1, g, g, g, g, e1, e1, g, l1, l1, g, h2, h2, h2, g, g, e1, q, e1, g, g, t1, t1, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, g, g, o, o, o, o, g, e1, g, g, g, g, h2, g, e1, e1, e1, g, l1, l1, g, f2, f2, f2, f2, h2, h2, g, q, e1, g, t1, t1, t2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, o, o, o, g, g, h2, h2, h2, f2, g, e1, e1, e1, g, g, g, g, f2, h2, f2, f2, f2, f2, h2, q, g, g, t1, t1, t2, t2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, g, g, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, o, g, g, h2, h2, f2, f2, g, e1, e1, g, g, f2, f2, f2, f2, f2, h2, f2, f2, f2, f2, f2, q, f2, g, t1, t2, t1, t1, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, g, l1, l1, l1, g, g, g, g, g, g, g, h2, h2, f2, f2, g, g, e1, e1, g, f2, f2, f2, f2, f2, f2, f2, f2, h2, f2, f2, f2, q, f2, g, g, t2, t1, t1, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, g, l1, g, g, l1, l1, l1, l1, l1, l1, l1, g, g, g, g, g, e1, e1, e1, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, h2, f2, f2, q, f2, g, t2, t2, t2, t2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, g, l1, g, bg1_5, bg1_5, g, g, g, g, g, g, g, g, e1, e1, e1, e1, g, g, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, q, f2, g, t1, t1, t2, t2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, g, bg1_5, bg1_5, bg1_5, bg1_5, g, g, g, e1, e1, e1, e1, g, g, g, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, q, g, t2, t2, t2, t1, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, e1, e1, e1, g, g, g, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, q, g, t1, t1, t1, t2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, e1, g, g, g, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, g, t1, t1, t2, t1, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, g, e1, g, bg1_5, bg1_5, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, g, t2, g, g, g, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, e1, e1, g, bg1_5, bg1_5, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, g, t2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, j, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, g, bg1_5, bg1_5, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, g, g, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, g, q, q, q, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, g, q, q, q, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, h2, h2, h2, h2, h2, h2, g, q, q, q, q, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, h2, h2, f2, f2, f2, f2, f2, f2, g, q, q, q, q, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_8, bg1_8, bg1_8, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, h2, f2, f2, f2, f2, f2, f2, f2, g, s3, g, q, q, q, q, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_8, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, h2, h2, f2, f2, f2, f2, g, g, g, g, g, s3, g, q, q, q_2, q_2, g, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, g, g, s3, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, h2, h2, f2, h2, f2, f2, h2, g, i1, i1, i1, i1, g, s3, s3, g, q, q_2, q_2, q, q, g, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, g, g, s3, s3, s3, s3, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, h2, f2, f2, g, i1, i1, i1, i1, g, s3, s3, s3, g, q, q, q, q, q, q, q, g, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, g, s3, s3, s3, s3, s3, s3, s3, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, h2, g, i1, i1, i1, i1, i2, g, s3, s3, s3, s3, g, g, q, q, q, q, q, q, q, g, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, g, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, s3, s3, s3, s3, s3, s3, g, g, g, q, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, h2, g, i1, i1, i1, i1, i2, g, s3, s3, s3, s3, s3, s3, g, q, q, q, q, q_2, q_2, q, q, g, g, g, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, g, g, q, q, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, s3, s3, s3, s3, s3, g, g, q, q, q, q, q, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, g, i1, i1, i1, i1, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, g, g, q, q, q_2, q_2, q, q, q, q, q, q, g, g, g, g, g, g, s3, s3, s3, s3, g, g, g, g, q, q_2, q_2, q, q, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, s3, s3, s3, g, g, g, q, q_2, q, q, q, q, g, g, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, h2, h2, g, i1, i1, i1, i1, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, g, q, q, q, q, q, q, q, q_2, q_2, q, q, q, q, q, g, g, g, g, q, q, q, q, q, q_2, q_2, q, q, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, s3, s3, g, g, q, q, q, q, q_2, q, g, g, g, s3, s3, g, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, h2, g, i1, i1, i1, i2, i2, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, g, g, q, q, q, q, q_2, q_2, q, q, q, q, g, q_2, q_2, q_2, g, q, q, q, q, q, q, q, g, g, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, s3, s3, g, q, q, q, q, q, g, g, g, s3, s3, s3, s3, s3, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, h2, g, i1, i1, i1, i1, i2, i2, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, g, g, g, q, q, q, q, q, g, q_2, q_2, q_2, q_2, q_2, g, q, q, q, g, g, g, s3, s3, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, s3, g, g, q, q_2, q, q, q, g, g, s3, s3, s3, s3, s3, s3, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, g, i1, i1, i1, i2, i2, i2, i2, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, g, g, g, q, g, q_2, q_2, q_2, q_2, q_2, g, g, g, g, s3, s3, s3, s3, s3, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_10],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, s3, g, q, q, q, q_2, q, g, g, s3, s3, s3, s3, s3, s3, s3, s3, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, h2, g, i1, i1, i2, i2, i2, i2, i2, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, g, q_2, q_2, q_2, q_2, q_2, g, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, g, g, q, q, q, q, g, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, f2, f2, f2, f2, f2, f2, f2, f2, h2, g, i1, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, q_2, q_2, q_2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10, bg1_10],
[bg1_5, bg1_5, bg1_5, g, g, g, g, g, q, q, q_2, q, q, g, g, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, f2, f2, f2, f2, f2, f2, h2, h2, g, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, g, g, g, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10],
[bg1_5, bg1_5, g, t1, t1, t1, t1, g, q, q, q_2, g, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, f2, f2, f2, f2, f2, h2, g, g, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, q, q, q, g, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[bg1_5, g, t2, t2, t2, t2, t2, g, q, g, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, h2, f2, f2, h2, g, g, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, q, q, q, g, s3, s3, s3, s3, s3, s3, s3, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[g, t2, t2, t2, t2, t1, t1, g, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, h2, g, g, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, q, q, q, g, s3, s3, s3, s3, s3, s3, s3, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[g, t2, t2, t1, t1, t2, t2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, g, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, q, q, q, g, s3, s3, s3, s3, s3, s3, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[t2, t1, t1, t1, t1, t2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, q, q, q, g, s3, s3, s3, s3, s3, s3, g, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[t1, t1, t1, t1, t1, t2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, q, q, q, g, s3, s3, s3, s3, s3, g, s3, s3, g, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[t2, t1, t1, t1, t2, t2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, q, q, q, g, s3, s3, s3, s3, g, s3, s3, s3, s3, g, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[t1, t1, t1, t1, t2, t1, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, q, q, q, g, s3, s3, s3, g, s3, s3, s3, s3, s3, s3, g, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[t1, t1, t1, t2, t2, t1, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, q, q, q, g, s3, s3, s3, g, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[t2, t1, t1, t2, t1, t1, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, q, q, q, g, s3, g, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[t1, t2, t1, t2, t1, t1, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, q, q, q, q, g, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[t1, t1, t2, t2, t1, t1, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, g, g, g, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[t1, t1, t2, t2, t1, t1, t1, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_9, bg1_9, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[t1, t1, t2, t1, t1, t1, t1, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_9, bg1_9, bg1_9, g, g, g, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[t2, t1, t2, t1, t1, t1, t1, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, g, g, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_10, bg1_10, bg1_10, bg1_10],
[t2, t1, t2, t1, t1, t1, t1, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10, g, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg1_10, bg1_10, bg1_10, bg1_10],
]
GuakJaeWoo2 = [
[bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1],
[bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_9, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_11, bg2_11, bg2_1, bg2_1, bg2_1, bg2_1],
[bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_9, bg2_1, bg2_1, bg2_1, bg2_9, bg2_9, bg2_1, bg2_1, bg2_9, bg2_9, bg2_9, bg2_9, bg2_1, bg2_1, bg2_1, bg2_1],
[bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_9, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_11, bg2_11, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_9, bg2_9, bg2_9, bg2_1, bg2_1, bg2_9, bg2_9, bg2_1, bg2_9, bg2_9, bg2_9, bg2_1, bg2_1, bg2_1, bg2_1],
[bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_9, bg2_1, bg2_1, bg2_1, bg2_9, bg2_9, bg2_1, bg2_1, bg2_9, bg2_9, bg2_9, bg2_9, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_9, bg2_1, bg2_11, bg2_11, bg2_1, bg2_1, bg2_1, bg2_1],
[bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, g, g, bg2_9, bg2_1, bg2_1, bg2_9, bg2_9, g, bg2_9, bg2_9, bg2_9, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_9, bg2_9, bg2_1, bg2_1, bg2_11, bg2_11, bg2_1, bg2_1, bg2_1, bg2_1],
[bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, g, b4, b4, g, bg2_1, bg2_1, bg2_1, bg2_1, bg2_9, bg2_1, bg2_11, bg2_11, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_9, bg2_9, bg2_9, bg2_9, bg2_1, bg2_1, bg2_14, bg2_1, bg2_10, bg2_11, bg2_1, bg2_1, bg2_1, bg2_1],
[bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, g, b4, b4, g, bg2_1, bg2_1, bg2_9, bg2_9, bg2_1, bg2_1, bg2_11, bg2_11, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_9, bg2_9, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_14, bg2_14, bg2_14, bg2_14, bg2_13, bg2_1, bg2_1, bg2_1, bg2_1],
[bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, g, b4, b2, g, g, bg2_9, bg2_1, g, bg2_5, bg2_1, bg2_10, bg2_11, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_14, bg2_14, bg2_14, bg2_14, bg2_13, bg2_13, bg2_14, bg2_1, bg2_1, bg2_1, bg2_1],
[bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, g, b4, b4, b4, g, bg2_1, g, b4, g, bg2_5, bg2_5, bg2_8, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, g, g, g, g, g, g, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_14, bg2_14, bg2_14, bg2_14, bg2_13, bg2_14, bg2_14, bg2_11, bg2_1, bg2_1, bg2_1, bg2_1],
[bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, g, b4, b4, b2, b2, g, g, b2, g, bg2_8, bg2_8, bg2_5, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, g, a2, a2, a2, a2, a2, a2, g, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_13, bg2_14, bg2_14, bg2_14, bg2_11, bg2_1, bg2_1, bg2_1, bg2_1],
[bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, g, b1, b2, b4, b4, b4, b4, b4, g, bg2_5, bg2_5, bg2_11, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, g, a2, a2, a2, a2, a2, a2, a2, a1, g, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_10, bg2_11, bg2_1, bg2_1, bg2_1, bg2_1],
[bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_5, g, b1, b4, b4, b4, b4, b4, b2, g, bg2_5, bg2_11, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, g, a2, a2, a2, a2, a2, a2, a2, a1, a1, g, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_15, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_1, bg2_10, bg2_11, bg2_1, bg2_1, bg2_1, bg2_1],
[bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, g, b1, b1, b2, b2, b4, b4, b2, g, bg2_10, bg2_11, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, g, a2, a2, a2, a2, a2, a1, a1, a1, a1, a1, g, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_15, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_1, bg2_10, bg2_11, bg2_1, bg2_1, bg2_1, bg2_1],
[bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_6, bg2_6, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, g, b1, b1, b4, b4, g, g, bg2_1, bg2_10, bg2_11, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, g, g, g, g, g, g, g, g, g, g, g, g, g, g, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_15, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_1, bg2_10, bg2_11, bg2_1, bg2_1, bg2_1, bg2_1],
[bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_7, bg2_5, g, b2, g, g, e2, e2, g, bg2_10, bg2_11, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, g, g, g, g, g, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, g, g, g, g, g, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_1, bg2_15, bg2_15, bg2_15, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_1, bg2_10, bg2_11, bg2_1, bg2_1, bg2_1, bg2_1],
[bg2_2, bg2_2, bg2_2, bg2_2, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_7, bg2_7, g, e2, e2, e2, e2, g, bg2_10, bg2_11, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, g, g, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, g, g, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_15, bg2_15, bg2_15, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_12, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_2, bg2_10, bg2_11, bg2_2, bg2_2, bg2_2, bg2_2],
[bg2_2, bg2_2, bg2_6, bg2_6, bg2_6, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_7, bg2_7, bg2_7, bg2_5, g, e1, e2, e2, e2, j, g, bg2_11, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, g, g, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, g, g, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_15, bg2_15, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_12, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_2, bg2_10, bg2_11, bg2_2, bg2_2, bg2_2, bg2_2],
[bg2_2, bg2_2, bg2_6, bg2_6, bg2_6, bg2_6, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_7, bg2_7, bg2_7, g, e2, j, j, e2, e2, g, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, g, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, g, g, g, g, g, g, g, g, g, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, g, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_15, bg2_15, bg2_15, bg2_13, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_12, bg2_12, bg2_12, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_2, bg2_10, bg2_11, bg2_2, bg2_2, bg2_2, bg2_2],
[bg2_2, bg2_2, bg2_6, bg2_6, bg2_6, bg2_6, bg2_6, bg2_5, bg2_5, bg2_5, bg2_7, bg2_5, bg2_7, bg2_7, bg2_7, bg2_5, g, e1, e2, e2, e2, j, g, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, g, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, d2, g, g, g, g, g, g, g, g, g, g, g, a1, a1, a1, a1, a1, a1, a1, a1, a1, g, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_15, bg2_15, bg2_15, bg2_13, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_12, bg2_14, bg2_12, bg2_12, bg2_12, bg2_12, bg2_12, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_10, bg2_11, bg2_2, bg2_2, bg2_2, bg2_2],
[bg2_2, bg2_2, bg2_2, bg2_2, bg2_6, bg2_6, bg2_6, bg2_6, bg2_5, bg2_7, bg2_5, bg2_7, bg2_7, bg2_5, bg2_5, bg2_5, g, e1, e2, j, j, e2, e2, g, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, g, a1, a1, a1, a1, a1, a1, a1, a1, a1, g, g, d1, b3, b3, b3, b3, b3, b3, b3, b3, b3, b3, g, a1, a1, a1, a1, a1, a1, a1, a1, a1, g, bg2_2, bg2_2, bg2_2, bg2_2, g, g, g, bg2_2, bg2_15, bg2_15, bg2_15, bg2_14, bg2_13, bg2_13, bg2_14, bg2_14, bg2_12, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_11, bg2_2, bg2_2, bg2_2, bg2_2],
[bg2_2, bg2_2, bg2_2, bg2_6, bg2_2, bg2_2, bg2_6, bg2_6, bg2_7, bg2_5, bg2_7, bg2_7, bg2_7, bg2_5, bg2_5, bg2_5, bg2_5, g, e1, e2, e2, e2, j, g, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, g, a1, a1, a1, a1, a1, a1, a1, a1, a1, g, d2, b3, b3, g, b1, b1, b3, b3, b3, b3, b3, g, g, a1, a1, a1, a1, a1, a1, a1, a1, a1, g, bg2_2, g, g, g, r2, g, r2, g, bg2_15, bg2_15, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_12, bg2_12, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_11, bg2_2, bg2_2, bg2_2, bg2_2],
[bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_6, bg2_6, bg2_5, bg2_7, bg2_7, bg2_7, bg2_5, bg2_5, bg2_5, bg2_7, bg2_5, g, e1, e2, j, j, e2, e2, g, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, g, g, a1, a1, a1, a1, a1, a1, g, g, d1, b3, b3, g, g, g, b1, b3, b3, b3, g, g, b1, g, a1, a1, a1, a1, a1, a1, g, g, bg2_2, g, r2, g, r2, r2, r2, r2, g, q, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, g, bg2_12, bg2_14, bg2_14, bg2_14, bg2_12, bg2_12, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_2, bg2_2, bg2_2, bg2_2],
[bg2_2, bg2_2, bg2_2, bg2_2, bg2_6, bg2_6, bg2_5, bg2_7, bg2_7, bg2_7, bg2_7, bg2_5, bg2_5, bg2_5, bg2_7, bg2_5, bg2_5, bg2_5, g, e1, e2, e2, e2, j, g, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, g, g, a1, a1, a1, g, b2, b2, d2, b3, b3, b3, b3, b3, g, b3, b3, g, b3, b3, b3, g, a1, a1, a1, a1, g, g, bg2_2, bg2_2, bg2_2, bg2_2, g, r2, r2, r2, g, g, g, q, g, bg2_14, bg2_14, bg2_14, g, r2, g, bg2_12, bg2_12, bg2_12, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_13, bg2_13, bg2_2, bg2_2, bg2_2, bg2_2],
[bg2_2, bg2_2, bg2_2, bg2_6, bg2_6, bg2_5, bg2_5, bg2_5, bg2_7, bg2_7, bg2_7, bg2_5, bg2_5, bg2_5, bg2_7, bg2_7, bg2_5, bg2_5, g, e1, e2, j, j, e2, g, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, g, g, g, g, b2, b1, d1, b3, b3, b3, w, g, b3, b3, b2, b3, g, b3, b3, g, g, g, g, g, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, g, g, g, g, r1, r1, r1, g, q, g, g, g, r2, r2, g, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_12, bg2_12, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_13, bg2_14, bg2_11, bg2_2, bg2_2, bg2_2, bg2_2],
[bg2_2, bg2_2, bg2_6, bg2_6, bg2_6, bg2_5, bg2_5, bg2_7, bg2_5, bg2_7, bg2_7, bg2_5, bg2_5, bg2_7, bg2_5, bg2_5, bg2_5, bg2_5, g, e1, j, e2, e2, e2, g, g, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, g, b2, d2, b3, b3, b3, b3, b3, b3, b3, b1, b3, b3, b3, b3, g, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, g, r1, r1, r1, r1, i1, i1, i1, g, q, s3, s3, s3, s3, s3, g, bg2_14, bg2_14, bg2_14, bg2_12, bg2_12, bg2_12, bg2_12, bg2_14, bg2_13, bg2_13, bg2_13, bg2_13, bg2_14, bg2_10, bg2_11, bg2_2, bg2_2, bg2_2, bg2_2],
[bg2_2, bg2_2, bg2_2, bg2_2, bg2_6, bg2_6, bg2_5, bg2_5, bg2_7, bg2_7, bg2_7, bg2_7, bg2_7, bg2_5, bg2_5, bg2_5, bg2_5, g, k, g, e1, e2, e2, g, g, f1, g, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, g, d1, b1, b3, b3, b3, b3, b3, b3, b1, b3, b3, b3, b3, g, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, g, i1, i1, i1, i1, g, g, g, g, s3, q, s3, s3, i1, i2, g, bg2_12, bg2_12, bg2_12, bg2_12, bg2_14, bg2_14, bg2_12, bg2_14, bg2_14, bg2_14, bg2_14, bg2_13, bg2_14, bg2_10, bg2_11, bg2_2, bg2_2, bg2_2, bg2_2],
[bg2_2, bg2_2, bg2_2, bg2_2, bg2_6, bg2_6, bg2_5, bg2_5, bg2_5, bg2_5, bg2_7, bg2_7, bg2_7, bg2_5, bg2_5, bg2_5, bg2_5, g, k, g, e1, e1, e1, g, f1, f1, f1, g, g, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, g, d2, b1, b1, b3, b3, b3, b3, b1, b3, b1, b3, b3, b3, g, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, q, g, g, g, g, r2, r2, r2, g, s3, q, s3, s3, s3, i2, g, bg2_14, bg2_14, bg2_12, bg2_14, bg2_14, bg2_14, bg2_12, bg2_14, bg2_14, bg2_14, bg2_13, bg2_13, bg2_14, bg2_10, bg2_11, bg2_2, bg2_2, bg2_2, bg2_2],
[bg2_2, bg2_2, bg2_6, bg2_6, bg2_6, bg2_6, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_7, bg2_7, bg2_7, bg2_5, bg2_5, g, k, k, k, g, g, g, f1, f1, f1, h1, f1, f1, g, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, g, d1, b1, b2, b2, b2, b3, g, g, b2, g, g, b3, b2, g, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, q, g, r2, r2, r2, r2, r2, r2, g, s3, s3, q, s3, s3, s3, g, bg2_14, bg2_14, bg2_12, bg2_14, bg2_14, bg2_14, bg2_12, bg2_14, bg2_14, bg2_14, bg2_13, bg2_14, bg2_14, bg2_10, bg2_11, bg2_2, bg2_2, bg2_2, bg2_2],
[bg2_2, bg2_2, bg2_2, bg2_6, bg2_6, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_7, bg2_7, bg2_7, g, f1, g, g, g, g, f1, f1, f1, f1, f1, f1, f1, f1, f1, g, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, g, d2, b1, b2, b3, b3, g, g, c2, c2, c2, g, g, b3, g, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, q, s3, g, r2, r2, r2, r2, g, s2, s3, s3, s3, q, s3, s3, g, bg2_14, bg2_14, bg2_12, bg2_14, bg2_14, bg2_14, bg2_12, bg2_14, bg2_14, bg2_13, bg2_13, bg2_14, bg2_14, bg2_10, bg2_11, bg2_2, bg2_2, bg2_2, bg2_2],
[bg2_2, bg2_2, bg2_6, bg2_2, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_7, bg2_7, g, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, g, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, d1, b2, b3, g, g, g, b3, b3, b3, b3, b3, g, g, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, bg2_2, q, s3, s3, g, g, g, g, s2, s2, s2, s3, s3, q, s3, s3, g, bg2_14, bg2_14, bg2_12, bg2_14, bg2_14, bg2_12, bg2_12, bg2_14, bg2_14, bg2_13, bg2_14, bg2_14, bg2_14, bg2_10, bg2_11, bg2_2, bg2_2, bg2_2, bg2_2],
[bg2_3, bg2_3, bg2_3, bg2_6, bg2_6, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_7, bg2_7, g, f1, f1, f1, f1, h1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, h1, f1, g, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, d2, g, g, g, g, g, g, g, g, g, g, g, g, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, q, g, s3, s2, s2, s2, s2, s2, s2, s2, s2, s3, s3, q, s3, s3, g, bg2_14, bg2_12, bg2_14, bg2_14, bg2_14, bg2_12, bg2_14, bg2_13, bg2_14, bg2_14, bg2_14, bg2_14, bg2_10, bg2_11, bg2_3, bg2_3, bg2_3, bg2_3],
[bg2_3, bg2_3, bg2_3, bg2_6, bg2_6, bg2_6, bg2_5, bg2_5, bg2_5, bg2_7, bg2_7, bg2_7, bg2_7, bg2_7, bg2_7, g, f1, f1, h1, h1, f1, f1, f1, h1, f1, f1, f1, f1, f1, h1, f1, f1, g, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, d1, g, g, g, g, g, g, g, g, g, g, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, q, bg2_3, g, s3, s2, s2, s2, s2, s2, s2, s2, s2, s2, s3, q, s3, s3, g, bg2_14, bg2_12, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_13, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_11, bg2_3, bg2_3, bg2_3, bg2_3],
[bg2_3, bg2_3, bg2_6, bg2_6, bg2_6, bg2_6, bg2_6, bg2_5, bg2_7, bg2_7, bg2_7, bg2_7, bg2_7, bg2_7, bg2_7, g, h1, h1, h1, h1, h1, h1, h1, f1, f1, h1, f1, f1, f1, f1, f1, f1, f1, g, g, g, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, d2, g, g, g, g, g, g, g, g, g, g, g, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, q, bg2_3, g, s3, s2, s2, s2, s2, s2, s2, s2, s2, s2, s3, s3, q, s3, g, bg2_14, bg2_12, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_3, bg2_3, bg2_3, bg2_3],
[bg2_3, bg2_3, bg2_3, bg2_6, bg2_6, bg2_6, bg2_5, bg2_5, bg2_7, bg2_7, bg2_7, bg2_5, bg2_5, bg2_7, bg2_5, g, h1, h1, h1, h1, h1, h1, f1, h1, h1, f1, f1, f1, h1, f1, f1, f1, f1, h1, f1, f1, g, g, g, bg2_3, bg2_3, bg2_3, g, g, d1, g, g, g, g, g, g, g, g, w, w, g, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, q, bg2_3, g, s3, s3, s2, s2, s2, s2, s2, s2, s2, s2, s2, s3, s3, q, g, bg2_14, bg2_12, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_11, bg2_3, bg2_3, bg2_3, bg2_3],
[bg2_3, bg2_3, bg2_3, bg2_6, bg2_6, bg2_6, bg2_5, bg2_5, bg2_7, bg2_7, bg2_7, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, g, h1, h1, h1, h1, f1, f1, h1, h1, f1, h1, h1, f1, f1, f1, f1, f1, h1, f1, f1, f1, f1, f1, g, g, g, w, i2, i2, d2, g, g, g, g, g, g, w, w, g, g, g, g, g, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, q, bg2_3, g, s3, s3, s2, s2, s2, s2, s2, s2, s2, s2, s2, s2, s3, q, g, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_14, bg2_13, bg2_13, bg2_13, bg2_10, bg2_11, bg2_3, bg2_3, bg2_3, bg2_3],
[bg2_3, bg2_3, bg2_3, bg2_6, bg2_6, bg2_6, bg2_5, bg2_5, bg2_7, bg2_7, bg2_7, bg2_5, bg2_5, bg2_8, bg2_8, bg2_8, g, h1, h1, h1, f1, f1, h1, h1, h1, h1, h1, f1, f1, f1, f1, f1, f1, f1, h1, f1, f1, f1, f1, h1, f1, h1, g, g, w, i2, i2, g, g, g, g, g, w, g, f2, f2, f2, f2, f2, g, bg2_3, bg2_3, bg2_3, bg2_3, q, bg2_3, g, s1, s3, s3, s2, s2, s2, s2, s2, s2, s2, s2, s2, s2, s3, q, bg2_14, bg2_14, bg2_13, bg2_13, bg2_13, bg2_13, bg2_13, bg2_13, bg2_13, bg2_3, bg2_3, bg2_3, bg2_10, bg2_11, bg2_3, bg2_3, bg2_3, bg2_3],
[bg2_3, bg2_3, bg2_6, bg2_6, bg2_6, bg2_6, bg2_5, bg2_5, bg2_8, bg2_8, bg2_8, bg2_8, bg2_8, bg2_5, bg2_5, g, f1, h1, h1, f1, f1, h1, h1, h1, h1, h1, f1, f1, f1, f1, f1, f1, f1, f1, h1, f1, f1, f1, f1, f1, f1, f1, f1, f1, g, w, w, i2, i2, g, g, w, g, f2, f2, f2, f2, f2, f2, f2, g, bg2_3, bg2_3, bg2_3, q, bg2_3, g, s1, s3, s3, s2, s2, s2, s2, s2, s2, s2, s1, s1, s1, s1, g, bg2_13, bg2_13, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_10, bg2_11, bg2_3, bg2_3, bg2_3, bg2_3],
[bg2_3, bg2_3, bg2_6, bg2_6, bg2_6, bg2_8, bg2_8, bg2_8, bg2_5, bg2_5, bg2_7, bg2_7, bg2_7, bg2_5, bg2_5, g, f1, f1, f1, f1, h1, h1, h1, h1, h1, h1, f1, f1, f1, f1, f1, f1, f1, h1, h1, f1, f1, f1, f1, h1, f1, f1, f1, f1, f1, g, w, w, g, w, w, w, g, f2, f2, f2, f2, f2, f2, f2, h2, g, bg2_3, bg2_3, q, bg2_3, g, s1, s3, s3, s2, s2, s2, s2, s2, s1, s1, s1, s1, s1, s1, g, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_10, bg2_11, bg2_3, bg2_3, bg2_3, bg2_3],
[bg2_3, bg2_3, bg2_3, bg2_6, bg2_6, bg2_6, bg2_6, bg2_5, bg2_5, bg2_7, bg2_7, bg2_7, bg2_5, bg2_5, bg2_5, g, f1, f1, f1, h1, h1, h1, h1, h1, h1, h1, f1, f1, h1, h1, f1, f1, h1, h1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, g, g, w, w, w, g, f2, f2, f2, f2, f2, f2, f2, f2, h2, f2, g, q, bg2_3, bg2_3, bg2_3, g, s1, s3, s2, s2, s1, s1, s1, s1, s1, s1, s1, s1, g, g, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_10, bg2_11, bg2_3, bg2_3, bg2_3, bg2_3],
[bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_6, bg2_6, bg2_5, bg2_5, bg2_7, bg2_7, bg2_5, bg2_5, bg2_5, g, f1, f1, h1, h1, h1, h1, h1, h1, h1, h1, f1, f1, h1, h1, f1, f1, g, h1, h1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, g, w, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, h2, f2, g, q, bg2_3, bg2_3, bg2_3, g, s1, s1, s1, s1, s1, s1, s1, s1, s1, s1, s1, g, s2, g, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_10, bg2_11, bg2_3, bg2_3, bg2_3, bg2_3],
[bg2_3, bg2_3, bg2_3, bg2_3, bg2_6, bg2_6, bg2_6, bg2_5, bg2_5, bg2_7, bg2_7, bg2_7, bg2_7, bg2_7, g, f1, h1, h1, f1, h1, h1, h1, h1, h1, h1, h1, h1, h1, f1, f1, g, bg2_3, g, g, h1, h1, h1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, g, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, h2, f2, f2, f2, q, g, bg2_3, g, g, s1, s1, s1, s1, s1, s1, s1, s1, s1, s1, s1, g, s2, g, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_10, bg2_11, bg2_3, bg2_3, bg2_3, bg2_3],
[bg2_3, bg2_3, bg2_3, bg2_6, bg2_6, bg2_6, bg2_5, bg2_5, bg2_5, bg2_5, bg2_7, bg2_7, bg2_7, bg2_7, g, h1, h1, h1, h1, h1, f1, f1, f1, f1, f1, f1, f1, f1, g, g, bg2_3, bg2_3, bg2_3, g, h1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, f1, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, h2, f2, f2, f2, q, g, g, t2, g, g, s1, s1, s1, s1, s1, s1, s1, s1, s1, g, s2, s2, g, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_10, bg2_11, bg2_3, bg2_3, bg2_3, bg2_3],
[bg2_3, bg2_3, bg2_6, bg2_6, bg2_6, bg2_6, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, g, g, g, g, g, g, g, g, g, g, g, g, n1, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, g, g, h1, f1, f1, f1, f1, h1, h1, h1, h1, h1, g, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, h2, f2, f2, f2, q, g, t1, t2, g, g, s1, s1, s1, s1, s1, s1, s1, s1, g, s3, s3, s2, g, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_10, bg2_11, bg2_3, bg2_3, bg2_3, bg2_3],
[bg2_3, bg2_3, bg2_3, bg2_6, bg2_6, bg2_6, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_7, bg2_7, bg2_5, bg2_5, bg2_7, bg2_5, bg2_3, bg2_10, bg2_11, bg2_3, bg2_3, g, n1, m1, n1, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, g, h1, f1, f1, f1, f1, f1, h1, h1, h1, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, q, f2, g, t1, t2, g, s3, g, g, g, g, g, g, g, g, s3, s3, s2, g, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_10, bg2_11, bg2_3, bg2_3, bg2_3, bg2_3],
[bg2_3, bg2_3, bg2_3, bg2_3, bg2_6, bg2_6, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_7, bg2_7, bg2_5, bg2_5, bg2_7, bg2_5, bg2_7, bg2_5, bg2_10, bg2_11, bg2_3, bg2_3, bg2_3, p1, n1, m1, p2, bg2_3, bg2_3, bg2_3, bg2_3, g, h1, f1, f1, f1, f1, h1, h1, h1, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, q, f2, g, t1, g, s3, s3, s2, s1, s1, s1, s1, s1, s1, s3, s3, s3, s2, g, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_3, bg2_10, bg2_11, bg2_3, bg2_3, bg2_3, bg2_3],
[bg2_4, bg2_4, bg2_4, bg2_4, bg2_6, bg2_6, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_7, bg2_7, bg2_7, bg2_5, bg2_5, bg2_5, bg2_7, bg2_5, bg2_10, bg2_11, g, n1, p1, m1, p1, p2, m1, n2, bg2_4, bg2_4, bg2_4, g, h1, f1, h1, h1, h1, h1, g, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, h2, f2, f2, f2, f2, f2, h2, f2, q, f2, g, t2, t2, g, s3, s3, s2, s2, s1, s1, s1, s1, s3, s3, s3, s3, s2, g, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_10, bg2_11, bg2_4, bg2_4, bg2_4, bg2_4],
[bg2_4, bg2_4, bg2_4, bg2_6, bg2_6, bg2_6, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_7, bg2_7, bg2_7, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_11, n1, m1, n1, p1, m1, bg2_4, n2, m1, n2, bg2_4, bg2_4, bg2_4, g, h1, f1, h1, f1, g, f2, f2, f2, h2, h2, f2, f2, f2, f2, f2, f2, h2, f2, f2, f2, f2, f2, f2, f2, f2, q, f2, g, t1, t1, g, s3, s3, s2, s2, s1, s1, s1, s1, s3, s3, s3, s3, s2, g, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_10, bg2_11, bg2_4, bg2_4, bg2_4, bg2_4],
[bg2_4, bg2_4, bg2_4, bg2_6, bg2_6, bg2_6, bg2_6, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_7, bg2_7, bg2_7, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_4, n1, m1, bg2_4, bg2_4, m1, bg2_4, n2, m1, g, g, bg2_4, g, h1, f1, f1, g, f2, f2, f2, h2, h2, f2, f2, f2, f2, f2, f2, h2, f2, f2, f2, f2, f2, f2, f2, h2, q, f2, g, t1, t1, t2, g, s3, s3, s3, s2, s2, s1, s1, s1, s3, s3, s3, s3, s2, g, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_10, bg2_11, bg2_4, bg2_4, bg2_4, bg2_4],
[bg2_4, bg2_4, bg2_4, bg2_4, bg2_6, bg2_6, bg2_6, bg2_5, bg2_7, bg2_7, bg2_7, bg2_7, bg2_7, bg2_7, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_8, bg2_8, bg2_4, bg2_4, p2, m1, n2, bg2_4, m1, bg2_4, bg2_4, g, m2, g, g, h1, g, g, f2, f2, f2, h2, h2, h2, f2, f2, f2, f2, g, g, g, g, g, f2, f2, f2, f2, f2, f2, q, f2, g, t1, t2, t2, g, s3, s3, s3, s2, s2, s1, s1, s3, s3, s3, s3, s3, s2, g, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_10, bg2_11, bg2_4, bg2_4, bg2_4, bg2_4],
[bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_6, bg2_6, bg2_5, bg2_5, bg2_5, bg2_5, bg2_7, bg2_5, bg2_7, bg2_5, bg2_5, bg2_5, bg2_8, bg2_8, bg2_8, bg2_8, bg2_5, bg2_5, bg2_4, n1, n1, p2, m1, n2, bg2_4, m1, g, m2, m2, o, g, g, f2, f2, f2, f2, f2, g, g, g, g, g, g, g, e1, e1, g, e1, e1, g, g, f2, f2, f2, q, f2, f2, g, t1, t2, g, s3, s3, s3, s3, s2, s2, s1, s1, s3, s3, s3, s3, s2, s3, g, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_10, bg2_11, bg2_4, bg2_4, bg2_4, bg2_4],
[bg2_4, bg2_4, bg2_4, bg2_4, bg2_6, bg2_6, bg2_6, bg2_6, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_8, bg2_8, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_11, bg2_4, bg2_4, g, g, g, m1, g, g, m2, m2, o, o, o, g, f2, f2, g, g, g, e1, e1, e1, e1, g, e1, e1, g, e1, g, e1, e1, e1, e1, g, g, g, q, f2, g, g, t2, t2, g, s3, s3, s3, s3, s2, s2, s1, s1, s3, s3, s3, s3, s2, s3, g, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_10, bg2_11, bg2_4, bg2_4, bg2_4, bg2_4],
[bg2_4, bg2_4, bg2_4, bg2_4, bg2_6, bg2_6, bg2_6, bg2_6, bg2_6, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_11, bg2_4, n1, n1, bg2_4, bg2_4, g, m2, m2, m2, o, o, o, o, g, f2, g, e1, e1, e1, e1, e1, e1, g, e1, e1, g, g, g, g, g, g, g, e1, e1, e1, q, g, h2, g, t2, t2, t2, g, s3, s3, s3, s3, s3, s2, s2, s1, s3, s3, s3, s3, s2, s3, g, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_10, bg2_11, bg2_4, bg2_4, bg2_4, bg2_4],
[bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_6, bg2_6, bg2_6, bg2_5, bg2_6, bg2_6, bg2_6, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_10, bg2_11, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, g, o, o, o, o, o, o, g, g, e1, e1, e1, e1, g, g, g, g, e1, e1, g, l1, l1, g, h2, h2, h2, g, g, e1, q, e1, g, g, t1, t1, g, s2, s3, s3, s3, s3, s3, s2, s2, s1, s3, s3, s3, s3, s2, s3, g, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_10, bg2_11, bg2_4, bg2_4, bg2_4, bg2_4],
[bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_6, bg2_6, bg2_6, bg2_6, bg2_6, bg2_6, bg2_6, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_5, bg2_10, bg2_11, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, g, g, o, o, o, o, g, e1, g, g, g, g, h2, g, e1, e1, e1, g, l1, l1, g, f2, f2, f2, f2, h2, h2, g, q, e1, g, t1, t1, t2, g, s2, s3, s3, s3, s3, s3, s2, s2, s1, s3, s3, s3, s3, s2, s3, g, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_10, bg2_11, bg2_4, bg2_4, bg2_4, bg2_4],
[bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_6, bg2_6, bg2_6, bg2_6, bg2_6, bg2_6, bg2_6, bg2_6, bg2_6, bg2_6, bg2_5, bg2_5, bg2_5, bg2_5, bg2_4, bg2_10, bg2_11, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, g, o, o, o, g, g, h2, h2, h2, f2, g, e1, e1, e1, g, g, g, g, f2, h2, f2, f2, f2, f2, h2, q, g, g, t1, t1, t2, t2, g, s2, s3, s3, s3, s3, s3, s3, s2, s2, s1, s3, s3, s2, s3, s3, g, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_10, bg2_11, bg2_4, bg2_4, bg2_4, bg2_4],
[bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_6, bg2_6, bg2_6, bg2_4, bg2_4, bg2_6, bg2_6, bg2_6, bg2_6, bg2_6, bg2_6, bg2_6, bg2_6, bg2_4, bg2_10, bg2_11, bg2_4, bg2_4, g, g, g, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, g, o, g, g, h2, h2, f2, f2, g, e1, e1, g, g, f2, f2, f2, f2, f2, h2, f2, f2, f2, f2, f2, q, f2, g, t1, t2, t1, t1, s2, s2, s3, s3, s3, s3, s3, s3, s2, s2, s1, s3, s3, s2, s3, s3, g, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_10, bg2_11, bg2_4, bg2_4, bg2_4, bg2_4],
[bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_6, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_6, bg2_6, bg2_4, bg2_6, bg2_6, bg2_4, bg2_4, bg2_4, bg2_10, bg2_11, bg2_4, g, l1, l1, l1, g, g, g, g, g, g, g, h2, h2, f2, f2, g, g, e1, e1, g, f2, f2, f2, f2, f2, f2, f2, f2, h2, f2, f2, f2, q, f2, g, g, t2, t1, t1, g, s2, s3, s3, s3, s3, s3, s3, s3, s2, s2, s1, s3, s3, s2, s3, s3, g, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_10, bg2_11, bg2_4, bg2_4, bg2_4, bg2_4],
[bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_10, bg2_11, g, l1, g, g, l1, l1, l1, l1, l1, l1, l1, g, g, g, g, g, e1, e1, e1, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, h2, f2, f2, q, f2, g, t2, t2, t2, t2, g, s2, s3, s3, s3, s3, s3, s3, s3, s2, s2, s1, s3, s3, s2, s3, s3, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g],
[bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_10, g, l1, g, bg2_4, bg2_4, g, g, g, g, g, g, g, g, e1, e1, e1, e1, g, g, g, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, q, f2, g, t1, t1, t2, t2, g, s3, s2, s3, s3, s3, s3, s3, s3, s3, s3, s2, s1, s3, s3, s2, s3, s3, g, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16],
[bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_10, bg2_11, g, bg2_4, bg2_4, bg2_4, bg2_4, g, g, g, e1, e1, e1, e1, g, g, g, g, h2, h2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, q, g, t2, t2, t2, t1, g, s3, s3, s2, s3, s3, s3, s3, s3, s3, s3, s3, s2, s1, s3, s3, s2, s3, s3, g, g, g, g, g, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16],
[bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, bg2_4, g, g, g, g, g, g, g, g, g, g, g, g, g, e1, e1, e1, g, g, g, g, f2, f2, f2, h2, h2, h2, h2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, q, g, t1, t1, t1, t2, g, s3, s3, s3, s2, s3, s3, s3, s3, s3, s3, s3, s3, s2, s1, s3, s3, s2, s3, s3, g, bg2_21, bg2_16, bg2_21, bg2_21, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g],
[g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, g, e1, g, g, g, g, h2, f2, f2, f2, f2, h2, h2, h2, h2, h2, h2, h2, h2, f2, f2, f2, f2, f2, f2, f2, f2, f2, g, t1, t1, t2, t1, g, s2, s3, s3, s2, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s1, s3, s3, s2, s3, s3, s3, g, bg2_16, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_16, bg2_21, bg2_21, bg2_21, bg2_21],
[bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, g, g, e1, g, bg2_16, bg2_16, g, h2, h2, f2, f2, f2, f2, h2, h2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, g, t2, g, g, g, g, s3, s2, s3, s3, s2, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s1, s3, s2, s3, s3, s3, s3, s3, g, bg2_16, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_16, bg2_21, bg2_21, bg2_21, bg2_21],
[bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, g, g, g, g, g, g, g, g, e1, e1, g, g, g, g, h2, h2, f2, f2, f2, f2, h2, h2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, g, t2, g, s3, s3, s3, s3, s3, s3, s3, s3, s2, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s1, s3, s2, s3, s3, s3, s3, s3, g, j, bg2_21, bg2_21, bg2_21, bg2_21, g, g, g, g, bg2_21, bg2_21, bg2_21, bg2_16, bg2_21, bg2_21, bg2_16, bg2_16],
[g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, bg2_21, bg2_21, bg2_21, bg2_16, bg2_21, bg2_21, bg2_21, bg2_21, g, g, bg2_16, bg2_21, g, h2, h2, f2, f2, f2, f2, f2, h2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, g, g, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s1, s3, s2, s3, s3, s3, s3, s3, s3, g, bg2_16, bg2_21, bg2_21, bg2_21, g, bg2_22, bg2_22, g, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_21, bg2_21],
[bg2_21, bg2_21, bg2_21, bg2_21, bg2_16, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_16, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_16, bg2_21, bg2_21, bg2_21, bg2_16, bg2_21, bg2_16, g, h2, h2, f2, f2, f2, f2, h2, h2, h2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, g, q, q, q, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s2, s3, s3, s3, s3, s3, s3, s3, s3, g, bg2_16, bg2_16, bg2_16, g, bg2_22, bg2_22, g, bg2_21, bg2_16, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21],
[bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_21, bg2_21, bg2_21, bg2_21, bg2_16, g, g, g, g, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_21, g, g, h2, h2, h2, h2, h2, h2, h2, h2, h2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, g, q, q, q, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s2, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg2_21, bg2_21, g, bg2_22, bg2_22, g, bg2_21, bg2_16, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21],
[bg2_16, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_16, bg2_16, bg2_16, bg2_16, bg2_21, g, bg2_22, bg2_22, g, bg2_21, bg2_21, bg2_21, bg2_21, bg2_16, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, g, h2, h2, h2, h2, h2, h2, h2, h2, h2, h2, f2, f2, f2, f2, f2, f2, f2, f2, h2, h2, h2, h2, h2, h2, g, q, q, q, q, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg2_21, bg2_21, g, bg2_22, bg2_22, g, bg2_21, bg2_16, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21],
[bg2_16, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_16, bg2_21, bg2_21, bg2_21, g, bg2_22, bg2_22, g, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_16, bg2_21, bg2_21, bg2_21, g, h2, h2, h2, h2, h2, h2, h2, h2, h2, h2, h2, h2, f2, f2, f2, f2, f2, h2, h2, f2, f2, f2, f2, f2, f2, g, q, q, q, q, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg2_21, g, bg2_22, bg2_22, g, bg2_21, bg2_21, bg2_16, bg2_21, bg2_16, bg2_16, bg2_16, bg2_16],
[bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, bg2_21, bg2_16, bg2_21, bg2_21, bg2_21, g, bg2_22, bg2_22, g, bg2_21, bg2_21, bg2_21, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, g, h2, h2, h2, h2, h2, h2, h2, h2, h2, h2, h2, f2, f2, f2, f2, f2, f2, h2, f2, f2, f2, f2, f2, f2, f2, g, s3, g, q, q, q, q, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, g, bg2_22, bg2_22, g, bg2_16, bg2_16, bg2_16, bg2_16, bg2_21, bg2_16, bg2_21, bg2_21],
[bg2_21, bg2_16, bg2_21, bg2_21, bg2_21, bg2_21, bg2_16, bg2_16, bg2_16, bg2_16, bg2_16, g, bg2_22, bg2_22, g, bg2_16, bg2_16, bg2_16, bg2_21, bg2_21, bg2_21, bg2_21, bg2_16, bg2_21, g, h2, h2, h2, h2, h2, h2, h2, h2, h2, h2, f2, f2, f2, f2, h2, h2, f2, f2, f2, f2, g, g, g, g, g, s3, g, q, q, q_2, q_2, g, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, g, g, g, g, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_16, bg2_21, bg2_21],
[bg2_16, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_16, bg2_21, bg2_21, bg2_21, bg2_21, g, bg2_22, bg2_22, g, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, g, g, g, s3, g, h2, h2, h2, h2, h2, h2, h2, h2, f2, f2, f2, h2, h2, f2, h2, f2, f2, h2, g, i1, i1, i1, i1, g, s3, s3, g, q, q_2, q_2, q, q, g, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg2_21, bg2_16, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_16, bg2_21, bg2_21],
[bg2_16, bg2_21, bg2_21, bg2_21, bg2_21, bg2_21, bg2_16, bg2_21, bg2_21, bg2_21, bg2_21, g, bg2_22, bg2_22, g, bg2_21, bg2_21, bg2_21, g, g, g, s3, s3, s3, s3, g, h2, h2, h2, h2, h2, h2, h2, f2, f2, f2, f2, f2, f2, f2, h2, f2, f2, g, i1, i1, i1, i1, g, s3, s3, s3, g, q, q, q, q, q, q, q, g, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, g, g, g, g, g, g, g, bg2_21, bg2_21, bg2_16, bg2_21, bg2_21],
[g, g, g, g, g, g, g, g, g, bg2_21, bg2_21, g, g, g, g, bg2_21, g, g, s3, s3, s3, s3, s3, s3, s3, g, h2, h2, h2, h2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, f2, h2, g, i1, i1, i1, i1, i2, g, s3, s3, s3, s3, g, g, q, q, q, q, q, q, q, g, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, g, g, bg2_17, bg2_17, bg2_17, bg2_17, bg2_17, bg2_17, bg2_17, g, g, g, g, g],
[bg2_17, bg2_17, bg2_17, bg2_17, bg2_17, bg2_17, bg2_17, bg2_17, bg2_17, g, bg2_16, bg2_21, bg2_21, bg2_21, bg2_16, g, s3, s3, s3, s3, s3, s3, g, g, g, q, g, h2, h2, h2, h2, f2, f2, f2, f2, h2, h2, f2, f2, f2, f2, h2, g, i1, i1, i1, i1, i2, g, s3, s3, s3, s3, s3, s3, g, q, q, q, q, q_2, q_2, q, q, g, g, g, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, g, g, q, q, g, g, g, g, g, g, g, g, bg2_17, bg2_17, bg2_17, bg2_17, bg2_17],
[g, g, g, g, g, g, g, g, g, bg2_17, g, bg2_21, bg2_21, bg2_21, g, s3, s3, s3, s3, s3, g, g, q, q, q, q, q, g, h2, h2, h2, h2, h2, h2, h2, h2, f2, f2, f2, f2, f2, g, i1, i1, i1, i1, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, g, g, q, q, q_2, q_2, q, q, q, q, q, q, g, g, g, g, g, g, s3, s3, s3, s3, g, g, g, g, q, q_2, q_2, q, q, g, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, g, g, g, g, g],
[bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, g, bg2_17, g, g, g, s3, s3, s3, g, g, g, q, q_2, q, q, q, q, g, g, g, h2, h2, h2, h2, h2, h2, h2, h2, h2, f2, h2, h2, g, i1, i1, i1, i1, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, g, q, q, q, q, q, q, q, q_2, q_2, q, q, q, q, q, g, g, g, g, q, q, q, q, q, q_2, q_2, q, q, g, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19],
[bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, g, bg2_17, g, s3, s3, g, g, q, q, q, q, q_2, q, g, g, g, s3, s3, g, g, h2, h2, h2, h2, h2, h2, h2, f2, f2, h2, g, i1, i1, i1, i2, i2, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, g, g, q, q, q, q, q_2, q_2, q, q, q, q, g, q_2, q_2, q_2, g, q, q, q, q, q, q, q, g, g, g, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19],
[bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, g, g, s3, s3, g, q, q, q, q, q, g, g, g, s3, s3, s3, s3, s3, g, h2, h2, h2, h2, h2, h2, h2, f2, f2, h2, g, i1, i1, i1, i1, i2, i2, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, g, g, g, q, q, q, q, q, g, q_2, q_2, q_2, q_2, q_2, g, q, q, q, g, g, g, s3, s3, g, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19],
[bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, g, s3, g, g, q, q_2, q, q, q, g, g, s3, s3, s3, s3, s3, s3, g, h2, h2, h2, h2, h2, h2, h2, f2, f2, f2, g, i1, i1, i1, i2, i2, i2, i2, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s2, g, g, g, g, q, g, q_2, q_2, q_2, q_2, q_2, g, g, g, g, s3, s3, s3, s3, s3, g, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19],
[bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, g, s3, g, q, q, q, q_2, q, g, g, s3, s3, s3, s3, s3, s3, s3, s3, g, h2, h2, h2, h2, h2, f2, f2, f2, f2, h2, g, i1, i1, i2, i2, i2, i2, i2, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s2, s2, s2, s2, s2, g, g, q_2, q_2, q_2, q_2, q_2, g, s3, s3, s3, s3, s3, s3, s3, s3, g, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19],
[bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, g, g, g, q, q, q, q, g, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, h2, h2, h2, f2, f2, f2, f2, f2, h2, g, i1, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s2, s3, s3, s3, s3, s2, s2, s2, s2, s2, s2, g, q_2, q_2, q_2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19],
[bg2_19, bg2_19, bg2_19, g, g, g, g, g, q, q, q_2, q, q, g, g, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, f2, f2, f2, f2, f2, f2, h2, h2, g, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s2, s2, s3, s3, s3, s3, s2, s2, s2, s2, s2, s2, g, g, g, g, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19],
[bg2_19, bg2_19, g, t1, t1, t1, t1, g, q, q, q_2, g, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, f2, f2, f2, f2, f2, h2, g, g, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s2, s2, s2, s3, s3, s3, s3, s2, s2, s2, s2, s2, g, q, q, q, g, s3, s3, s3, s3, s3, s3, s3, s3, g, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19],
[bg2_19, g, t2, t2, t2, t2, t2, g, q, g, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, h2, f2, f2, h2, g, g, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s2, s2, s2, s2, s3, s3, s3, s3, s2, s2, s2, s2, g, q, q, q, g, s3, s3, s3, s3, s3, s3, s3, g, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19],
[g, t2, t2, t2, t2, t1, t1, g, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, h2, g, g, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s2, s2, s2, s2, s2, s2, s3, s3, s3, s3, s2, s2, s2, g, q, q, q, g, s3, s3, s3, s3, s3, s3, s3, g, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, g, g, g, g, g, g],
[g, t2, t2, t1, t1, t2, t2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, g, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s2, s2, s2, s2, s2, s2, s2, s3, s3, s3, s3, s2, s2, g, q, q, q, g, s3, s3, s3, s3, s3, s3, g, g, g, g, g, bg2_19, bg2_19, bg2_19, bg2_19, g, g, bg2_18, bg2_18, bg2_18, bg2_18, bg2_18],
[t2, t1, t1, t1, t1, t2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s2, g, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, s2, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s2, s2, s2, s2, s2, s2, s2, s2, s2, s3, s3, s3, s3, s3, g, q, q, q, g, s3, s3, s3, s3, s3, s3, g, g, bg2_19, bg2_19, bg2_19, g, g, g, bg2_19, g, bg2_18, bg2_18, bg2_18, bg2_18, bg2_18, bg2_18],
[t1, t1, t1, t1, t1, t2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s2, s2, s2, g, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, s2, s2, s3, s3, s3, s3, s3, s2, s3, s3, s3, s3, s2, s2, s2, s2, s2, s2, s2, s2, s2, s2, s3, s3, s3, s3, g, q, q, q, g, s3, s3, s3, s3, s3, g, s3, s3, g, bg2_19, bg2_19, bg2_19, bg2_19, g, g, g, bg2_18, bg2_18, bg2_18, bg2_18, bg2_18, bg2_18],
[t2, t1, t1, t1, t2, t2, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s2, s2, s2, s2, g, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, s2, s2, s3, s3, s3, s3, s3, s3, s3, s2, s2, s2, s2, s2, s2, s2, s2, s2, s2, s2, s2, s2, s2, s2, s2, s2, s2, g, q, q, q, g, s3, s3, s3, s3, g, s3, s3, s3, s3, g, bg2_19, bg2_19, bg2_19, bg2_19, g, bg2_18, bg2_18, bg2_18, bg2_18, bg2_18, bg2_18, bg2_18],
[t1, t1, t1, t1, t2, t1, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s2, s2, s2, s2, s2, g, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, s2, s2, s3, s3, s3, s3, s3, g, s3, s3, s2, s2, s2, s2, s2, s2, s2, s2, s3, s2, s2, s2, s2, s2, s2, s2, s2, s2, g, q, q, q, g, s3, s3, s3, g, s3, s3, s3, s3, s3, s3, g, bg2_19, bg2_19, bg2_19, g, g, bg2_18, bg2_18, bg2_18, bg2_18, bg2_18, bg2_18],
[t1, t1, t1, t2, t2, t1, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s2, s2, s2, s2, s2, s2, g, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, s2, s2, s2, s3, s3, s3, s3, s3, s3, g, s3, s3, s2, s2, s2, s2, s3, s3, s3, s3, s3, s2, s2, s2, s2, s2, s2, s2, g, q, q, q, g, s3, s3, s3, g, s2, s3, s3, s3, s3, s3, s3, s3, g, bg2_19, bg2_19, bg2_19, g, bg2_18, bg2_18, bg2_18, bg2_18, bg2_18, bg2_18],
[t2, t1, t1, t2, t1, t1, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s2, s2, s2, s2, s2, s2, g, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, s2, s2, s2, s3, s3, s3, s3, s3, s3, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s2, s2, s2, s2, s2, s2, g, q, q, q, g, s3, g, g, s2, s2, s2, s2, s2, s2, s3, s3, s3, s3, g, bg2_19, bg2_19, g, g, bg2_18, bg2_18, bg2_18, bg2_18, bg2_18],
[t1, t2, t1, t2, t1, t1, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s2, s2, s2, s2, s2, s2, s2, g, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, g, s2, s2, s3, s3, s3, s3, s3, s3, s3, g, g, s3, s3, s3, s3, s3, s3, s2, s3, s3, s3, s3, s3, s2, s2, s2, s2, g, q, q, q, q, g, g, s3, s2, s2, s2, s2, s3, s3, s3, s3, s3, s3, s3, s3, g, bg2_19, bg2_19, g, bg2_18, bg2_18, g, g, g],
[t1, t1, t2, t2, t1, t1, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s2, s2, s2, s2, s2, s2, s2, s2, g, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, s2, s2, s2, s3, s3, s3, s3, s3, s3, s3, s3, g, s3, s3, s3, s2, s3, s3, s3, s2, s2, s3, s3, s3, s3, s3, s3, s3, g, g, g, g, g, s2, s2, s3, s3, s3, s3, s2, s2, s3, s3, s3, s3, s3, s3, s3, s3, g, bg2_19, g, g, g, g, bg2_20, bg2_20],
[t1, t1, t2, t2, t1, t1, t1, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s2, s2, s2, s3, s2, s2, s2, s2, s2, g, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, s2, s2, s2, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, s3, s3, s2, s2, s3, s3, s3, s2, s3, s3, s3, s3, s3, s3, s3, g, g, bg2_19, g, s3, s3, s2, s2, s2, s2, s2, s3, s3, s2, s2, s2, s3, s3, s3, s3, s3, s3, g, g, g, bg2_20, bg2_20, bg2_20, bg2_20],
[t1, t1, t2, t1, t1, t1, t1, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s2, s2, s2, s3, s2, s2, s2, s2, s2, g, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, s2, s2, s2, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, s3, s3, s3, s2, s2, s3, s3, s2, s2, s3, s3, s3, s3, s3, s3, g, g, g, bg2_19, g, g, g, g, s3, s3, s2, s2, s2, s2, s2, s2, s2, s2, s2, s3, s3, s3, s3, g, bg2_20, bg2_20, bg2_20, bg2_20, bg2_20],
[t2, t1, t2, t1, t1, t1, t1, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s2, s2, s2, s3, s3, s2, s2, s2, s2, s2, g, i2, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, s2, s2, s2, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, s3, s3, s3, s2, s2, s3, s2, s2, s3, s3, s3, s3, s3, g, bg2_21, bg2_21, g, g, bg2_19, bg2_19, bg2_19, bg2_19, g, g, g, s3, s3, s3, s3, s3, s3, s3, s2, s2, s3, s3, s3, s3, g, bg2_20, bg2_20, bg2_20, bg2_20],
[t2, t1, t2, t1, t1, t1, t1, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s2, s2, s2, s3, s3, s2, s2, s2, s2, s2, g, i2, i2, i2, i2, i2, i2, i2, i2, i2, g, s2, s2, s2, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, s3, s3, s3, s3, s2, s2, s2, s2, s2, s3, s3, s3, s3, g, bg2_21, bg2_21, bg2_21, g, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, bg2_19, g, g, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, s3, g, bg2_20, bg2_20, bg2_20, bg2_20],
]
KimChungSun1 = [
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, g, g, g, g, g, g, g, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, u1, u1, u1, u1, u1, u1, u1, u1, g, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, u1, u1, u1, u1, u1, u1, u1, u1, g, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, u1, u1, u1, u1, u1, u1, u1, u1, u1, u1, g, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, u1, u1, u1, u1, u1, u1, u1, u1, u1, u1, g, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, u1, u1, u1, u1, u1, u1, u1, u1, u1, u1, u1, u1, g, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, u1, u1, u1, u1, u1, u1, u1, u1, u1, u1, u1, u1, g, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, u1, u1, u1, g, g, g, g, g, g, u1, u1, u1, g, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, g, g, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, u1, g, g, g, u2, u2, u2, u2, u2, u2, g, g, g, u1, g, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, g, g, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, u3, u3, u3, g, g, g, g, bg1_3, bg1_4, g, g, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, g, g, bg1_4, bg1_4, g, g, g, g, u3, u3, u3, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, u3, u3, u3, u3, u3, u3, u3, u3, g, g, g, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, g, g, g, u3, u3, u3, u3, u3, u3, u3, u3, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, u3, u3, u3, u3, u3, u3, u3, u3, u3, u3, u3, g, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, g, u3, u3, u3, u3, u3, u3, u3, u3, u3, u3, u3, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, u3, u3, u3, u3, u3, u3, u3, u3, u3, u3, u3, g, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, g, u3, u3, u3, u3, u3, u3, u3, u3, u3, u3, u3, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, u3, u3, u3, u3, u3, u3, u3, u3, u3, u3, g, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, g, u3, u3, u3, u3, u3, u3, u3, u3, u3, u3, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, u3, u3, u3, u3, u3, u3, u3, u3, u3, g, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, g, u3, u3, u3, u3, u3, u3, u3, u3, u3, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, g, u3, u3, u3, g, g, g, g, g, u2, u2, u2, g, g, g, g, g, g, g, g, g, g, u2, u2, u2, g, g, g, g, g, u3, u3, u3, g, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, g, g, bg1_4, bg1_4, bg1_4, bg1_4, g, g, g, g, x2, x2, x2, x2, x2, x2, x2, x2, x2, x1, g, g, g, g, bg1_5, bg1_5, bg1_5, bg1_5, g, g, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, v3, x2, x2, x2, x2, x2, x2, x2, x2, x2, x2, x2, x2, x2, x2, v3, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, g, v3, x2, x2, v1, v1, v1, x2, x2, x2, x2, v1, v1, v1, x2, x2, v3, g, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, x1, g, x2, x2, x2, v4, g, w, v1, z1, x2, v1, w, g, v4, x2, x2, x2, g, x1, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, x1, g, x1, x2, x2, x2, x2, x2, x2, z1, x2, x2, x2, x2, x2, x2, x2, x2, g, x1, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, g, x1, x2, x2, x2, x2, x2, z1, x2, x2, x2, x2, x2, x2, x2, x1, x2, g, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, x1, x1, x1, x2, x2, x2, z1, x2, x2, z1, x2, x2, x2, x1, x1, x2, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, x2, x1, x2, x2, x2, v3, v3, v3, v3, v3, v3, x2, x2, x2, x2, x2, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, x2, x2, x2, v3, v4, v4, v4, v4, v4, v4, v3, x2, x2, x2, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, x2, x2, v3, v4, x2, y1, y1, y1, y1, x2, v4, v3, x2, x2, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, v3, v4, x2, x2, x2, y2, y2, x2, x2, x2, v4, v3, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, v3, v3, v3, x2, v3, v4, v4, v3, x2, v3, v3, v3, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, g, v3, v3, v3, v3, v4, v3, v3, v4, v3, v3, v3, v3, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, g, v2, v3, v3, v3, v3, v3, v3, v4, v3, v3, v3, v3, v2, w, g, g, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, g, w, w, v2, v3, v3, v3, v3, v3, v3, v3, v3, v3, w, w, w, g, aa, g, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, g, g, aa, aa, g, w, w, v2, v2, v3, v3, v3, v3, v3, v3, w, w, w, g, aa, aa, aa, g, g, g, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, g, g, g, ab3, g, ab3, aa, aa, ab3, g, w, w, w, v2, v3, v3, v3, w, w, w, w, w, g, aa, ab3, g, ab3, ab3, ab3, g, g, g, g, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, g, g, ab3, ab3, ab3, ab3, ab3, ab3, g, aa, aa, ab3, g, w, w, w, w, v2, v3, w, w, w, w, w, g, aa, aa, ab3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, g, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, aa, aa, aa, aa, g, w, w, w, w, w, w, w, w, w, w, g, aa, aa, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, aa, aa, aa, aa, g, w, w, w, w, w, w, w, w, g, ab3, aa, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, aa, aa, aa, g, g, w, w, w, w, g, g, ab3, aa, aa, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, aa, aa, aa, ab3, g, g, g, g, aa, aa, aa, aa, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, aa, aa, aa, ab3, aa, aa, aa, aa, aa, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, g, aa, aa, aa, ab3, ab3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, g, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab1, ab3, g, g, g, g, g, g, g, v3, v3, v3, v3, v3, v3, v3, v3, v3, v3, v3, v3, v3, v3, v3, g, g, g, g, g, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, g, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab1, g, v3, v3, v3, v3, v3, v3, v3, ad, ac2, ag1, ag1, ac2, ad, ad, ag1, ag1, ad, ad, ac2, ag1, ag1, ag1, v3, v3, v3, v3, v3, v3, v3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab1, ab3, g, ac2, ad, ag1, ag1, ad, ac2, ag1, ad, ad, ag1, ag1, ac2, ad, ad, ag1, ag1, ac2, ad, ad, ac2, ag1, ad, ac2, ad, ag1, ad, ad, ag1, ag1, g, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, af2, af2, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab1, ab3, g, ag1, ad, ac2, ad, ad, ac2, ag1, ag1, ad, ad, ac2, ad, ad, ac2, ac2, ac2, ac1, ac2, ag1, ac2, ad, ad, ag1, ad, ac2, ad, ac2, ag1, ad, g, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab1, ab3, g, ad, ae1, ad, ad, ae1, ae1, ae1, ae1, ag1, ag1, ag1, ag1, ag1, ag1, ag1, ag1, ag1, ag1, ae1, ae1, ae1, ae1, ae1, ag1, ag1, ag1, ad, ad, ad, g, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab1, ab3, g, ae1, ac2, ae1, ac1, ad, ac2, ae1, ac2, ae1, ag1, ae1, ac2, ac2, ac2, ae1, ac2, ae1, ac2, ae1, ac2, ae1, ac2, ae1, ac2, ae1, ad, ac2, ag1, ag1, g, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab1, ab3, ab3, g, ag1, ae1, ae1, ag1, ac2, ac2, ac1, ac2, ac1, ac2, ac2, ac1, ae1, ac2, ag1, ae1, ac1, ac2, ac2, ac1, ac1, ac2, ac2, ac1, ag1, ag1, ae1, ae1, ac1, g, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab1, ab3, ab3, g, ae2, ac2, ac2, ac1, ae1, ae1, ag1, ac2, ac2, ac1, ac2, ae1, ag1, ac2, ag1, ag1, ae1, ac2, ac1, ac2, ac2, ag1, ag1, ae1, ac2, ac1, ac1, ac1, ac2, g, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, g, ae2, ae2, ad, ae2, ac2, ac1, ac2, ae1, ag1, ac2, ae1, ae1, ac2, ac2, ac2, ag1, ae1, ae1, ac2, ag1, ae1, ac2, ac2, ac1, ae2, ae2, ae2, ae2, ac2, g, ab3, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab1, ab3, ab3, ab3, g, ac2, ad, ae2, ad, ae2, ae2, ac2, ac1, ac2, ae1, ae1, ab3, ae1, ac2, ae1, ae1, ab3, ag1, ae1, ac1, ac2, ae2, ae2, ae2, ac2, ac2, ac2, ac2, ac2, g, ab3, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, g, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab1, ab3, ab3, ab3, g, ad, ac2, ad, ac2, ad, ac2, ac2, ae1, ae1, ac2, ae1, ae1, ae1, ae1, ac2, ac2, ae1, ae1, ae1, ae1, ag1, ac2, ac2, ac2, ae2, ae2, ae2, ae2, ac2, g, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, g, af2, af2, g, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, g, ac2, ac2, ac2, ac1, ae1, ae1, ae1, ac2, ac2, ac2, ac2, ae1, ae1, ac2, ac2, ae1, ae1, ac2, ac2, ac2, ac2, ae1, ag1, ae1, ac2, ac2, ac2, ac2, g, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, g, af2, af2, af2, g, ab1, ab3, ab3, ab1, ab1, ab1, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, g, ag1, ae1, ae1, ae1, ac2, ac2, ag1, ac2, ag1, ac2, ac2, ac2, ae1, ae1, ac2, ae1, ac2, ag1, ac2, ac2, ag1, ac2, ac2, ac2, ag1, ae1, ae1, ae1, g, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, g, af2, af2, af2, g, ab1, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, g, ag1, ag1, ag1, ac2, ag1, ac2, ac2, ag1, ac2, ac2, ag1, ac2, ag1, ac2, ac2, ag1, ac2, ac2, ag1, ac2, ac2, ag1, ac2, ag1, ae2, ae2, ae2, ae2, g, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab1, ab1, ab1, ab3, ab3, ab3, ab3, g, af2, af2, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, g, af2, af2, af2, af2, g, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, g, ac2, ac2, ae2, ae2, ac2, ae2, ac2, ag1, ag1, ae2, ag1, ac2, ag1, ac2, ac2, ag1, ae2, ag1, ac2, ag1, ae2, ag1, ae2, ac2, ac2, ac2, ae2, g, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab1, ab1, ab3, ab3, ab3, ab3, ab1, ab1, ab3, g, af2, af2, af2, g, bg1_8, bg1_8, bg1_8, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, af2, af2, af2, af2, g, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, g, ad, ac2, ad, ad, ac2, ae2, ae2, ac2, ac2, ae2, ae2, ag1, ac2, ae2, ag1, ac2, ae2, ae2, ag1, ac2, ae2, ae2, ae2, ae2, ae2, ae2, ae2, g, ab1, ab3, ab3, ab3, ab3, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, af2, af2, af2, g, bg1_8, bg1_8, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, g, g, g, g, bg1_5, bg1_5, bg1_5, g, af2, af2, af2, af2, g, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, g, ad, ad, ae2, ae2, ad, ac2, ad, ad, ad, ad, ad, ad, ac2, ae2, ae2, ac2, ac2, ad, ad, ad, ad, ad, ad, ad, ad, ad, ad, g, ab1, ab3, ab3, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, af2, af2, g, bg1_8, bg1_9, bg1_9, g, g, g, g, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, af2, af2, af2, af2, af2, g, bg1_5, g, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab1, g, ab3, ab3, g, ae2, ae2, ae2, ae2, ad, ac2, ad, ae2, ae2, ae2, ae2, ad, ac2, ae2, ae2, ac2, ad, ad, ae2, ae2, ad, ad, ae2, ae2, ae2, ae2, g, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, af2, af2, af2, af2, af2, g, bg1_9, g, af2, af2, af2, af2, af2, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, af2, af2, af2, af2, af2, g, bg1_5, g, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab1, g, g, ae2, ac2, ac2, ae2, ae2, ad, ad, ae2, ac2, ac2, ae2, ad, ad, ac2, ae2, ae2, ad, ae2, ae2, ac2, ae2, ae2, ae2, ac2, ac2, ae2, g, ab3, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, af2, af2, af2, af2, af2, g, bg1_9, g, af2, af2, af2, af2, af2, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, g, af2, af2, af2, af2, af2, af2, af2, g, af2, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, af2, af2, af2, af2, af2, af2, g, af1, af2, af2, af2, af2, af2, af1, g, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, g, af2, af2, af2, g, af2, af2, af2, g, af2, af2, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, ag2, aa, ag2, ag2, ag2, g, ag2, ag2, ag2, ag2, ag2, ag2, ag2, g, ag2, ag2, aa, ag2, g, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab1, g, af2, af2, af2, af2, af2, af2, g, af1, af2, af2, g, af2, af2, af1, g, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_5, g, af2, af2, g, af1, af2, af2, af2, g, af2, af2, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, g, ag2, ag2, g, ag2, ag3, ag3, ag3, ag3, ag3, ag2, g, ag2, g, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab1, g, af2, af2, af2, af2, af2, af2, g, af1, af2, af2, af1, g, af2, af1, g, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_5, bg1_5, g, af2, af2, g, af1, af1, af1, g, af2, af2, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab1, ab1, ab1, ab3, ab3, ab3, ab3, g, g, g, ag2, ag3, ag3, ag3, ag3, g, g, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab1, g, af2, af2, af2, af2, af2, af2, af2, g, af1, af1, af1, g, af2, af1, g, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_5, bg1_5, bg1_5, g, af1, af2, af2, g, g, g, af2, af2, af2, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, g, g, g, g, aa, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab1, ab3, g, af2, af2, af2, af2, af2, af2, af2, g, g, g, af2, af2, af1, g, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, af1, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, aa, aa, g, ab3, aa, aa, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, ab1, ab3, g, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, af1, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_10],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, af1, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, aa, aa, g, aa, aa, ab3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab1, ab3, ab3, ab3, g, af2, af2, af2, af2, af1, af2, af2, af2, af2, af1, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, af1, af1, af1, af1, g, af1, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, aa, g, aa, ab3, ab3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab1, ab3, ab3, ab3, g, af2, af2, af2, af1, g, af1, af1, af1, af1, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10, bg1_10],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, g, g, g, bg1_5, g, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, aa, aa, g, aa, aa, ab3, aa, g, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab1, ab3, ab3, ab3, g, af2, af2, af2, g, bg1_9, g, g, g, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, af1, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, aa, aa, aa, g, g, aa, aa, aa, aa, g, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab1, ab3, ab3, ab3, g, af2, af2, af2, af2, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, af1, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, aa, aa, g, ab3, ab3, g, aa, aa, aa, aa, g, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, ab1, ab3, ab3, ab3, ab3, g, af2, af2, af2, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, af1, af1, af1, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, g, g, ab3, ab3, ab3, ab3, g, g, ab3, ab3, ab3, g, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab1, ab3, ab3, ab3, ab3, ab3, g, af2, af2, af1, af1, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, af1, af1, af1, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, g, g, ab1, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab1, ab3, ab3, ab3, ab3, ab3, g, af2, af2, af1, af1, g, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, g, af1, af1, af1, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab1, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab1, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af1, af1, g, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, g, af1, af1, af1, af1, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab1, ab3, ab3, ab3, ab3, ab3, ab3, g, af1, af1, af1, g, bg1_9, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, g, af1, af1, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af1, g, bg1_9, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, g, af1, af1, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, aa, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af1, g, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, g, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, aa, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, g, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, aa, aa, aa, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, g, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, aa, aa, ab3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, g, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, aa, aa, ab3, ab3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, g, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, g, aa, aa, aa, ab3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, g, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, g, aa, aa, aa, aa, aa, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, aa, aa, aa, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, aa, aa, aa, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
]
KimChungSun2 = [
[bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1],
[bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2],
[bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7],
[bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7],
[w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w],
[bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7],
[bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7],
[bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2],
[bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1],
[bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3],
[bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, g, g, g, g, g, g, g, g, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4],
[bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, g, u1, u1, u1, u1, u1, u1, u1, u1, g, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5],
[bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, g, bg3_3, bg3_3, bg3_6, bg3_6, bg3_2, bg3_2, bg3_6, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_6, bg3_2, bg3_2, bg3_6, bg3_6, bg3_3, bg3_3, g, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, g, bg3_3, bg3_3, bg3_6, bg3_6, g, u1, u1, u1, u1, u1, u1, u1, u1, g, bg3_2, bg3_6, bg3_6, bg3_3, bg3_3, g, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, g, bg3_3, bg3_3, bg3_6, bg3_6, bg3_2, bg3_2, bg3_6, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_6, bg3_2, bg3_2, bg3_6, bg3_6, bg3_3, bg3_3, g, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8],
[bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, g, bg3_3, bg3_4, bg3_3, bg3_6, bg3_6, bg3_2, bg3_6, bg3_7, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_7, bg3_6, bg3_2, bg3_6, bg3_6, bg3_3, bg3_4, bg3_3, g, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, g, bg3_3, bg3_4, bg3_3, bg3_6, g, u1, u1, u1, u1, u1, u1, u1, u1, u1, u1, g, bg3_6, bg3_6, bg3_3, bg3_4, bg3_3, g, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, g, bg3_3, bg3_4, bg3_3, bg3_6, bg3_6, bg3_2, bg3_6, bg3_7, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_7, bg3_6, bg3_2, bg3_6, bg3_6, bg3_3, bg3_4, bg3_3, g, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8],
[bg3_9, bg3_9, bg3_9, bg3_9, g, bg3_3, bg3_4, bg3_3, bg3_3, bg3_3, bg3_4, bg3_6, bg3_6, bg3_7, bg3_7, bg3_5, bg3_5, bg3_5, bg3_7, bg3_7, bg3_6, bg3_6, bg3_4, bg3_3, bg3_3, bg3_3, bg3_4, bg3_3, g, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, g, bg3_3, bg3_4, bg3_3, bg3_3, bg3_3, g, u1, u1, u1, u1, u1, u1, u1, u1, u1, u1, g, bg3_4, bg3_3, bg3_3, bg3_3, bg3_4, bg3_3, g, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, g, bg3_3, bg3_4, bg3_3, bg3_3, bg3_3, bg3_4, bg3_6, bg3_6, bg3_7, bg3_7, bg3_5, bg3_5, bg3_5, bg3_7, bg3_7, bg3_6, bg3_6, bg3_4, bg3_3, bg3_3, bg3_3, bg3_4, bg3_3, g, bg3_9, bg3_9, bg3_9, bg3_9],
[bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, g, bg3_3, bg3_4, bg3_3, bg3_4, bg3_3, bg3_6, bg3_6, bg3_7, bg3_7, bg3_7, bg3_6, bg3_7, bg3_7, bg3_7, bg3_6, bg3_6, bg3_3, bg3_4, bg3_3, bg3_4, bg3_3, g, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, g, bg3_3, bg3_4, bg3_3, g, u1, u1, u1, u1, u1, u1, u1, u1, u1, u1, u1, u1, g, bg3_4, bg3_3, bg3_4, bg3_3, g, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, g, bg3_3, bg3_4, bg3_3, bg3_4, bg3_3, bg3_6, bg3_6, bg3_7, bg3_7, bg3_7, bg3_6, bg3_7, bg3_7, bg3_7, bg3_6, bg3_6, bg3_3, bg3_4, bg3_3, bg3_4, bg3_3, g, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9],
[bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, g, bg3_3, bg3_4, bg3_3, g, g, bg3_3, bg3_6, bg3_6, bg3_6, bg3_2, bg3_6, bg3_6, bg3_6, bg3_3, g, g, bg3_3, bg3_4, bg3_3, g, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, g, bg3_3, bg3_4, g, u1, u1, u1, u1, u1, u1, u1, u1, u1, u1, u1, u1, g, bg3_3, bg3_4, bg3_3, g, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, g, bg3_3, bg3_4, bg3_3, g, g, bg3_3, bg3_6, bg3_6, bg3_6, bg3_2, bg3_6, bg3_6, bg3_6, bg3_3, g, g, bg3_3, bg3_4, bg3_3, g, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9],
[bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, g, bg3_6, bg3_3, g, g, bg3_3, bg3_3, bg3_6, bg3_6, bg3_2, bg3_2, bg3_2, bg3_6, bg3_6, bg3_3, bg3_3, g, g, bg3_3, bg3_6, g, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, g, bg3_6, bg3_3, g, u1, u1, u1, g, g, g, g, g, g, u1, u1, u1, g, g, bg3_3, bg3_6, g, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, g, bg3_6, bg3_3, g, g, bg3_3, bg3_3, bg3_6, bg3_6, bg3_2, bg3_2, bg3_2, bg3_6, bg3_6, bg3_3, bg3_3, g, g, bg3_3, bg3_6, g, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10],
[bg3_10, g, bg3_5, bg3_3, bg3_4, bg3_4, g, bg3_6, bg3_6, bg3_6, bg3_3, bg3_3, bg3_4, bg3_3, bg3_3, bg3_6, bg3_6, bg3_6, bg3_3, bg3_3, bg3_4, bg3_3, bg3_3, bg3_6, bg3_6, bg3_6, g, bg3_4, bg3_4, bg3_3, bg3_5, g, bg3_10, g, g, g, bg3_5, bg3_3, bg3_4, bg3_4, g, bg3_6, g, u1, g, g, g, u2, u2, u2, u2, u2, u2, g, g, g, u1, g, bg3_6, bg3_6, g, bg3_4, bg3_4, bg3_3, g, g, g, bg3_10, g, bg3_5, bg3_3, bg3_4, bg3_4, g, bg3_6, bg3_6, bg3_6, bg3_3, bg3_3, bg3_4, bg3_3, bg3_3, bg3_6, bg3_6, bg3_6, bg3_3, bg3_3, bg3_4, bg3_3, bg3_3, bg3_6, bg3_6, bg3_6, g, bg3_4, bg3_4, bg3_3, bg3_5, g, bg3_10],
[bg3_10, g, bg3_5, bg3_3, bg3_4, bg3_4, g, bg3_6, bg3_6, bg3_6, bg3_3, bg3_4, bg3_3, bg3_3, bg3_3, bg3_4, g, bg3_4, bg3_3, bg3_3, bg3_3, bg3_4, bg3_3, bg3_6, bg3_6, bg3_6, g, bg3_4, bg3_4, bg3_3, bg3_5, g, g, u3, u3, u3, g, g, g, g, g, bg3_6, g, g, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, g, g, bg3_6, bg3_6, g, g, g, g, u3, u3, u3, g, g, bg3_5, bg3_3, bg3_4, bg3_4, g, bg3_6, bg3_6, bg3_6, bg3_3, bg3_4, bg3_3, bg3_3, bg3_3, bg3_4, g, bg3_4, bg3_3, bg3_3, bg3_3, bg3_4, bg3_3, bg3_6, bg3_6, bg3_6, g, bg3_4, bg3_4, bg3_3, bg3_5, g, bg3_10],
[bg3_10, g, bg3_5, bg3_5, bg3_3, bg3_4, g, w, bg3_6, bg3_6, bg3_6, bg3_3, bg3_4, bg3_3, bg3_4, bg3_3, g, bg3_3, bg3_4, bg3_3, bg3_4, bg3_3, bg3_6, bg3_6, bg3_6, w, g, bg3_4, bg3_3, bg3_5, bg3_5, g, u3, u3, u3, u3, u3, u3, u3, u3, g, g, g, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, g, g, g, u3, u3, u3, u3, u3, u3, u3, u3, g, bg3_5, bg3_5, bg3_3, bg3_4, g, w, bg3_6, bg3_6, bg3_6, bg3_3, bg3_4, bg3_3, bg3_4, bg3_3, g, bg3_3, bg3_4, bg3_3, bg3_4, bg3_3, bg3_6, bg3_6, bg3_6, w, g, bg3_4, bg3_3, bg3_5, bg3_5, g, bg3_10],
[bg3_10, bg3_3, g, bg3_5, bg3_5, bg3_3, bg3_4, g, g, g, g, g, bg3_3, bg3_4, bg3_3, bg3_6, bg3_6, bg3_6, bg3_3, bg3_4, bg3_3, g, g, g, g, g, bg3_4, bg3_3, bg3_5, bg3_5, g, u3, u3, u3, u3, u3, u3, u3, u3, u3, u3, u3, g, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, g, u3, u3, u3, u3, u3, u3, u3, u3, u3, u3, u3, g, bg3_5, bg3_5, bg3_3, bg3_4, g, g, g, g, g, bg3_3, bg3_4, bg3_3, bg3_6, bg3_6, bg3_6, bg3_3, bg3_4, bg3_3, g, g, g, g, g, bg3_4, bg3_3, bg3_5, bg3_5, g, bg3_3, bg3_10],
[bg3_10, bg3_3, w, g, bg3_5, bg3_5, bg3_3, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, g, bg3_3, bg3_6, bg3_6, bg3_6, bg3_6, bg3_6, bg3_3, g, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_3, bg3_5, bg3_5, g, g, u3, u3, u3, u3, u3, u3, u3, u3, u3, u3, u3, g, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, g, u3, u3, u3, u3, u3, u3, u3, u3, u3, u3, u3, g, g, bg3_5, bg3_5, bg3_3, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, g, bg3_3, bg3_6, bg3_6, bg3_6, bg3_6, bg3_6, bg3_3, g, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_3, bg3_5, bg3_5, g, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, g, bg3_5, bg3_5, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, g, bg3_6, bg3_6, bg3_6, bg3_6, bg3_6, g, bg3_4, bg3_4, bg3_4, bg3_4, bg3_3, bg3_3, bg3_5, bg3_5, g, bg3_4, g, u3, u3, u3, u3, u3, u3, u3, u3, u3, u3, g, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, g, u3, u3, u3, u3, u3, u3, u3, u3, u3, u3, g, bg3_4, g, bg3_5, bg3_5, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, g, bg3_6, bg3_6, bg3_6, bg3_6, bg3_6, g, bg3_4, bg3_4, bg3_4, bg3_4, bg3_3, bg3_3, bg3_5, bg3_5, g, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, g, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_3, bg3_4, bg3_4, g, bg3_6, bg3_6, bg3_6, g, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_5, bg3_5, bg3_5, g, bg3_4, bg3_4, w, g, u3, u3, u3, u3, u3, u3, u3, u3, u3, g, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, u2, g, u3, u3, u3, u3, u3, u3, u3, u3, u3, g, w, bg3_4, bg3_4, g, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_3, bg3_4, bg3_4, g, bg3_6, bg3_6, bg3_6, g, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_5, bg3_5, bg3_5, g, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, g, g, g, g, bg3_5, bg3_5, bg3_3, bg3_4, bg3_4, g, w, g, bg3_4, bg3_4, bg3_3, bg3_5, bg3_5, bg3_5, bg3_5, g, g, bg3_3, bg3_4, bg3_4, w, bg3_3, g, g, u3, u3, u3, g, g, g, g, g, u2, u2, u2, g, g, g, g, g, g, g, g, g, g, u2, u2, u2, g, g, g, g, g, u3, u3, u3, g, g, bg3_3, w, bg3_4, bg3_4, bg3_3, g, g, g, g, bg3_5, bg3_5, bg3_3, bg3_4, bg3_4, g, w, g, bg3_4, bg3_4, bg3_3, bg3_5, bg3_5, bg3_5, bg3_5, g, g, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, bg3_5, bg3_5, bg3_3, bg3_4, bg3_4, g, bg3_4, bg3_4, bg3_3, bg3_5, bg3_5, g, g, g, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, g, g, g, bg3_4, bg3_4, bg3_3, bg3_3, g, g, g, g, x1, x1, x1, x1, x1, x1, x1, x1, x1, x1, g, g, g, g, bg3_3, bg3_3, bg3_3, bg3_4, g, g, g, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, bg3_5, bg3_5, bg3_3, bg3_4, bg3_4, g, bg3_4, bg3_4, bg3_3, bg3_5, bg3_5, g, g, g, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, bg3_5, bg3_5, bg3_3, bg3_4, bg3_4, bg3_4, bg3_3, bg3_5, bg3_5, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, g, v3, x2, x2, x2, x2, x2, x2, x2, x2, x2, x2, x2, x2, x2, x2, v3, g, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, bg3_5, bg3_5, bg3_3, bg3_4, bg3_4, bg3_4, bg3_3, bg3_5, bg3_5, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, bg3_5, bg3_5, bg3_3, bg3_3, bg3_3, bg3_5, bg3_5, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, g, g, v3, x2, x2, v1, v1, v1, x2, x2, x2, x2, v1, v1, v1, x2, x2, v3, g, g, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, bg3_5, bg3_5, bg3_3, bg3_3, bg3_3, bg3_5, bg3_5, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, g, x1, g, x2, x2, x2, v4, g, w, v1, z1, x2, v1, w, g, v4, x2, x2, x2, g, x1, g, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, g, g, g, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, g, x1, g, x1, x2, x2, x2, x2, x2, x2, z1, x2, x2, x2, x2, x2, x2, x2, x2, g, x1, g, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, g, g, g, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, g, g, x1, x2, x2, x2, x2, x2, z1, x1, x2, z2, x2, x2, x2, x2, x1, x2, g, g, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, g, x1, x1, x1, x2, x2, x2, z1, x2, x2, z1, z2, x2, x2, x1, x1, x2, g, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, g, x2, x1, x2, x2, x2, v3, v3, v3, v3, v3, v3, z2, x2, x2, x2, x2, g, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, g, x2, x2, x2, v3, v4, v4, v4, v4, v4, v4, v3, z2, x2, x2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, g, x2, x2, v3, v4, x2, y1, y1, y1, y1, x2, v4, v3, x2, x2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, g, v3, v4, x2, x2, x2, y2, y2, x2, x2, x2, v4, v3, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, g, v3, v3, v3, x2, v3, v4, v4, v3, x2, v3, v3, v3, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, g, v3, v3, v3, v3, v4, v3, v3, v4, v3, v3, v3, v3, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, g, v2, v3, v3, v3, v3, v3, v3, v4, v3, v3, v3, v3, v2, w, g, g, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, g, g, w, w, v2, v3, v3, v3, v3, v3, v3, v3, v3, v3, w, w, w, g, aa, g, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_10, bg3_3, w, g, g, g, aa, aa, g, w, w, v2, v2, v3, v3, v3, v3, v3, v3, w, w, w, g, aa, aa, aa, g, g, g, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, g, g, g, g, ab3, g, ab3, aa, aa, ab3, g, w, w, w, v2, v3, v3, v3, w, w, w, w, w, g, aa, ab3, g, ab3, ab3, ab3, g, g, g, g, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, g, g, g, ab3, ab3, ab3, ab3, ab3, ab3, g, aa, aa, ab3, g, w, w, w, w, v2, v3, w, w, w, w, w, g, aa, aa, ab3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, g, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, aa, aa, aa, aa, g, w, w, w, w, w, w, w, w, w, w, g, aa, aa, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, g, aa, aa, aa, aa, g, w, w, w, w, w, w, w, w, g, ab3, aa, g, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab3, ab3, ab3, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, g, ab3, aa, aa, aa, g, g, w, w, w, w, g, g, ab3, aa, aa, g, ab3, ab1, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab2, ab3, ab3, ab3, ab3, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab3, g, ab3, aa, aa, aa, ab3, g, g, g, g, aa, aa, aa, aa, g, ab3, ab3, ab1, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, aa, aa, aa, ab3, aa, aa, aa, aa, aa, g, g, ab3, ab3, ab3, ab1, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, g, aa, aa, aa, ab3, ab3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, g, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, g, ab3, ab3, ab3, ab3, ab3, ab2, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab2, ab1, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab1, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab2, ab1, ab3, ab2, ab3, ab3, ab3, ab3, ab3, ab3, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, g, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab2, ab1, ab3, ab3, ab3, ab2, ab1, ab3, g, g, g, g, g, g, g, v3, v3, v3, v3, v3, v3, v3, v3, v3, v3, v3, v3, v3, v3, v3, g, g, g, g, g, g, g, ab3, ab3, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, g, af2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab1, ab3, ab3, ab3, ab2, ab1, g, v3, v3, v3, v3, v3, v3, v3, ad, ac2, bg3_4, bg3_4, ac2, ad, ad, bg3_4, bg3_4, ad, ad, ac2, bg3_4, bg3_4, bg3_4, v3, v3, v3, v3, v3, v3, v3, g, ab3, ab2, ab3, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, g, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab2, ab1, ab3, g, ac2, ad, bg3_4, bg3_4, ad, ac2, bg3_4, ad, ad, bg3_4, bg3_4, ac2, ad, ad, bg3_4, bg3_4, ac2, ad, ad, ac2, bg3_4, ad, ac2, ad, bg3_4, ad, ad, bg3_4, bg3_4, g, ab3, ab2, ab3, ab2, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, g, af2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, af2, g, g, ab3, ab3, ab3, ab3, ab3, ab2, ab1, ab3, ab3, ab3, ab2, ab1, ab3, g, bg3_4, ad, ac2, ad, ad, ac2, bg3_4, bg3_4, ad, ad, ac2, ad, ad, ac2, ac2, ac2, ac1, ac2, bg3_4, ac2, ad, ad, bg3_4, ad, ac2, ad, ac2, bg3_4, ad, g, ab3, ab2, ab3, ab2, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, g, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab1, ab3, ab3, ab3, ab2, ab1, ab3, g, ad, ae1, ad, ad, ae1, ae1, ae1, ae1, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, ae1, ae1, ae1, ae1, ae1, bg3_4, bg3_4, bg3_4, ad, ad, ad, g, ab3, ab2, ab2, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, g, af2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab1, ab3, ab2, ab3, ab2, ab1, ab3, g, ae1, ac2, ae1, ac1, ad, ac2, ae1, ac2, ae1, bg3_4, ae1, ac2, ac2, ac2, ae1, ac2, ae1, ac2, ae1, ac2, ae1, ac2, ae1, ac2, ae1, ad, ac2, bg3_4, bg3_4, g, ab3, ab2, ab2, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab2, ab2, ab3, ab1, ab3, ab3, g, bg3_4, ae1, ae1, bg3_4, ac2, ac2, ac1, ac2, ac1, ac2, ac2, ac1, ae1, ac2, bg3_4, ae1, ac1, ac2, ac2, ac1, ac1, ac2, ac2, ac1, bg3_4, bg3_4, ae1, ae1, ac1, g, ab3, ab2, ab2, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, g, af2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab2, ab2, ab3, ab1, ab3, ab3, g, ae2, ac2, ac2, ac1, ae1, ae1, bg3_4, ac2, ac2, ac1, ac2, ae1, bg3_4, ac2, bg3_4, bg3_4, ae1, ac2, ac1, ac2, ac2, bg3_4, bg3_4, ae1, ac2, ac1, ac1, ac1, ac2, g, ab3, ab2, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, g, af2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab1, ab3, ab3, g, ae2, ae2, ad, ae2, ac2, ac1, ac2, ae1, bg3_4, ac2, ae1, ae1, ac2, ac2, ac2, bg3_4, ae1, ae1, ac2, bg3_4, ae1, ac2, ac2, ac1, ae2, ae2, ae2, ae2, ac2, g, ab3, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab2, ab1, ab3, ab3, ab3, g, ac2, ad, ae2, ad, ae2, ae2, ac2, ac1, ac2, ae1, ae1, ab3, ae1, ac2, ae1, ae1, ab3, bg3_4, ae1, ac1, ac2, ae2, ae2, ae2, ac2, ac2, ac2, ac2, ac2, g, ab3, ab1, ab1, ab3, ab3, ab3, ab3, ab2, ab2, ab2, ab2, ab3, ab3, ab3, ab3, ab2, g, af2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab2, ab3, ab2, ab1, ab3, ab3, ab3, g, ad, ac2, ad, ac2, ad, ac2, ac2, ae1, ae1, ac2, ae1, ae1, ae1, ae1, ac2, ac2, ae1, ae1, ae1, ae1, bg3_4, ac2, ac2, ac2, ae2, ae2, ae2, ae2, ac2, g, ab3, ab1, ab3, ab3, ab3, ab2, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, g, af2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, af2, g, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, g, ac2, ac2, ac2, ac1, ae1, ae1, ae1, ac2, ac2, ac2, ac2, ae1, ae1, ac2, ac2, ae1, ae1, ac2, ac2, ac2, ac2, ae1, bg3_4, ae1, ac2, ac2, ac2, ac2, g, ab3, ab3, ab1, ab3, ab3, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, g, af2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, af2, af2, g, ab1, ab2, ab2, ab1, ab1, ab1, ab3, ab3, ab3, ab1, ab2, ab3, ab3, ab3, ab3, ab3, g, bg3_4, ae1, ae1, ae1, ac2, ac2, bg3_4, ac2, bg3_4, ac2, ac2, ac2, ae1, ae1, ac2, ae1, ac2, bg3_4, ac2, ac2, bg3_4, ac2, ac2, ac2, bg3_4, ae1, ae1, ae1, g, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab2, ab2, ab2, ab2, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, af2, af2, g, ab1, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, g, bg3_4, bg3_4, bg3_4, ac2, bg3_4, ac2, ac2, bg3_4, ac2, ac2, bg3_4, ac2, bg3_4, ac2, ac2, bg3_4, ac2, ac2, bg3_4, ac2, ac2, bg3_4, ac2, bg3_4, ae2, ae2, ae2, ae2, g, ab3, ab1, ab3, ab3, ab3, ab2, ab2, ab3, ab3, ab1, ab1, ab1, ab1, ab3, ab3, ab3, ab3, g, af2, af2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, af2, af2, af2, g, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, g, ac2, ac2, ae2, ae2, ac2, ae2, ac2, bg3_4, bg3_4, ae2, bg3_4, ac2, bg3_4, ac2, ac2, bg3_4, ae2, bg3_4, ac2, bg3_4, ae2, bg3_4, ae2, ac2, ac2, ac2, ae2, g, ab3, ab1, ab3, ab3, ab2, ab3, ab3, ab1, ab1, ab3, ab3, ab3, ab3, ab1, ab1, ab3, g, af2, af2, af2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, g, af2, af2, af2, af2, g, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, g, ad, ac2, ad, ad, ac2, ae2, ae2, ac2, ac2, ae2, ae2, bg3_4, ac2, ae2, bg3_4, ac2, ae2, ae2, bg3_4, ac2, ae2, ae2, ae2, ae2, ae2, ae2, ae2, g, ab1, ab3, ab3, ab2, ab3, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, af2, af2, af2, g, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, g, g, g, g, g, g, g, bg3_5, g, af2, af2, af2, af2, g, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, g, ad, ad, ae2, ae2, ad, ac2, ad, ad, ad, ad, ad, ad, ac2, ae2, ae2, ac2, ac2, ad, ad, ad, ad, ad, ad, ad, ad, ad, ad, g, ab1, ab3, ab2, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, g, af2, af2, af2, af2, g, bg3_5, g, g, g, g, g, g, g, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, g, af2, af2, af2, af2, af2, g, bg3_5, g, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab2, ab1, ab1, ab3, ab3, ab3, ab3, ab1, ab1, g, ab3, ab3, g, ae2, ae2, ae2, ae2, ad, ac2, ad, ae2, ae2, ae2, ae2, ad, ac2, ae2, ae2, ac2, ad, ad, ae2, ae2, ad, ad, ae2, ae2, ae2, ae2, g, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab1, ab3, g, g, af2, af2, af2, af2, af2, g, bg3_5, g, af2, af2, af2, af2, af2, g, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, g, af2, af2, af2, af2, af2, g, bg3_3, g, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab2, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab1, g, g, ae2, ac2, ac2, ae2, ae2, ad, ad, ae2, ac2, ac2, ae2, ad, ad, ac2, ae2, ae2, ad, ae2, ae2, ac2, ae2, ae2, ae2, ac2, ac2, ae2, g, ab3, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, g, g, af2, af2, af2, af2, af2, g, bg3_3, g, af2, af2, af2, af2, af2, g, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, g, af2, af2, af2, af2, af2, af2, af2, g, af2, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab2, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, ab1, ab2, ab2, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, g, g, af2, af2, af2, af2, af2, af2, g, af1, af2, af2, af2, af2, af2, af1, g, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, g, af2, af2, af2, g, af2, af2, af2, g, af2, af2, af2, af2, af2, af2, af2, af2, g, ab2, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, bg3_5, aa, bg3_5, bg3_5, bg3_5, g, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, g, bg3_5, bg3_5, aa, bg3_5, g, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab2, ab3, g, ab1, g, af2, af2, af2, af2, af2, af2, g, af1, af2, af2, g, af2, af2, af1, g, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, g, g, af2, af2, g, af1, af2, af2, af2, g, af2, af2, af2, af2, af2, af2, af2, af2, g, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, g, bg3_5, bg3_5, g, bg3_5, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_5, g, bg3_5, g, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, g, ab1, g, af2, af2, af2, af2, af2, af2, g, af1, af2, af2, af1, g, af2, af1, g, g, w, bg3_3, bg3_10],
[bg3_10, bg3_3, g, bg3_5, g, af2, af2, g, af1, af1, af1, g, af2, af2, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab2, ab2, ab2, ab2, ab1, ab1, ab1, ab1, ab2, ab2, ab3, ab3, g, g, g, bg3_5, bg3_9, bg3_9, bg3_9, bg3_9, g, g, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab1, g, af2, af2, af2, af2, af2, af2, af2, g, af1, af1, af1, g, af2, af1, g, bg3_5, g, bg3_3, bg3_10],
[bg3_10, g, bg3_5, bg3_5, g, af1, af2, af2, g, g, g, af2, af2, af2, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab2, ab2, ab2, ab2, ab2, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, g, g, g, g, aa, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab1, ab3, g, af2, af2, af2, af2, af2, af2, af2, g, g, g, af2, af2, af1, g, bg3_5, bg3_5, g, bg3_10],
[bg3_10, g, bg3_5, bg3_3, bg3_4, g, af1, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab2, ab2, ab2, ab2, ab2, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab3, g, aa, aa, g, ab3, aa, aa, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, ab1, ab3, g, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, af1, g, bg3_4, bg3_3, bg3_5, g, bg3_10],
[bg3_10, g, bg3_5, bg3_3, bg3_4, bg3_4, g, af1, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab2, ab2, ab2, ab2, ab2, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab3, g, ab3, aa, aa, g, aa, aa, ab3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab1, ab3, ab3, ab3, g, af2, af2, af2, af2, af1, af2, af2, af2, af2, af1, g, bg3_4, bg3_4, bg3_3, bg3_5, g, bg3_10],
[bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, g, g, af1, af1, af1, af1, g, af1, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab2, ab2, ab2, ab2, ab2, ab2, ab2, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab2, ab3, ab3, ab3, ab3, g, ab3, ab3, aa, g, aa, ab3, ab3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab2, ab3, ab3, ab3, g, ab1, ab3, ab3, ab3, g, af2, af2, af2, af1, g, af1, af1, af1, af1, g, g, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10],
[bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, g, bg3_3, g, g, g, g, bg3_3, g, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab2, ab2, ab2, ab2, ab2, ab2, ab2, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, aa, aa, g, aa, aa, ab3, aa, g, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab3, g, ab1, ab3, ab3, ab3, g, af2, af2, af2, g, bg3_3, g, g, g, g, bg3_3, g, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9],
[bg3_9, bg3_9, bg3_9, bg3_9, bg3_9, g, bg3_3, bg3_4, bg3_3, bg3_4, bg3_3, bg3_6, g, af1, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab2, ab2, ab2, ab2, ab2, ab2, ab3, ab2, ab3, ab3, ab3, ab3, ab3, ab2, ab2, ab3, ab3, ab3, ab3, ab3, ab3, g, aa, aa, aa, g, g, aa, aa, aa, aa, g, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, g, ab1, ab3, ab3, ab3, g, af2, af2, af2, af2, g, bg3_6, bg3_3, bg3_4, bg3_3, bg3_4, bg3_3, g, bg3_9, bg3_9, bg3_9, bg3_9, bg3_9],
[bg3_9, bg3_9, bg3_9, bg3_9, g, bg3_3, bg3_4, bg3_3, bg3_3, bg3_3, bg3_4, bg3_6, g, af1, af2, af2, af2, af2, g, ab3, ab3, ab3, ab2, ab2, ab2, ab2, ab2, ab3, ab2, ab2, ab3, ab3, ab3, ab3, ab2, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, aa, aa, g, ab3, ab3, g, aa, aa, aa, aa, g, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, ab1, ab3, ab3, ab3, ab3, g, af2, af2, af2, g, bg3_6, bg3_4, bg3_3, bg3_3, bg3_3, bg3_4, bg3_3, g, bg3_9, bg3_9, bg3_9, bg3_9],
[bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, g, bg3_3, bg3_4, bg3_3, bg3_6, bg3_6, g, af1, af1, af1, af2, af2, af2, g, ab3, ab3, ab2, ab2, ab2, ab2, ab2, ab3, ab2, ab2, ab3, ab3, ab3, ab2, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, g, g, ab3, ab3, ab3, ab3, g, g, ab3, ab3, ab3, g, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab1, ab3, ab3, ab3, ab3, ab3, g, af2, af2, af1, af1, g, bg3_6, bg3_6, bg3_3, bg3_4, bg3_3, g, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8],
[bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, g, bg3_3, bg3_3, bg3_6, bg3_6, g, af1, af1, af1, af2, af2, g, ab3, ab3, ab2, ab2, ab2, ab2, ab2, ab3, ab2, ab2, ab3, ab3, ab2, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, g, g, ab1, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab3, ab3, ab3, g, ab1, ab3, ab3, ab3, ab3, ab3, g, af2, af2, af1, af1, g, bg3_6, bg3_6, bg3_3, bg3_3, g, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8],
[bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, g, af1, af1, af1, af2, g, ab3, ab2, ab2, ab2, ab2, ab2, ab3, ab2, ab2, ab3, ab2, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab1, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab2, ab2, ab2, g, ab1, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af1, af1, g, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5],
[bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, g, af1, af1, af1, af1, g, ab3, ab2, ab2, ab2, ab2, ab3, ab2, ab2, ab2, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab2, ab2, g, ab1, ab3, ab3, ab3, ab3, ab3, ab3, g, af1, af1, af1, g, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4],
[bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af1, af1, g, ab3, ab3, ab2, ab2, ab2, ab3, ab2, ab2, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, g, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af1, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3],
[bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, g, af1, af1, g, ab3, ab2, ab2, ab3, ab2, ab2, ab2, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, aa, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab3, ab3, ab3, g, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, g, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af1, g, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1],
[bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, g, g, g, ab3, ab2, ab2, ab2, ab2, ab2, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, aa, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, g, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2],
[bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, g, ab3, ab2, ab2, ab2, ab2, ab2, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, aa, aa, aa, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab3, ab3, ab3, g, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, g, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7],
[bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, g, ab3, ab2, ab2, ab2, ab2, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, aa, aa, ab3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab3, ab3, ab3, g, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7],
[w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, g, ab3, ab3, ab2, ab2, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, aa, aa, ab3, ab3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab2, ab3, ab3, ab3, ab3, ab3, g, ab1, ab1, ab2, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w],
[bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, g, ab3, ab2, ab2, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, g, aa, aa, aa, ab3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab2, ab3, ab3, ab3, ab3, ab3, g, ab1, ab3, ab2, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7],
[bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, g, ab3, ab2, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, g, aa, aa, aa, aa, aa, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab2, ab3, ab3, ab3, ab3, ab3, g, ab1, ab3, ab3, ab2, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7],
[bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, g, ab3, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, aa, aa, aa, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab2, ab3, ab3, ab2, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab2, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2],
[bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, aa, aa, aa, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab2, ab3, ab3, ab3, ab2, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab2, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1],
]
JungWoon1 = [
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, g, g, g, g, g, g, g, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, g, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, g, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, g, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, g, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, g, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, g, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, g, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, g, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, ah1, ah1, ah1, g, g, g, g, g, g, ah1, ah1, ah1, g, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, ah1, g, g, g, ah2, ah2, ah2, ah2, ah2, ah2, g, g, g, ah1, g, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, g, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, g, g, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, g, g, g, g, g, g, g, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, g, g, g, g, g, g, g, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_1, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, ah3, ah3, ah3, ah3, ah3, ah3, ah3, g, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, g, ah3, ah3, ah3, ah3, ah3, ah3, ah3, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, ah3, ah3, ah3, ah3, ah3, ah3, ah3, g, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, g, ah3, ah3, ah3, ah3, ah3, ah3, ah3, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, ah3, ah3, ah3, ah3, ah3, ah3, ah3, g, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, g, ah3, ah3, ah3, ah3, ah3, ah3, ah3, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, ah3, ah3, ah3, ah3, ah3, ah3, ah3, g, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, g, ah3, ah3, ah3, ah3, ah3, ah3, ah3, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, ah3, ah3, ah3, ah3, ah3, ah3, ah3, g, ah2, ah2, g, g, g, g, g, g, g, g, g, g, ah2, ah2, g, ah3, ah3, ah3, ah3, ah3, ah3, ah3, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, g, g, g, g, g, g, g, g, g, g, ai2, ai2, ai2, ai2, ai2, ai2, ai2, ai2, ai2, ai2, g, g, g, g, g, g, g, g, g, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, g, ai2, ai2, ai2, ai2, ai2, ai2, ai2, ai2, ai2, ai2, ai2, ai2, ai2, ai2, g, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, ai1, g, ai2, ai2, g, g, g, ai2, ai2, ai2, ai2, g, g, g, ai2, ai2, g, ai1, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, ai1, g, ai2, ai2, ai2, ai2, ai2, g, ai2, ai2, g, ai2, ai2, ai2, ai2, ai2, g, ai1, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, ai1, g, ai2, ai2, w, g, v4, ai2, aj1, ai2, ai2, v4, g, w, ai2, ai2, g, ai1, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, ai1, g, ai2, ai2, ai2, ai2, ai2, ai2, aj1, ai2, ai2, ai2, ai2, ai2, ai2, ai2, g, ai1, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, ai1, g, ai2, ai2, ai2, ai2, ai2, ai2, aj1, ai2, ai2, ai2, ai2, ai2, ai2, ai2, g, ai1, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, g, ai2, ai2, ai2, ai2, ai2, aj1, ai2, ai2, aj1, ai2, ai2, ai2, ai2, ai2, g, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, ai1, ai2, ai2, ai2, aj2, ai2, aj1, aj1, ai2, aj2, ai2, ai2, ai2, ai1, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, ai1, ai2, ai2, aj2, ai2, ai2, g, g, ai2, ai2, aj2, ai2, ai2, ai1, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, ai2, ai2, g, g, g, aj2, aj2, g, g, g, ai2, ai2, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, ai2, g, ai2, ai2, y1, y1, y1, y1, ai2, ai2, g, ai2, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, g, ai2, ai2, ai2, ai1, y2, y2, ai1, ai2, ai2, ai2, g, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, g, g, g, ak, ak, g, g, ak, ak, g, g, g, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, g, g, g, g, g, g, g, g, g, g, g, g, g, g, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_2, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, g, ak, g, g, g, g, g, g, g, g, g, g, g, g, w, g, g, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, g, w, w, g, g, g, g, g, g, g, g, g, g, g, g, w, w, ab4, g, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, g, g, g, ab4, ab4, w, w, ak, g, g, g, g, g, g, g, g, g, g, ak, w, ab4, ab4, g, g, g, g, g, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, g, g, ab3, ab3, ab3, g, ab4, ab4, ab4, w, ak, g, g, g, g, g, g, g, g, g, ak, w, w, ab4, ab4, g, ab3, ab3, ab3, ab3, g, g, g, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, g, ab3, ab3, ab3, ab3, ab3, ab3, g, ab4, ab4, ab4, w, w, ak, g, ak, g, g, g, g, g, g, ak, w, ab4, ab4, ab4, g, ab3, ab1, ab3, ab3, ab3, ab3, ab3, g, g, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab4, ab4, ab4, w, w, ak, g, ak, g, g, g, g, g, w, w, ab4, ab4, g, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, g, ab4, ab4, ab4, ab4, w, ak, g, ak, g, ak, g, g, ak, w, ab4, ab4, g, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg1_6, bg1_6, bg1_6, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, g, ab4, ab4, ab4, ab4, ak, g, g, ak, g, ak, g, w, ab4, ab4, ab4, g, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, g, ab4, ab4, ab4, ab4, ak, g, ak, ak, g, ak, ab4, ab4, ab4, g, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, g, g, ab4, ab4, ab4, ak, ab4, ab4, ak, ab4, ab4, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, ab4, ab4, ab4, ab4, ab4, ab4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, g, g, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, g, bg1_7, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, g, g, g, g, g, am, al2, am, am, al1, al2, am, al2, am, al2, al2, am, am, am, al2, g, g, g, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, g, bg1_7, bg1_7, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, g, al1, al2, al2, al2, al2, am, am, am, al1, al1, am, al2, al1, al2, am, al2, al2, am, al2, al2, al2, al2, al2, al1, al1, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, g, bg1_7, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, al2, al2, al2, am, am, al2, al2, al2, am, am, am, al2, al1, al2, am, am, am, ao, am, am, am, am, am, am, am, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_3, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, al2, am, am, al1, am, al2, ao, al2, an2, an1, an2, ao, al2, ao, an2, an1, an2, ao, ao, al1, ao, ao, al2, al2, al1, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, am, al2, am, am, an2, an2, ao, ao, an2, an2, an2, ao, al2, ao, an2, an2, an2, ao, ao, an2, an2, ao, ao, ao, am, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, am, al1, ao, an2, ao, ao, ao, ao, an2, an2, an1, an2, ao, an2, an1, an2, an2, ao, ao, ao, ao, an2, ao, ao, ao, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, g, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, w, ao, ao, an2, ao, an2, an2, an2, an1, an1, an2, an2, ao, an2, an2, an1, an1, an2, an2, an2, ao, an2, ao, ao, w, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, g, af2, af2, af2, af2, g, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ao, w, ao, ao, an2, an2, an2, an2, an2, an2, an2, an2, ao, an2, an2, an2, an2, an2, an2, an2, an2, ao, ao, w, ao, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, g, af2, af2, af2, af2, g, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ao, w, ao, ao, an2, an2, an2, an2, an2, an2, an2, ao, ao, ao, an2, an2, an2, an2, an2, an2, an2, ao, ao, w, ao, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, g, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ao, w, ao, ao, an2, an2, an2, an2, an2, ao, an2, ao, ao, ao, an2, ao, an2, an2, an2, an2, an2, ao, ao, w, ao, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, af2, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, g, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ao, w, ao, an2, al1, ao, an2, ao, ao, al1, ao, an2, ao, an2, ao, al1, ao, ao, an2, ao, al1, an2, ao, w, ao, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, af2, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, g, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ao, w, ao, ao, an2, al1, ao, an2, al1, ao, ag1, ag1, ag1, ag1, ag1, ao, al1, an2, ao, al1, an2, ao, ao, w, ao, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, af2, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, w, ao, ao, ao, ao, ag1, ag1, ag1, ag1, ag1, ap, ap, ap, ap, ap, ag1, ag1, ag1, ag1, ag1, ao, ao, ao, ao, w, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, g, af2, af2, af2, af2, af2, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, g, am, w, ao, ag1, ag1, ap, ap, ap, ap, ap, aq, aq, aq, aq, aq, ap, ap, ap, ap, ap, ag1, ag1, ao, w, am, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, g, af2, af2, af2, af2, af2, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab1, ab1, ab3, ab3, ab3, ab3, ab3, g, am, am, ag1, ap, ap, aq, aq, aq, aq, aq, am, am, am, am, am, aq, aq, aq, aq, aq, ap, ap, ag1, am, am, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, g, af2, af2, af2, af2, af2, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_8, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab1, ab3, ab3, ab3, ab3, g, w, am, ap, aq, aq, am, am, am, am, am, am, w, w, w, am, am, am, am, am, am, aq, aq, ap, am, w, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, g, af2, af2, af2, af2, af2, g, bg1_8, bg1_8, bg1_8, bg1_8, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, g, g, g, g, g, bg1_5, bg1_5, bg1_5, g, af2, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ag1, ag1, aq, am, am, am, am, ag1, ag1, ag1, w, ag1, ag1, ag1, w, ag1, ag1, ag1, am, am, am, am, aq, ag1, ag1, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, g, af2, af2, af2, af2, af2, af2, g, bg1_8, bg1_8, bg1_8, g, g, g, g, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, g, af2, af2, af2, af2, af2, g, bg1_5, g, af2, af2, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, g, ap, ap, ag1, am, am, am, ag1, ap, ap, w, ag1, ap, ap, ap, ag1, w, ap, ap, ag1, am, am, am, ag1, ap, ap, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, g, af2, af2, af2, af2, af2, af2, af2, g, bg1_8, g, af2, af2, af2, af2, af2, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, g, af2, af2, af2, af2, af2, g, bg1_5, g, af2, af2, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, aq, ap, ag1, am, am, am, ag1, ap, aq, w, ag1, ap, aq, ap, ag1, w, aq, ap, ag1, am, am, am, ag1, ap, aq, g, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab1, ab3, ab3, ab3, ab3, g, af2, af2, af2, af2, af2, af2, af2, g, bg1_9, g, af2, af2, af2, af2, af2, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, g, af2, af2, af2, af2, af2, af2, af2, g, af2, af2, af2, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, ab1, ab1, ab1, ab1, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, af2, af2, af2, af2, af2, af2, g, af1, af2, af2, af2, af2, af2, af1, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, g, af2, af2, af2, g, af2, af2, af2, g, af2, af2, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, ap, ao, ap, ap, ap, g, ap, ap, ap, ap, ap, ap, ap, g, ap, ap, ao, ap, g, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, af2, af2, af2, af2, af2, af2, g, af1, af2, af2, g, af2, af2, af1, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, g, af2, af2, g, af1, af2, af2, af2, g, af2, af2, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, g, ap, ap, g, ap, ag3, ag3, ag3, ag3, ag3, ap, g, ap, g, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, af2, af2, af2, af2, af2, af2, g, af1, af2, af2, af1, g, af2, af1, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, af2, af2, g, af1, af1, af1, g, af2, af2, af2, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, g, ap, ag3, ag3, ag3, ag3, g, g, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, af2, af2, af2, af2, af2, af2, af2, g, af1, af1, af1, g, af2, af1, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_4, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, af1, af2, af2, g, g, g, af2, af2, af2, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab1, ab1, ab1, ab1, ab1, ab3, ab3, ab3, g, g, g, g, g, g, ab4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, g, g, g, af2, af2, af1, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, af1, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab4, ab4, g, ab4, ab4, ab4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, af1, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_10],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, af1, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab4, ab4, ab4, g, ab4, ab4, ab4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, af2, af2, af2, af2, af2, af2, af1, af2, af2, af2, af2, af1, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, af1, af1, af1, af1, g, af1, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab4, ab4, ab4, g, ab4, ab4, ab4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, af2, af2, af2, af2, af1, g, af1, af1, af1, af1, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10, bg1_10],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, g, g, g, bg1_5, g, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab4, ab4, ab4, g, ab4, ab4, ab4, ab4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, af2, af2, af2, af2, g, bg1_9, g, g, g, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, g, af1, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab4, ab4, ab4, g, g, ab4, ab4, ab4, ab4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, af2, af2, af2, af2, af2, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, g, af1, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab4, ab4, g, ar, ar, g, ab4, ab4, ab4, ab4, g, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, af2, af2, af2, af2, af2, af2, af2, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, g, af1, af1, af1, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab4, ab4, g, ar, am, am, ar, g, g, ab4, ab4, ab4, g, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, g, af2, af2, af2, af2, af2, af1, af1, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, g, af1, af1, af1, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, g, g, ar, am, am, am, am, ar, ab3, g, g, g, g, ab3, ab3, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, g, af2, af2, af2, af2, af2, af1, af1, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, g, af1, af1, af1, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, g, am, am, am, am, g, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, g, af2, af2, af2, af2, af1, af1, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, g, af1, af1, af1, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, ab3, ab3, ab3, ab3, g, am, am, am, am, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, g, af2, af2, af2, af2, af1, af1, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, g, af1, af1, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, g, ab3, ab3, ab3, ab1, ab3, ab3, g, am, am, am, am, g, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, g, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, g, af2, af2, af2, af1, af1, g, bg1_9, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, g, af1, af1, af2, af1, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab4, g, ab3, ab3, ab3, ab3, ab3, ab1, g, am, am, am, am, g, ab3, ab3, ab3, ab1, ab1, ab1, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, g, af2, af2, af1, af1, af1, g, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, g, af1, af1, af1, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, ab4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, am, am, am, am, g, ab1, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, g, af1, af2, af1, af1, g, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, g, af1, af1, af1, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab4, ab4, ab4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, am, am, am, am, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, g, af1, af1, af1, g, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, g, af1, af1, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab4, ab4, ab4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, am, am, am, am, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, g, af1, af1, g, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[bg1_5, bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, g, af1, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab4, ab4, ab4, ab4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, am, am, am, am, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, g, af1, g, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[bg1_5, bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab4, ab4, ab4, ab4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, am, am, am, am, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, g, g, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[bg1_5, bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, g, ab3, ab3, ab3, ab3, ab3, ab3, g, ab4, ab4, ab4, ab4, ab4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, am, am, am, am, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, g, bg1_9, bg1_9, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[bg1_5, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, g, ab3, ab3, ab3, ab3, ab3, ab3, g, ab4, ab4, ab4, ab4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, am, am, am, am, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, ab1, ab3, ab3, g, ab3, ab3, ab3, ab3, g, bg1_9, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
[bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_6, bg1_7, g, ab3, ab3, ab3, ab3, ab3, g, ab4, ab4, ab4, ab4, ab4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, am, am, am, am, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, ab1, ab3, ab3, g, ab3, ab3, ab3, ab3, g, bg1_9, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10, bg1_10],
]
JungWoon2 = [
[bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1],
[bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2],
[bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7],
[bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7],
[w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w],
[bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7],
[bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, g, g, g, g, g, g, g, g, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7],
[bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, g, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, g, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2],
[bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, g, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, g, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1],
[bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3],
[bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, g, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, g, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4],
[bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, g, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, g, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5],
[bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, g, bg3_3, bg3_3, bg3_6, bg3_6, bg3_2, bg3_2, bg3_6, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_6, bg3_2, bg3_2, bg3_6, bg3_6, bg3_3, bg3_3, g, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, g, bg3_3, bg3_3, g, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, g, bg3_6, bg3_3, bg3_3, g, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, g, bg3_3, bg3_3, bg3_6, bg3_6, bg3_2, bg3_2, bg3_6, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_6, bg3_2, bg3_2, bg3_6, bg3_6, bg3_3, bg3_3, g, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8],
[bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, g, bg3_3, bg3_4, bg3_3, bg3_6, bg3_6, bg3_2, bg3_6, bg3_7, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_7, bg3_6, bg3_2, bg3_6, bg3_6, bg3_3, bg3_4, bg3_3, g, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, g, bg3_3, bg3_4, bg3_3, g, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, g, bg3_6, bg3_3, bg3_4, bg3_3, g, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, g, bg3_3, bg3_4, bg3_3, bg3_6, bg3_6, bg3_2, bg3_6, bg3_7, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_7, bg3_6, bg3_2, bg3_6, bg3_6, bg3_3, bg3_4, bg3_3, g, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8],
[ag3, ag3, ag3, ag3, g, bg3_3, bg3_4, bg3_3, bg3_3, bg3_3, bg3_4, bg3_6, bg3_6, bg3_7, bg3_7, bg3_5, bg3_5, bg3_5, bg3_7, bg3_7, bg3_6, bg3_6, bg3_4, bg3_3, bg3_3, bg3_3, bg3_4, bg3_3, g, ag3, ag3, ag3, ag3, ag3, ag3, ag3, ag3, ag3, g, bg3_3, bg3_4, bg3_3, bg3_3, g, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, ah1, g, bg3_3, bg3_3, bg3_3, bg3_4, bg3_3, g, ag3, ag3, ag3, ag3, ag3, ag3, ag3, ag3, g, bg3_3, bg3_4, bg3_3, bg3_3, bg3_3, bg3_4, bg3_6, bg3_6, bg3_7, bg3_7, bg3_5, bg3_5, bg3_5, bg3_7, bg3_7, bg3_6, bg3_6, bg3_4, bg3_3, bg3_3, bg3_3, bg3_4, bg3_3, g, ag3, ag3, ag3, ag3],
[ag3, ag3, ag3, ag3, ag3, g, bg3_3, bg3_4, bg3_3, bg3_4, bg3_3, bg3_6, bg3_6, bg3_7, bg3_7, bg3_7, bg3_6, bg3_7, bg3_7, bg3_7, bg3_6, bg3_6, bg3_3, bg3_4, bg3_3, bg3_4, bg3_3, g, ag3, ag3, ag3, ag3, ag3, ag3, ag3, ag3, ag3, ag3, ag3, g, bg3_3, bg3_4, bg3_3, g, ah1, ah1, ah1, g, g, g, g, g, g, ah1, ah1, ah1, g, bg3_4, bg3_3, bg3_4, bg3_3, g, ag3, ag3, ag3, ag3, ag3, ag3, ag3, ag3, ag3, ag3, g, bg3_3, bg3_4, bg3_3, bg3_4, bg3_3, bg3_6, bg3_6, bg3_7, bg3_7, bg3_7, bg3_6, bg3_7, bg3_7, bg3_7, bg3_6, bg3_6, bg3_3, bg3_4, bg3_3, bg3_4, bg3_3, g, ag3, ag3, ag3, ag3, ag3],
[ag3, ag3, ag3, ag3, ag3, ag3, g, bg3_3, bg3_4, bg3_3, g, g, bg3_3, bg3_6, bg3_6, bg3_6, bg3_2, bg3_6, bg3_6, bg3_6, bg3_3, g, g, bg3_3, bg3_4, bg3_3, g, ag3, ag3, ag3, ag3, ag3, ag3, ag3, ag3, ag3, ag3, ag3, ag3, ag3, g, bg3_3, g, ah1, g, g, g, ah2, ah2, ah2, ah2, ah2, ah2, g, g, g, ah1, g, bg3_4, bg3_3, g, ag3, ag3, ag3, ag3, ag3, ag3, ag3, ag3, ag3, ag3, ag3, ag3, g, bg3_3, bg3_4, bg3_3, g, g, bg3_3, bg3_6, bg3_6, bg3_6, bg3_2, bg3_6, bg3_6, bg3_6, bg3_3, g, g, bg3_3, bg3_4, bg3_3, g, ag3, ag3, ag3, ag3, ag3, ag3],
[bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, g, bg3_6, bg3_3, g, g, bg3_3, bg3_3, bg3_6, bg3_6, bg3_2, bg3_2, bg3_2, bg3_6, bg3_6, bg3_3, bg3_3, g, g, bg3_3, bg3_6, g, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, g, bg3_6, g, g, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, g, g, bg3_3, bg3_6, g, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, g, bg3_6, bg3_3, g, g, bg3_3, bg3_3, bg3_6, bg3_6, bg3_2, bg3_2, bg3_2, bg3_6, bg3_6, bg3_3, bg3_3, g, g, bg3_3, bg3_6, g, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10],
[bg3_10, g, bg3_5, bg3_3, bg3_4, bg3_4, g, bg3_6, bg3_6, bg3_6, bg3_3, bg3_3, bg3_4, bg3_3, bg3_3, bg3_6, bg3_6, bg3_6, bg3_3, bg3_3, bg3_4, bg3_3, bg3_3, bg3_6, bg3_6, bg3_6, g, bg3_4, bg3_4, bg3_3, bg3_5, g, bg3_10, bg3_10, bg3_10, g, g, g, g, g, g, g, g, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, g, g, g, g, g, g, g, g, g, bg3_10, bg3_10, g, bg3_5, bg3_3, bg3_4, bg3_4, g, bg3_6, bg3_6, bg3_6, bg3_3, bg3_3, bg3_4, bg3_3, bg3_3, bg3_6, bg3_6, bg3_6, bg3_3, bg3_3, bg3_4, bg3_3, bg3_3, bg3_6, bg3_6, bg3_6, g, bg3_4, bg3_4, bg3_3, bg3_5, g, bg3_10],
[bg3_10, g, bg3_5, bg3_3, bg3_4, bg3_4, g, bg3_6, bg3_6, bg3_6, bg3_3, bg3_4, bg3_3, bg3_3, bg3_3, bg3_4, g, bg3_4, bg3_3, bg3_3, bg3_3, bg3_4, bg3_3, bg3_6, bg3_6, bg3_6, g, bg3_4, bg3_4, bg3_3, bg3_5, g, bg3_10, bg3_10, g, ah3, ah3, ah3, ah3, ah3, ah3, ah3, g, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, g, ah3, ah3, ah3, ah3, ah3, ah3, ah3, g, bg3_10, bg3_10, g, bg3_5, bg3_3, bg3_4, bg3_4, g, bg3_6, bg3_6, bg3_6, bg3_3, bg3_4, bg3_3, bg3_3, bg3_3, bg3_4, g, bg3_4, bg3_3, bg3_3, bg3_3, bg3_4, bg3_3, bg3_6, bg3_6, bg3_6, g, bg3_4, bg3_4, bg3_3, bg3_5, g, bg3_10],
[bg3_10, g, bg3_5, bg3_5, bg3_3, bg3_4, g, w, bg3_6, bg3_6, bg3_6, bg3_3, bg3_4, bg3_3, bg3_4, bg3_3, g, bg3_3, bg3_4, bg3_3, bg3_4, bg3_3, bg3_6, bg3_6, bg3_6, w, g, bg3_4, bg3_3, bg3_5, bg3_5, g, bg3_10, bg3_10, g, ah3, ah3, ah3, ah3, ah3, ah3, ah3, g, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, g, ah3, ah3, ah3, ah3, ah3, ah3, ah3, g, bg3_10, bg3_10, g, bg3_5, bg3_5, bg3_3, bg3_4, g, w, bg3_6, bg3_6, bg3_6, bg3_3, bg3_4, bg3_3, bg3_4, bg3_3, g, bg3_3, bg3_4, bg3_3, bg3_4, bg3_3, bg3_6, bg3_6, bg3_6, w, g, bg3_4, bg3_3, bg3_5, bg3_5, g, bg3_10],
[bg3_10, bg3_3, g, bg3_5, bg3_5, bg3_3, bg3_4, g, g, g, g, g, bg3_3, bg3_4, bg3_3, bg3_6, bg3_6, bg3_6, bg3_3, bg3_4, bg3_3, g, g, g, g, g, bg3_4, bg3_3, bg3_5, bg3_5, g, bg3_3, bg3_10, bg3_10, g, ah3, ah3, ah3, ah3, ah3, ah3, ah3, g, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, g, ah3, ah3, ah3, ah3, ah3, ah3, ah3, g, bg3_10, bg3_10, bg3_3, g, bg3_5, bg3_5, bg3_3, bg3_4, g, g, g, g, g, bg3_3, bg3_4, bg3_3, bg3_6, bg3_6, bg3_6, bg3_3, bg3_4, bg3_3, g, g, g, g, g, bg3_4, bg3_3, bg3_5, bg3_5, g, bg3_3, bg3_10],
[bg3_10, bg3_3, w, g, bg3_5, bg3_5, bg3_3, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, g, bg3_3, bg3_6, bg3_6, bg3_6, bg3_6, bg3_6, bg3_3, g, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_3, bg3_5, bg3_5, g, w, bg3_3, bg3_10, bg3_10, g, ah3, ah3, ah3, ah3, ah3, ah3, ah3, g, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, ah2, g, ah3, ah3, ah3, ah3, ah3, ah3, ah3, g, bg3_10, bg3_10, bg3_3, w, g, bg3_5, bg3_5, bg3_3, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, g, bg3_3, bg3_6, bg3_6, bg3_6, bg3_6, bg3_6, bg3_3, g, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_3, bg3_5, bg3_5, g, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, g, bg3_5, bg3_5, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, g, bg3_6, bg3_6, bg3_6, bg3_6, bg3_6, g, bg3_4, bg3_4, bg3_4, bg3_4, bg3_3, bg3_3, bg3_5, bg3_5, g, bg3_4, w, bg3_3, bg3_10, bg3_10, g, ah3, ah3, ah3, ah3, ah3, ah3, ah3, g, ah2, ah2, g, g, g, g, g, g, g, g, g, g, ah2, ah2, g, ah3, ah3, ah3, ah3, ah3, ah3, ah3, g, bg3_10, bg3_10, bg3_3, w, bg3_4, g, bg3_5, bg3_5, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, g, bg3_6, bg3_6, bg3_6, bg3_6, bg3_6, g, bg3_4, bg3_4, bg3_4, bg3_4, bg3_3, bg3_3, bg3_5, bg3_5, g, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, g, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_3, bg3_4, bg3_4, g, bg3_6, bg3_6, bg3_6, g, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_5, bg3_5, bg3_5, g, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_10, g, g, g, g, g, g, g, g, g, g, ai1, ai1, ai1, ai1, ai1, ai1, ai1, ai1, ai1, ai1, g, g, g, g, g, g, g, g, g, g, bg3_3, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, g, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_3, bg3_4, bg3_4, g, bg3_6, bg3_6, bg3_6, g, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_5, bg3_5, bg3_5, g, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, g, g, g, g, bg3_5, bg3_5, bg3_3, bg3_4, bg3_4, g, w, g, bg3_4, bg3_4, bg3_3, bg3_5, bg3_5, bg3_5, bg3_5, g, g, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, g, g, g, ai2, ai2, ai2, ai2, ai2, ai2, ai2, ai2, ai2, ai2, ai2, ai2, ai2, ai2, g, g, g, g, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, g, g, g, g, bg3_5, bg3_5, bg3_3, bg3_4, bg3_4, g, w, g, bg3_4, bg3_4, bg3_3, bg3_5, bg3_5, bg3_5, bg3_5, g, g, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, bg3_5, bg3_5, bg3_3, bg3_4, bg3_4, g, bg3_4, bg3_4, bg3_3, bg3_5, bg3_5, g, g, g, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, g, ai1, g, ai2, ai2, g, g, g, ai2, ai2, ai2, ai2, g, g, g, ai2, ai2, g, ai1, g, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, bg3_5, bg3_5, bg3_3, bg3_4, bg3_4, g, bg3_4, bg3_4, bg3_3, bg3_5, bg3_5, g, g, g, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, bg3_5, bg3_5, bg3_3, bg3_4, bg3_4, bg3_4, bg3_3, bg3_5, bg3_5, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, g, ai1, g, ai2, ai2, ai2, ai2, ai2, g, ai2, ai2, g, ai2, ai2, ai2, ai2, ai2, g, ai1, g, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, bg3_5, bg3_5, bg3_3, bg3_4, bg3_4, bg3_4, bg3_3, bg3_5, bg3_5, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, bg3_5, bg3_5, bg3_3, bg3_3, bg3_3, bg3_5, bg3_5, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, g, ai1, g, ai2, ai2, w, g, v4, ai2, aj1, ai2, ai2, v4, g, w, ai2, ai2, g, ai1, g, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, bg3_5, bg3_5, bg3_3, bg3_3, bg3_3, bg3_5, bg3_5, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, g, ai1, g, ai2, ai2, ai2, ai2, ai2, ai2, aj1, ai2, ai2, ai2, ai2, ai2, ai2, ai2, g, ai1, g, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, g, g, g, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, g, ai1, g, ai1, ai2, ai2, ai2, ai2, ai2, aj1, ai2, ai2, ai2, ai2, ai2, ai2, ai1, g, ai1, g, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, g, g, g, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, g, g, ai1, ai1, ai2, ai2, ai2, aj1, ai2, ai2, aj1, ai2, ai2, ai2, ai1, ai1, g, g, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, g, ai1, ai1, ai1, ai2, aj2, ai2, aj1, aj1, ai2, aj2, ai2, ai1, ai1, ai1, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, g, ai1, ai1, ai2, aj2, ai2, ai2, g, g, ai2, ai2, aj2, ai2, ai1, ai1, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, g, ai2, ai2, g, g, g, aj2, aj2, g, g, g, ai2, ai2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, g, ai2, g, ai2, ai2, y1, y1, y1, y1, ai2, ai2, g, ai2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, g, g, ai2, ai2, ai2, ai1, y2, y2, ai1, ai2, ai2, ai2, g, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, g, g, g, g, ak, ak, g, g, ak, ak, g, g, g, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, g, g, g, g, g, g, g, g, g, g, g, g, g, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, g, ak, g, g, g, g, g, g, g, g, g, g, g, g, w, g, g, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, g, g, w, w, g, g, g, g, g, g, g, g, g, g, g, g, w, w, ab4, g, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, bg3_10, bg3_10, bg3_3, g, g, g, g, ab4, ab4, w, w, ak, g, g, g, g, g, g, g, g, g, g, ak, w, ab4, ab4, g, g, g, g, g, w, bg3_3, bg3_10, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10, g, g, g, ab3, ab3, ab3, g, ab4, ab4, ab4, w, ak, g, g, g, g, g, g, g, g, g, ak, w, w, ab4, ab4, g, ab3, ab3, ab3, ab3, g, g, g, bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, g, g, ab3, ab3, ab3, ab3, ab3, ab3, g, ab4, ab4, ab4, w, w, ak, g, ak, g, g, g, g, g, g, ak, w, ab4, ab4, ab4, g, ab3, ab1, ab3, ab3, ab3, ab3, ab3, g, g, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab4, ab4, ab4, w, w, ak, g, ak, g, g, g, g, g, w, w, ab4, ab4, g, ab3, ab3, ab1, ab2, ab3, ab3, ab3, ab3, ab3, ab3, g, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, g, ab4, ab4, ab4, ab4, w, ak, g, ak, g, ak, g, g, ak, w, ab4, ab4, g, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab2, ab3, ab3, g, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab1, ab3, ab3, ab3, g, ab4, ab4, ab4, ab4, ak, g, g, ak, g, ak, g, w, ab4, ab4, ab4, g, ab3, ab3, ab3, ab3, ab1, ab2, ab3, ab3, ab3, ab3, ab2, ab3, ab3, g, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab1, ab3, ab3, ab3, ab3, g, ab4, ab4, ab4, ab4, ak, g, ak, ak, g, ak, ab4, ab4, ab4, g, ab3, ab3, ab3, ab3, ab3, ab1, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, ab3, ab3, ab3, ab1, ab2, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab2, g, g, ab4, ab4, ab4, ak, ab4, ab4, ak, ab4, ab4, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab2, ab1, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab3, g, g, ab4, ab4, ab4, ab4, ab4, ab4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab2, ab3, ab3, ab2, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, g, g, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab2, ab3, ab3, ab2, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab2, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab2, ab2, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab2, ab1, ab3, ab3, ab3, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab2, ab3, ab3, ab2, ab3, ab3, ab3, ab3, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, g, g, g, g, g, am, al2, am, am, al1, al2, am, al2, am, al2, al2, am, am, am, al2, g, g, g, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, g, al1, al2, al2, al2, al2, am, am, am, al1, al1, am, al2, al1, al2, am, al2, al2, am, al2, al2, al2, al2, al2, al1, al1, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, g, al2, al2, al2, am, am, al2, al2, al2, am, am, am, al2, al1, al2, am, am, am, ao, am, am, am, am, am, am, am, g, ab3, ab3, ab3, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, g, al2, am, am, al1, am, al2, ao, al2, an2, an1, an2, ao, al2, ao, an2, an1, an2, ao, ao, al1, ao, ao, al2, al2, al1, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, g, af2, af2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab1, ab3, ab3, ab3, ab3, g, am, al2, am, am, an2, an2, ao, ao, an2, an2, an2, ao, al2, ao, an2, an2, an2, ao, ao, an2, an2, ao, ao, ao, am, g, ab3, ab3, ab3, ab2, ab3, ab3, ab2, ab1, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab1, ab2, ab3, ab3, ab3, g, am, al1, ao, an2, ao, ao, ao, ao, an2, an2, an1, an2, ao, an2, an1, an2, an2, ao, ao, ao, ao, an2, ao, ao, ao, g, ab3, ab3, ab3, ab2, ab3, ab2, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab2, ab3, ab3, ab3, g, w, ao, ao, an2, ao, an2, an2, an2, an1, an1, an2, an2, ao, an2, an2, an1, an1, an2, an2, an2, ao, an2, ao, ao, w, g, ab3, ab3, ab2, ab3, ab3, ab2, ab1, ab3, ab1, ab3, ab3, ab3, ab3, ab3, g, af2, af2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, af2, af2, af2, g, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab2, ab3, ab3, g, ao, w, ao, ao, an2, an2, an2, an2, an2, an2, an2, an2, ao, an2, an2, an2, an2, an2, an2, an2, an2, ao, ao, w, ao, g, ab3, ab3, ab2, ab3, ab2, ab1, ab3, ab2, ab1, ab3, ab3, ab3, ab3, ab3, g, af2, af2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, af2, af2, af2, g, ab3, ab3, ab1, ab2, ab3, ab3, ab3, ab3, ab3, ab1, ab2, ab3, ab3, g, ao, w, ao, ao, an2, an2, an2, an2, an2, an2, an2, ao, ao, ao, an2, an2, an2, an2, an2, an2, an2, ao, ao, w, ao, g, ab3, ab3, ab2, ab2, ab1, ab3, ab2, ab1, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, g, ao, w, ao, ao, an2, an2, an2, an2, an2, ao, an2, ao, ao, ao, an2, ao, an2, an2, an2, an2, an2, ao, ao, w, ao, g, ab3, ab2, ab1, ab1, ab3, ab2, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, af2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab1, ab2, ab3, ab3, ab3, ab3, ab3, ab1, ab2, ab3, g, ao, w, ao, an2, al1, ao, an2, ao, ao, al1, ao, an2, ao, an2, ao, al1, ao, ao, an2, ao, al1, an2, ao, w, ao, g, ab2, ab1, ab3, ab3, ab2, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, af2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, ab3, ab3, ab1, ab2, ab3, g, ao, w, ao, ao, an2, al1, ao, an2, al1, ao, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, ao, al1, an2, ao, al1, an2, ao, ao, w, ao, g, ab3, ab3, ab3, ab2, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, af2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab1, ab2, ab3, ab3, ab3, ab3, ab3, ab1, ab2, g, w, ao, ao, ao, ao, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, ap, ap, ap, ap, ap, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, ao, ao, ao, ao, w, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab1, ab3, g, af2, af2, af2, af2, af2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab2, ab3, ab3, ab3, ab3, ab2, g, am, w, ao, bg3_4, bg3_4, ap, ap, ap, ap, ap, aq, aq, aq, aq, aq, ap, ap, ap, ap, ap, bg3_4, bg3_4, ao, w, am, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab1, ab3, g, af2, af2, af2, af2, af2, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, g, g, g, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab1, ab1, ab2, ab3, ab3, ab3, ab3, g, am, am, bg3_4, ap, ap, aq, aq, aq, aq, aq, am, am, am, am, am, aq, aq, aq, aq, aq, ap, ap, bg3_4, am, am, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab1, ab3, ab3, g, af2, af2, af2, af2, af2, g, g, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, bg3_5, bg3_5, bg3_5, g, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab1, ab2, ab3, ab3, ab3, g, w, am, ap, aq, aq, am, am, am, am, am, am, w, w, w, am, am, am, am, am, am, aq, aq, ap, am, w, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab1, ab3, ab3, g, af2, af2, af2, af2, af2, g, bg3_5, bg3_5, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, bg3_3, g, g, g, g, g, bg3_5, bg3_3, bg3_3, g, af2, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, bg3_4, bg3_4, aq, am, am, am, am, bg3_4, bg3_4, bg3_4, w, bg3_4, bg3_4, bg3_4, w, bg3_4, bg3_4, bg3_4, am, am, am, am, aq, bg3_4, bg3_4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab1, ab3, ab3, g, af2, af2, af2, af2, af2, af2, g, bg3_3, bg3_5, bg3_5, g, g, g, g, g, bg3_3, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, bg3_3, bg3_3, g, af2, af2, af2, af2, af2, g, bg3_4, g, af2, af2, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, g, ap, ap, bg3_4, am, am, am, bg3_4, ap, ap, w, bg3_4, ap, ap, ap, bg3_4, w, ap, ap, bg3_4, am, am, am, bg3_4, ap, ap, g, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab2, ab1, ab3, ab3, ab3, g, af2, af2, af2, af2, af2, af2, af2, g, bg3_3, g, af2, af2, af2, af2, af2, g, bg3_3, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, bg3_3, g, g, g, af2, af2, af2, af2, af2, g, bg3_4, g, af2, af2, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, aq, ap, bg3_4, am, am, am, bg3_4, ap, aq, w, bg3_4, ap, aq, ap, bg3_4, w, aq, ap, bg3_4, am, am, am, bg3_4, ap, aq, g, ab2, ab2, ab2, ab2, ab2, ab2, ab1, ab1, ab3, ab3, ab2, ab3, g, af2, af2, af2, af2, af2, af2, af2, g, bg3_4, g, af2, af2, af2, af2, af2, g, g, bg3_3, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, bg3_4, g, bg3_5, g, af2, af2, af2, af2, af2, af2, af2, g, af2, af2, af2, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, g, ab1, ab1, ab1, ab1, ab1, ab1, ab2, ab3, ab3, ab2, ab2, ab3, g, af2, af2, af2, af2, af2, af2, af2, af2, g, af1, af2, af2, af2, af2, af2, af1, g, g, bg3_4, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, bg3_4, g, bg3_5, bg3_5, g, af2, af2, af2, g, af2, af2, af2, g, af2, af2, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, ap, ao, ap, ap, ap, g, ap, ap, ap, ap, ap, ap, ap, g, ap, ap, ao, ap, g, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab3, ab2, ab3, g, af2, af2, af2, af2, af2, af2, af2, af2, g, af1, af2, af2, g, af2, af2, af1, g, bg3_5, g, bg3_4, w, bg3_3, bg3_10],
[bg3_10, bg3_3, w, g, bg3_5, bg3_5, bg3_3, g, af2, af2, g, af1, af2, af2, af2, g, af2, af2, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, g, ap, ap, g, ap, ag3, ag3, ag3, ag3, ag3, ap, g, ap, g, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, af2, af2, af2, af2, af2, af2, g, af1, af2, af2, af1, g, af2, af1, g, bg3_5, bg3_5, g, w, bg3_3, bg3_10],
[bg3_10, bg3_3, g, bg3_5, bg3_5, bg3_3, bg3_4, g, af2, af2, g, af1, af1, af1, g, af2, af2, af2, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, g, ap, ag3, ag3, ag3, ag3, g, g, g, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, af2, af2, af2, af2, af2, af2, af2, g, af1, af1, af1, g, af2, af1, g, bg3_3, bg3_5, bg3_5, g, bg3_3, bg3_10],
[bg3_10, g, bg3_5, bg3_5, bg3_3, bg3_4, g, g, af1, af2, af2, g, g, g, af2, af2, af2, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab1, ab1, ab1, ab1, ab1, ab3, ab3, ab3, g, g, g, g, g, g, ab4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, g, g, g, af2, af2, af1, g, bg3_4, bg3_3, bg3_5, bg3_5, g, bg3_10],
[bg3_10, g, bg3_5, bg3_3, bg3_4, bg3_4, g, bg3_6, g, af1, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab1, ab1, ab2, ab2, ab2, ab2, ab2, ab3, ab3, ab3, ab3, g, ab4, ab4, g, ab4, ab4, ab4, g, ab3, ab1, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, af1, g, g, bg3_4, bg3_4, bg3_3, bg3_5, g, bg3_10],
[bg3_10, g, bg3_5, bg3_3, bg3_4, bg3_4, g, bg3_6, bg3_6, g, af1, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab1, ab2, ab2, ab2, ab3, ab3, ab3, ab1, ab1, ab1, ab3, ab3, g, ab4, ab4, ab4, g, ab4, ab4, ab4, g, ab3, ab3, ab1, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab2, ab3, ab3, ab3, ab3, g, af2, af2, af2, af2, af2, af2, af2, af2, af1, af2, af2, af2, af2, af1, g, bg3_6, g, bg3_4, bg3_4, bg3_3, bg3_5, g, bg3_10],
[bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, g, bg3_6, bg3_3, g, g, af1, af1, af1, af1, g, af1, af2, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab1, ab2, ab3, ab3, ab3, ab3, ab1, ab1, ab1, ab2, ab2, ab3, ab3, ab3, g, ab4, ab4, ab4, g, ab4, ab4, ab4, g, ab3, ab3, ab1, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab3, ab3, ab3, g, af2, af2, af2, af2, af2, af2, af1, g, af1, af1, af1, af1, g, bg3_3, bg3_6, g, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10, bg3_10],
[ag3, ag3, ag3, ag3, ag3, ag3, g, bg3_3, bg3_4, bg3_3, g, g, g, g, g, bg3_6, g, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab1, ab2, ab3, ab3, ab3, ab3, ab3, ab1, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab4, ab4, ab4, g, ab4, ab4, ab4, ab4, g, ab3, ab3, ab1, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab3, ab3, g, af2, af2, af2, af2, af2, af2, g, bg3_6, g, g, g, g, bg3_3, bg3_4, bg3_3, g, ag3, ag3, ag3, ag3, ag3, ag3],
[ag3, ag3, ag3, ag3, ag3, g, bg3_3, bg3_4, bg3_3, bg3_4, bg3_3, bg3_6, bg3_6, bg3_7, bg3_7, g, af1, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab1, ab1, ab2, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab4, ab4, ab4, g, g, ab4, ab4, ab4, ab4, g, ab3, ab3, ab2, ab1, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, af2, af2, af2, af2, af2, af2, af2, g, bg3_7, bg3_6, bg3_6, bg3_3, bg3_4, bg3_3, bg3_4, bg3_3, g, ag3, ag3, ag3, ag3, ag3],
[ag3, ag3, ag3, ag3, g, bg3_3, bg3_4, bg3_3, bg3_3, bg3_3, bg3_4, bg3_6, bg3_6, bg3_7, bg3_7, g, af1, af2, af2, af2, af2, af2, g, ab3, ab3, ab3, ab2, ab2, ab2, ab3, ab2, ab3, ab3, ab3, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab4, ab4, g, ar, ar, g, ab4, ab4, ab4, ab4, g, ab2, ab1, ab2, ab1, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab1, ab3, g, g, af2, af2, af2, af2, af2, af2, af2, g, bg3_7, bg3_6, bg3_6, bg3_4, bg3_3, bg3_3, bg3_3, bg3_4, bg3_3, g, ag3, ag3, ag3, ag3],
[bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, g, bg3_3, bg3_4, bg3_3, bg3_6, bg3_6, bg3_2, bg3_6, bg3_7, g, af1, af1, af1, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab2, ab2, ab3, ab3, ab3, ab3, g, ab4, ab4, g, ar, am, am, ar, g, g, ab4, ab4, ab4, g, ab3, ab1, ab2, ab1, ab3, ab3, ab3, ab3, ab1, ab1, ab3, ab3, ab3, ab3, ab3, ab2, ab1, ab3, ab3, g, ab3, g, af2, af2, af2, af2, af2, af1, af1, g, bg3_6, bg3_2, bg3_6, bg3_6, bg3_3, bg3_4, bg3_3, g, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8],
[bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, g, bg3_3, bg3_3, bg3_6, bg3_6, bg3_2, bg3_2, bg3_6, g, af1, af1, af1, af2, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab2, ab3, ab3, ab3, ab2, ab2, ab2, ab2, ab1, ab1, ab1, ab3, ab3, g, g, g, g, ar, am, am, am, am, ar, ab3, g, g, g, g, ab3, ab3, ab1, ab1, ab2, ab2, ab3, ab3, ab3, ab3, ab1, ab2, ab3, ab3, ab2, ab2, ab1, ab3, ab3, g, ab3, g, af2, af2, af2, af2, af2, af1, af1, g, bg3_2, bg3_2, bg3_6, bg3_6, bg3_3, bg3_3, g, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8, bg3_8],
[bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, g, af1, af1, af1, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab2, ab2, ab2, ab2, ab1, ab1, ab1, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, g, am, am, am, am, g, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab1, ab1, ab2, ab3, ab3, ab3, ab3, ab1, ab2, ab2, ab2, ab1, ab3, ab3, g, ab3, ab3, g, af2, af2, af2, af2, af1, af1, g, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5, bg3_5],
[bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, g, af1, af1, af1, af2, af2, g, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab2, ab2, ab2, ab2, ab1, ab3, ab3, ab3, ab3, ab3, g, g, ab3, ab3, ab3, ab3, g, am, am, am, am, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, g, ab3, ab3, ab3, ab1, ab2, ab3, ab3, ab3, ab3, ab1, ab2, ab1, ab3, ab3, ab3, g, ab3, ab3, g, af2, af2, af2, af2, af1, af1, g, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4, bg3_4],
[bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, g, af1, af1, af2, af2, g, ab3, ab3, ab3, ab3, ab3, ab2, ab2, ab2, ab2, ab2, ab3, ab3, ab3, ab3, g, g, g, ab3, ab3, ab3, ab1, ab3, ab3, g, am, am, am, am, g, ab3, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, g, ab3, ab3, ab3, ab1, ab2, ab3, ab3, ab3, ab3, ab1, ab3, ab3, ab3, g, ab3, ab3, ab3, g, af2, af2, af2, af1, af1, g, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3, bg3_3],
[bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, g, af1, af1, af2, af1, g, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab2, ab3, ab3, ab3, ab3, ab3, g, ab4, g, ab3, ab3, ab3, ab3, ab2, ab1, g, am, am, am, am, g, ab3, ab3, ab3, ab1, ab1, ab1, ab2, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab1, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, g, af2, af2, af1, af1, af1, g, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1],
[bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, g, af1, af1, af1, g, ab3, ab3, ab3, ab3, ab3, ab2, ab2, ab3, ab3, ab3, ab3, g, g, ab4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab2, g, am, am, am, am, g, ab1, ab1, ab1, ab2, ab2, ab2, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, ab1, ab2, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, g, af1, af2, af1, af1, g, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2],
[bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, g, af1, af1, af1, g, ab3, ab3, ab3, ab3, ab2, ab2, ab3, ab3, ab3, ab3, g, ab4, ab4, ab4, g, ab3, ab3, ab3, ab2, ab3, ab3, ab3, g, am, am, am, am, g, ab2, ab2, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, ab1, ab2, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, g, af1, af1, af1, g, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7],
[bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, g, af1, af1, g, ab3, ab3, ab3, ab2, ab2, ab3, ab3, ab3, ab3, g, ab4, ab4, ab4, g, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, g, am, am, am, am, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, ab1, ab2, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, g, af1, af1, g, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7],
[w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, g, af1, g, ab3, ab3, ab2, ab2, ab3, ab3, ab3, ab3, g, ab4, ab4, ab4, ab4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, g, am, am, am, am, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, ab1, ab2, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, g, af1, g, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w, w],
[bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, g, g, ab3, ab2, ab2, ab3, ab3, ab3, ab3, g, ab4, ab4, ab4, ab4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, g, am, am, am, am, g, ab3, ab3, ab2, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, ab1, ab2, ab3, ab3, g, ab3, ab3, ab3, ab3, g, g, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7],
[bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, g, ab3, ab3, ab3, ab2, ab2, ab3, g, ab4, ab4, ab4, ab4, ab4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, g, am, am, am, am, g, ab3, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, ab1, ab2, ab3, ab3, g, ab3, ab3, ab3, ab3, g, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7, bg3_7],
[bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, g, ab3, ab3, ab3, ab2, ab3, ab3, g, ab4, ab4, ab4, ab4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, am, am, am, am, g, ab3, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab3, ab3, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, ab1, ab2, ab3, g, ab3, ab3, ab3, ab3, g, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2, bg3_2],
[bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, g, ab3, ab3, ab3, ab3, ab3, g, ab4, ab4, ab4, ab4, ab4, g, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, g, am, am, am, am, g, ab3, ab2, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab3, ab2, ab2, ab3, ab3, ab3, g, ab3, ab3, ab3, ab3, ab1, ab2, ab3, g, ab3, ab3, ab3, ab3, g, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1, bg3_1],
]
ywt = randint(12501,13000)
seed(ywt)
if mh == "guakjaewoo":
pixels = GuakJaeWoo1
p = "guakjaewoo"
count_guakjaewoo += 1
elif mh == "guakjaewooB":
pixels = GuakJaeWoo2
p = "guakjaewoo"
count_guakjaewoo += 1
elif mh == "kimchungsun":
pixels = KimChungSun1
p = "kimchungsun"
count_kimchungsun += 1
elif mh == "kimchungsunB":
pixels = KimChungSun2
p = "kimchungsun"
count_kimchungsun += 1
elif mh == "jungwoon":
pixels = JungWoon1
p = "jungwoon"
count_jungwoon += 1
elif mh == "jungwoonB":
pixels = JungWoon2
p = "jungwoon"
count_jungwoon += 1
array = np.array(pixels, dtype=np.uint8)
new_image = Image.fromarray(array)
new_image = new_image.resize(dimensions, resample=0)
if p == "guakjaewoo":
imgname = dirname + '/heros/' + p + '_' + (str(count_guakjaewoo)) + '.png'
elif p == "kimchungsun":
imgname = dirname + '/heros/' + p + '_' + (str(count_kimchungsun)) + '.png'
else:
imgname = dirname + '/heros/' + p + '_' + (str(count_jungwoon)) + '.png'
new_image.save(imgname)
#make_heros("guakjaewoo", 200, 145)
#make_heros("guakjaewooB", 3, 415155)
#make_heros("kimchungsun", 200, 1875)
#make_heros("kimchungsunB", 3, 41515775)
make_heros("jungwoon", 200, 1687)
#make_heros("jungwoonB", 3, 23415155)
| 288.378145
| 716
| 0.615588
| 92,259
| 366,817
| 2.1257
| 0.005279
| 0.204553
| 0.262958
| 0.298906
| 0.967805
| 0.963113
| 0.956046
| 0.95136
| 0.947138
| 0.941091
| 0
| 0.299955
| 0.208761
| 366,817
| 1,271
| 717
| 288.605035
| 0.375744
| 0.003637
| 0
| 0.088979
| 0
| 0
| 0.000505
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.001011
| false
| 0
| 0.006067
| 0
| 0.007078
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 12
|
50af1e03385028c2bb9e81dbbc7694ca58e5436b
| 836
|
py
|
Python
|
tests/components/file_upload/test_file_upload.py
|
dalepotter/govuk-frontend-jinja
|
8ea209b3f70d50f9ebc08873396f040caebf12b6
|
[
"MIT"
] | null | null | null |
tests/components/file_upload/test_file_upload.py
|
dalepotter/govuk-frontend-jinja
|
8ea209b3f70d50f9ebc08873396f040caebf12b6
|
[
"MIT"
] | null | null | null |
tests/components/file_upload/test_file_upload.py
|
dalepotter/govuk-frontend-jinja
|
8ea209b3f70d50f9ebc08873396f040caebf12b6
|
[
"MIT"
] | null | null | null |
import pytest
def test_file_upload(env, similar, template, expected):
template = env.from_string(template)
assert similar(template.render(), expected)
def test_file_upload_with_hint_text(env, similar, template, expected):
template = env.from_string(template)
assert similar(template.render(), expected)
def test_file_upload_with_error_message(env, similar, template, expected):
template = env.from_string(template)
assert similar(template.render(), expected)
def test_file_upload_with_value_and_attributes(env, similar, template, expected):
template = env.from_string(template)
assert similar(template.render(), expected)
def test_file_upload_with_label_as_page_heading(env, similar, template, expected):
template = env.from_string(template)
assert similar(template.render(), expected)
| 30.962963
| 82
| 0.776316
| 107
| 836
| 5.785047
| 0.242991
| 0.242326
| 0.088853
| 0.137318
| 0.862682
| 0.862682
| 0.862682
| 0.862682
| 0.862682
| 0.862682
| 0
| 0
| 0.12799
| 836
| 26
| 83
| 32.153846
| 0.849108
| 0
| 0
| 0.625
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.3125
| 1
| 0.3125
| false
| 0
| 0.0625
| 0
| 0.375
| 0
| 0
| 0
| 0
| null | 1
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
50b845adc751ca02765aec9317c32168a4e2fad7
| 119
|
py
|
Python
|
altaipony/tests/test_altai.py
|
barentsen/AltaiPony
|
519464eec5d589d6d4627c6a61e36da54b0628dd
|
[
"MIT"
] | 1
|
2018-09-28T18:54:57.000Z
|
2018-09-28T18:54:57.000Z
|
altaipony/tests/test_altai.py
|
barentsen/AltaiPony
|
519464eec5d589d6d4627c6a61e36da54b0628dd
|
[
"MIT"
] | null | null | null |
altaipony/tests/test_altai.py
|
barentsen/AltaiPony
|
519464eec5d589d6d4627c6a61e36da54b0628dd
|
[
"MIT"
] | null | null | null |
from ..altai import wrapper
def test_wrapper():
"""Integration test of a given example light curve."""
pass
| 19.833333
| 59
| 0.680672
| 16
| 119
| 5
| 0.875
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.218487
| 119
| 5
| 60
| 23.8
| 0.860215
| 0.403361
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| true
| 0.333333
| 0.333333
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 0
| 1
| 0
|
0
| 7
|
0fa3677bef5fbe2cf522b74999626e92ad89d28c
| 49
|
py
|
Python
|
instance/config.py
|
JORIM1981/Nuntium-Fractionis
|
1038ce272c16459b8eecc3d3c2328013a31d02cc
|
[
"MIT"
] | null | null | null |
instance/config.py
|
JORIM1981/Nuntium-Fractionis
|
1038ce272c16459b8eecc3d3c2328013a31d02cc
|
[
"MIT"
] | null | null | null |
instance/config.py
|
JORIM1981/Nuntium-Fractionis
|
1038ce272c16459b8eecc3d3c2328013a31d02cc
|
[
"MIT"
] | null | null | null |
NEWS_API_KEY = '293b5ff7802540ab85761b5785940dce'
| 49
| 49
| 0.897959
| 4
| 49
| 10.5
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.489362
| 0.040816
| 49
| 1
| 49
| 49
| 0.404255
| 0
| 0
| 0
| 0
| 0
| 0.64
| 0.64
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
0fbd2bd8f0af0c19de7b9c85ac73b1e87f722412
| 35,557
|
py
|
Python
|
test_grid.py
|
EdwardG5/tempCrossword
|
a6b6f70900b4fa30d35a1e253a7cbbf52ec10074
|
[
"MIT"
] | null | null | null |
test_grid.py
|
EdwardG5/tempCrossword
|
a6b6f70900b4fa30d35a1e253a7cbbf52ec10074
|
[
"MIT"
] | null | null | null |
test_grid.py
|
EdwardG5/tempCrossword
|
a6b6f70900b4fa30d35a1e253a7cbbf52ec10074
|
[
"MIT"
] | null | null | null |
import unittest
from constants import Constants
from grid import WordId, SquareWordInfo
from grid import removeLetters, populateWithIth, populateWithInfo, startPositionsDict, gridToWordClassList, wordClassListToGrid
class TestTrie(unittest.TestCase):
@classmethod
def setUpClass(cls):
# Examples grids (photo for fullNYT stored on Desktop)
cls.example1 = [[' ', 'a', ' ', '#'], ['#', 's', '#', 'a'], ['#', '#', 'k', ' ']]
cls.fullNYT = [ ['h', 'e', 'l', 'l', '#', '#', 'w', 'e', 'l', 'l', '#', 'a', 'm', 'p', 's'],
['o', 'w', 'i', 'e', '#', 's', 'o', 'd', 'o', 'i', '#', 'c', 'a', 'l', 'l'],
['b', 'a', 'n', 'g', '#', 't', 'r', 'u', 't', 'v', '#', 'c', 'r', 'a', 'y'],
['o', 'n', 'e', 'w', 'o', 'o', 'd', '#', 's', 'e', 't', 'r', 'r', 't', 'e'],
['#', '#', '#', 'a', 'm', 'i', 's', 'h', '#', 'b', 'r', 'a', 'c', 'e', 's'],
['a', 'd', 'e', 'x', 'e', 'c', '#', 'a', 'l', 'l', 'a', '#', 'a', 'n', 't'],
['b', 'a', 'l', 'i', 'n', '#', 'g', 'l', 'o', 'o', 'p', 's', '#', '#', '#'],
['c', 'h', 'i', 'n', '#', 's', 'o', 'f', 't', 'g', '#', 'p', 'o', 'o', 'h'],
['#', '#', '#', 'g', 'a', 'l', 'o', 'o', 't', '#', 't', 'i', 'a', 'r', 'a'],
['i', 'r', 's', '#', 'b', 'o', 'f', 'f', '#', 'j', 'u', 'n', 'k', 'e', 't'],
['t', 'e', 'e', 's', 'u', 'p', '#', 'f', 'r', 'a', 'n', 'c', '#', '#', '#'],
['s', 'w', 'e', 'a', 't', 'i', 't', '#', 'a', 'd', 'a', 'y', 'a', 'g', 'o'],
['s', 'i', 'n', 'g', '#', 't', 'i', 'n', 'g', 'e', '#', 'c', 'h', 'o', 'p'],
['a', 'r', 'i', 'a', '#', 'c', 'r', 'e', 'e', 'd', '#', 'l', 'o', 'n', 'e'],
['d', 'e', 'n', 's', '#', 'h', 'e', 'a', 'r', '#', '#', 'e', 'y', 'e', 'd'] ]
# Expected outputs
cls.example1LettersRemoved = [[' ', ' ', ' ', '#'], ['#', ' ', '#', ' '], ['#', '#', ' ', ' ']]
cls.example1PopulateWithIth = [[1, 2, ' ', '#'], ['#', ' ', '#', 3], ['#', '#', 4, ' ']]
cls.example1PopulateWithInfo = [[[SquareWordInfo(wid=WordId(ith=1, dir='Across'), len=3, pos=1)],
[SquareWordInfo(wid=WordId(ith=1, dir='Across'), len=3, pos=2), SquareWordInfo(wid=WordId(ith=2, dir='Down'), len=2, pos=1)],
[SquareWordInfo(wid=WordId(ith=1, dir='Across'), len=3, pos=3)],
'#'],
['#',
[SquareWordInfo(wid=WordId(ith=2, dir='Down'), len=2, pos=2)],
'#',
[SquareWordInfo(wid=WordId(ith=3, dir='Down'), len=2, pos=1)]],
['#',
'#',
[SquareWordInfo(wid=WordId(ith=4, dir='Across'), len=2, pos=1)],
[SquareWordInfo(wid=WordId(ith=3, dir='Down'), len=2, pos=2), SquareWordInfo(wid=WordId(ith=4, dir='Across'), len=2, pos=2)]]]
cls.example1StartPositionsDict = {WordId(ith=1, dir='Across'): (0, 0), WordId(ith=2, dir='Down'): (0, 1), WordId(ith=3, dir='Down'): (1, 3), WordId(ith=4, dir='Across'): (2, 2)}
cls.fullNYTLettersRemoved = [[' ', ' ', ' ', ' ', '#', '#', ' ', ' ', ' ', ' ', '#', ' ', ' ', ' ', ' '], [' ', ' ', ' ', ' ', '#', ' ', ' ', ' ', ' ', ' ', '#', ' ', ' ', ' ', ' '], [' ', ' ', ' ', ' ', '#', ' ', ' ', ' ', ' ', ' ', '#', ' ', ' ', ' ', ' '], [' ', ' ', ' ', ' ', ' ', ' ', ' ', '#', ' ', ' ', ' ', ' ', ' ', ' ', ' '], ['#', '#', '#', ' ', ' ', ' ', ' ', ' ', '#', ' ', ' ', ' ', ' ', ' ', ' '], [' ', ' ', ' ', ' ', ' ', ' ', '#', ' ', ' ', ' ', ' ', '#', ' ', ' ', ' '], [' ', ' ', ' ', ' ', ' ', '#', ' ', ' ', ' ', ' ', ' ', ' ', '#', '#', '#'], [' ', ' ', ' ', ' ', '#', ' ', ' ', ' ', ' ', ' ', '#', ' ', ' ', ' ', ' '], ['#', '#', '#', ' ', ' ', ' ', ' ', ' ', ' ', '#', ' ', ' ', ' ', ' ', ' '], [' ', ' ', ' ', '#', ' ', ' ', ' ', ' ', '#', ' ', ' ', ' ', ' ', ' ', ' '], [' ', ' ', ' ', ' ', ' ', ' ', '#', ' ', ' ', ' ', ' ', ' ', '#', '#', '#'], [' ', ' ', ' ', ' ', ' ', ' ', ' ', '#', ' ', ' ', ' ', ' ', ' ', ' ', ' '], [' ', ' ', ' ', ' ', '#', ' ', ' ', ' ', ' ', ' ', '#', ' ', ' ', ' ', ' '], [' ', ' ', ' ', ' ', '#', ' ', ' ', ' ', ' ', ' ', '#', ' ', ' ', ' ', ' '], [' ', ' ', ' ', ' ', '#', ' ', ' ', ' ', ' ', '#', '#', ' ', ' ', ' ', ' ']]
cls.fullNYTPopulateWithIth = [[1, 2, 3, 4, '#', '#', 5, 6, 7, 8, '#', 9, 10, 11, 12], [13, ' ', ' ', ' ', '#', 14, ' ', ' ', ' ', ' ', '#', 15, ' ', ' ', ' '], [16, ' ', ' ', ' ', '#', 17, ' ', ' ', ' ', ' ', '#', 18, ' ', ' ', ' '], [19, ' ', ' ', ' ', 20, ' ', ' ', '#', 21, ' ', 22, ' ', ' ', ' ', ' '], ['#', '#', '#', 23, ' ', ' ', ' ', 24, '#', 25, ' ', ' ', ' ', ' ', ' '], [26, 27, 28, ' ', ' ', ' ', '#', 29, 30, ' ', ' ', '#', 31, ' ', ' '], [32, ' ', ' ', ' ', ' ', '#', 33, ' ', ' ', ' ', ' ', 34, '#', '#', '#'], [35, ' ', ' ', ' ', '#', 36, ' ', ' ', ' ', ' ', '#', 37, 38, 39, 40], ['#', '#', '#', 41, 42, ' ', ' ', ' ', ' ', '#', 43, ' ', ' ', ' ', ' '], [44, 45, 46, '#', 47, ' ', ' ', ' ', '#', 48, ' ', ' ', ' ', ' ', ' '], [49, ' ', ' ', 50, ' ', ' ', '#', 51, 52, ' ', ' ', ' ', '#', '#', '#'], [53, ' ', ' ', ' ', ' ', ' ', 54, '#', 55, ' ', ' ', ' ', 56, 57, 58], [59, ' ', ' ', ' ', '#', 60, ' ', 61, ' ', ' ', '#', 62, ' ', ' ', ' '], [63, ' ', ' ', ' ', '#', 64, ' ', ' ', ' ', ' ', '#', 65, ' ', ' ', ' '], [66, ' ', ' ', ' ', '#', 67, ' ', ' ', ' ', '#', '#', 68, ' ', ' ', ' ']]
cls.fullNYTPopulateWithInfo = [[[SquareWordInfo(wid=WordId(ith=1, dir='Across'), len=4, pos=1), SquareWordInfo(wid=WordId(ith=1, dir='Down'), len=4, pos=1)], [SquareWordInfo(wid=WordId(ith=1, dir='Across'), len=4, pos=2), SquareWordInfo(wid=WordId(ith=2, dir='Down'), len=4, pos=1)], [SquareWordInfo(wid=WordId(ith=1, dir='Across'), len=4, pos=3), SquareWordInfo(wid=WordId(ith=3, dir='Down'), len=4, pos=1)], [SquareWordInfo(wid=WordId(ith=1, dir='Across'), len=4, pos=4), SquareWordInfo(wid=WordId(ith=4, dir='Down'), len=9, pos=1)], '#', '#', [SquareWordInfo(wid=WordId(ith=5, dir='Across'), len=4, pos=1), SquareWordInfo(wid=WordId(ith=5, dir='Down'), len=5, pos=1)], [SquareWordInfo(wid=WordId(ith=5, dir='Across'), len=4, pos=2), SquareWordInfo(wid=WordId(ith=6, dir='Down'), len=3, pos=1)], [SquareWordInfo(wid=WordId(ith=5, dir='Across'), len=4, pos=3), SquareWordInfo(wid=WordId(ith=7, dir='Down'), len=4, pos=1)], [SquareWordInfo(wid=WordId(ith=5, dir='Across'), len=4, pos=4), SquareWordInfo(wid=WordId(ith=8, dir='Down'), len=8, pos=1)], '#', [SquareWordInfo(wid=WordId(ith=9, dir='Across'), len=4, pos=1), SquareWordInfo(wid=WordId(ith=9, dir='Down'), len=5, pos=1)], [SquareWordInfo(wid=WordId(ith=9, dir='Across'), len=4, pos=2), SquareWordInfo(wid=WordId(ith=10, dir='Down'), len=6, pos=1)], [SquareWordInfo(wid=WordId(ith=9, dir='Across'), len=4, pos=3), SquareWordInfo(wid=WordId(ith=11, dir='Down'), len=6, pos=1)], [SquareWordInfo(wid=WordId(ith=9, dir='Across'), len=4, pos=4), SquareWordInfo(wid=WordId(ith=12, dir='Down'), len=6, pos=1)]], [[SquareWordInfo(wid=WordId(ith=1, dir='Down'), len=4, pos=2), SquareWordInfo(wid=WordId(ith=13, dir='Across'), len=4, pos=1)], [SquareWordInfo(wid=WordId(ith=2, dir='Down'), len=4, pos=2), SquareWordInfo(wid=WordId(ith=13, dir='Across'), len=4, pos=2)], [SquareWordInfo(wid=WordId(ith=3, dir='Down'), len=4, pos=2), SquareWordInfo(wid=WordId(ith=13, dir='Across'), len=4, pos=3)], [SquareWordInfo(wid=WordId(ith=4, dir='Down'), len=9, pos=2), SquareWordInfo(wid=WordId(ith=13, dir='Across'), len=4, pos=4)], '#', [SquareWordInfo(wid=WordId(ith=14, dir='Across'), len=5, pos=1), SquareWordInfo(wid=WordId(ith=14, dir='Down'), len=5, pos=1)], [SquareWordInfo(wid=WordId(ith=5, dir='Down'), len=5, pos=2), SquareWordInfo(wid=WordId(ith=14, dir='Across'), len=5, pos=2)], [SquareWordInfo(wid=WordId(ith=6, dir='Down'), len=3, pos=2), SquareWordInfo(wid=WordId(ith=14, dir='Across'), len=5, pos=3)], [SquareWordInfo(wid=WordId(ith=7, dir='Down'), len=4, pos=2), SquareWordInfo(wid=WordId(ith=14, dir='Across'), len=5, pos=4)], [SquareWordInfo(wid=WordId(ith=8, dir='Down'), len=8, pos=2), SquareWordInfo(wid=WordId(ith=14, dir='Across'), len=5, pos=5)], '#', [SquareWordInfo(wid=WordId(ith=9, dir='Down'), len=5, pos=2), SquareWordInfo(wid=WordId(ith=15, dir='Across'), len=4, pos=1)], [SquareWordInfo(wid=WordId(ith=10, dir='Down'), len=6, pos=2), SquareWordInfo(wid=WordId(ith=15, dir='Across'), len=4, pos=2)], [SquareWordInfo(wid=WordId(ith=11, dir='Down'), len=6, pos=2), SquareWordInfo(wid=WordId(ith=15, dir='Across'), len=4, pos=3)], [SquareWordInfo(wid=WordId(ith=12, dir='Down'), len=6, pos=2), SquareWordInfo(wid=WordId(ith=15, dir='Across'), len=4, pos=4)]], [[SquareWordInfo(wid=WordId(ith=1, dir='Down'), len=4, pos=3), SquareWordInfo(wid=WordId(ith=16, dir='Across'), len=4, pos=1)], [SquareWordInfo(wid=WordId(ith=2, dir='Down'), len=4, pos=3), SquareWordInfo(wid=WordId(ith=16, dir='Across'), len=4, pos=2)], [SquareWordInfo(wid=WordId(ith=3, dir='Down'), len=4, pos=3), SquareWordInfo(wid=WordId(ith=16, dir='Across'), len=4, pos=3)], [SquareWordInfo(wid=WordId(ith=4, dir='Down'), len=9, pos=3), SquareWordInfo(wid=WordId(ith=16, dir='Across'), len=4, pos=4)], '#', [SquareWordInfo(wid=WordId(ith=14, dir='Down'), len=5, pos=2), SquareWordInfo(wid=WordId(ith=17, dir='Across'), len=5, pos=1)], [SquareWordInfo(wid=WordId(ith=5, dir='Down'), len=5, pos=3), SquareWordInfo(wid=WordId(ith=17, dir='Across'), len=5, pos=2)], [SquareWordInfo(wid=WordId(ith=6, dir='Down'), len=3, pos=3), SquareWordInfo(wid=WordId(ith=17, dir='Across'), len=5, pos=3)], [SquareWordInfo(wid=WordId(ith=7, dir='Down'), len=4, pos=3), SquareWordInfo(wid=WordId(ith=17, dir='Across'), len=5, pos=4)], [SquareWordInfo(wid=WordId(ith=8, dir='Down'), len=8, pos=3), SquareWordInfo(wid=WordId(ith=17, dir='Across'), len=5, pos=5)], '#', [SquareWordInfo(wid=WordId(ith=9, dir='Down'), len=5, pos=3), SquareWordInfo(wid=WordId(ith=18, dir='Across'), len=4, pos=1)], [SquareWordInfo(wid=WordId(ith=10, dir='Down'), len=6, pos=3), SquareWordInfo(wid=WordId(ith=18, dir='Across'), len=4, pos=2)], [SquareWordInfo(wid=WordId(ith=11, dir='Down'), len=6, pos=3), SquareWordInfo(wid=WordId(ith=18, dir='Across'), len=4, pos=3)], [SquareWordInfo(wid=WordId(ith=12, dir='Down'), len=6, pos=3), SquareWordInfo(wid=WordId(ith=18, dir='Across'), len=4, pos=4)]], [[SquareWordInfo(wid=WordId(ith=1, dir='Down'), len=4, pos=4), SquareWordInfo(wid=WordId(ith=19, dir='Across'), len=7, pos=1)], [SquareWordInfo(wid=WordId(ith=2, dir='Down'), len=4, pos=4), SquareWordInfo(wid=WordId(ith=19, dir='Across'), len=7, pos=2)], [SquareWordInfo(wid=WordId(ith=3, dir='Down'), len=4, pos=4), SquareWordInfo(wid=WordId(ith=19, dir='Across'), len=7, pos=3)], [SquareWordInfo(wid=WordId(ith=4, dir='Down'), len=9, pos=4), SquareWordInfo(wid=WordId(ith=19, dir='Across'), len=7, pos=4)], [SquareWordInfo(wid=WordId(ith=19, dir='Across'), len=7, pos=5), SquareWordInfo(wid=WordId(ith=20, dir='Down'), len=4, pos=1)], [SquareWordInfo(wid=WordId(ith=14, dir='Down'), len=5, pos=3), SquareWordInfo(wid=WordId(ith=19, dir='Across'), len=7, pos=6)], [SquareWordInfo(wid=WordId(ith=5, dir='Down'), len=5, pos=4), SquareWordInfo(wid=WordId(ith=19, dir='Across'), len=7, pos=7)], '#', [SquareWordInfo(wid=WordId(ith=7, dir='Down'), len=4, pos=4), SquareWordInfo(wid=WordId(ith=21, dir='Across'), len=7, pos=1)], [SquareWordInfo(wid=WordId(ith=8, dir='Down'), len=8, pos=4), SquareWordInfo(wid=WordId(ith=21, dir='Across'), len=7, pos=2)], [SquareWordInfo(wid=WordId(ith=21, dir='Across'), len=7, pos=3), SquareWordInfo(wid=WordId(ith=22, dir='Down'), len=4, pos=1)], [SquareWordInfo(wid=WordId(ith=9, dir='Down'), len=5, pos=4), SquareWordInfo(wid=WordId(ith=21, dir='Across'), len=7, pos=4)], [SquareWordInfo(wid=WordId(ith=10, dir='Down'), len=6, pos=4), SquareWordInfo(wid=WordId(ith=21, dir='Across'), len=7, pos=5)], [SquareWordInfo(wid=WordId(ith=11, dir='Down'), len=6, pos=4), SquareWordInfo(wid=WordId(ith=21, dir='Across'), len=7, pos=6)], [SquareWordInfo(wid=WordId(ith=12, dir='Down'), len=6, pos=4), SquareWordInfo(wid=WordId(ith=21, dir='Across'), len=7, pos=7)]], ['#', '#', '#', [SquareWordInfo(wid=WordId(ith=4, dir='Down'), len=9, pos=5), SquareWordInfo(wid=WordId(ith=23, dir='Across'), len=5, pos=1)], [SquareWordInfo(wid=WordId(ith=20, dir='Down'), len=4, pos=2), SquareWordInfo(wid=WordId(ith=23, dir='Across'), len=5, pos=2)], [SquareWordInfo(wid=WordId(ith=14, dir='Down'), len=5, pos=4), SquareWordInfo(wid=WordId(ith=23, dir='Across'), len=5, pos=3)], [SquareWordInfo(wid=WordId(ith=5, dir='Down'), len=5, pos=5), SquareWordInfo(wid=WordId(ith=23, dir='Across'), len=5, pos=4)], [SquareWordInfo(wid=WordId(ith=23, dir='Across'), len=5, pos=5), SquareWordInfo(wid=WordId(ith=24, dir='Down'), len=7, pos=1)], '#', [SquareWordInfo(wid=WordId(ith=8, dir='Down'), len=8, pos=5), SquareWordInfo(wid=WordId(ith=25, dir='Across'), len=6, pos=1)], [SquareWordInfo(wid=WordId(ith=22, dir='Down'), len=4, pos=2), SquareWordInfo(wid=WordId(ith=25, dir='Across'), len=6, pos=2)], [SquareWordInfo(wid=WordId(ith=9, dir='Down'), len=5, pos=5), SquareWordInfo(wid=WordId(ith=25, dir='Across'), len=6, pos=3)], [SquareWordInfo(wid=WordId(ith=10, dir='Down'), len=6, pos=5), SquareWordInfo(wid=WordId(ith=25, dir='Across'), len=6, pos=4)], [SquareWordInfo(wid=WordId(ith=11, dir='Down'), len=6, pos=5), SquareWordInfo(wid=WordId(ith=25, dir='Across'), len=6, pos=5)], [SquareWordInfo(wid=WordId(ith=12, dir='Down'), len=6, pos=5), SquareWordInfo(wid=WordId(ith=25, dir='Across'), len=6, pos=6)]], [[SquareWordInfo(wid=WordId(ith=26, dir='Across'), len=6, pos=1), SquareWordInfo(wid=WordId(ith=26, dir='Down'), len=3, pos=1)], [SquareWordInfo(wid=WordId(ith=26, dir='Across'), len=6, pos=2), SquareWordInfo(wid=WordId(ith=27, dir='Down'), len=3, pos=1)], [SquareWordInfo(wid=WordId(ith=26, dir='Across'), len=6, pos=3), SquareWordInfo(wid=WordId(ith=28, dir='Down'), len=3, pos=1)], [SquareWordInfo(wid=WordId(ith=4, dir='Down'), len=9, pos=6), SquareWordInfo(wid=WordId(ith=26, dir='Across'), len=6, pos=4)], [SquareWordInfo(wid=WordId(ith=20, dir='Down'), len=4, pos=3), SquareWordInfo(wid=WordId(ith=26, dir='Across'), len=6, pos=5)], [SquareWordInfo(wid=WordId(ith=14, dir='Down'), len=5, pos=5), SquareWordInfo(wid=WordId(ith=26, dir='Across'), len=6, pos=6)], '#', [SquareWordInfo(wid=WordId(ith=24, dir='Down'), len=7, pos=2), SquareWordInfo(wid=WordId(ith=29, dir='Across'), len=4, pos=1)], [SquareWordInfo(wid=WordId(ith=29, dir='Across'), len=4, pos=2), SquareWordInfo(wid=WordId(ith=30, dir='Down'), len=4, pos=1)], [SquareWordInfo(wid=WordId(ith=8, dir='Down'), len=8, pos=6), SquareWordInfo(wid=WordId(ith=29, dir='Across'), len=4, pos=3)], [SquareWordInfo(wid=WordId(ith=22, dir='Down'), len=4, pos=3), SquareWordInfo(wid=WordId(ith=29, dir='Across'), len=4, pos=4)], '#', [SquareWordInfo(wid=WordId(ith=10, dir='Down'), len=6, pos=6), SquareWordInfo(wid=WordId(ith=31, dir='Across'), len=3, pos=1)], [SquareWordInfo(wid=WordId(ith=11, dir='Down'), len=6, pos=6), SquareWordInfo(wid=WordId(ith=31, dir='Across'), len=3, pos=2)], [SquareWordInfo(wid=WordId(ith=12, dir='Down'), len=6, pos=6), SquareWordInfo(wid=WordId(ith=31, dir='Across'), len=3, pos=3)]], [[SquareWordInfo(wid=WordId(ith=26, dir='Down'), len=3, pos=2), SquareWordInfo(wid=WordId(ith=32, dir='Across'), len=5, pos=1)], [SquareWordInfo(wid=WordId(ith=27, dir='Down'), len=3, pos=2), SquareWordInfo(wid=WordId(ith=32, dir='Across'), len=5, pos=2)], [SquareWordInfo(wid=WordId(ith=28, dir='Down'), len=3, pos=2), SquareWordInfo(wid=WordId(ith=32, dir='Across'), len=5, pos=3)], [SquareWordInfo(wid=WordId(ith=4, dir='Down'), len=9, pos=7), SquareWordInfo(wid=WordId(ith=32, dir='Across'), len=5, pos=4)], [SquareWordInfo(wid=WordId(ith=20, dir='Down'), len=4, pos=4), SquareWordInfo(wid=WordId(ith=32, dir='Across'), len=5, pos=5)], '#', [SquareWordInfo(wid=WordId(ith=33, dir='Across'), len=6, pos=1), SquareWordInfo(wid=WordId(ith=33, dir='Down'), len=4, pos=1)], [SquareWordInfo(wid=WordId(ith=24, dir='Down'), len=7, pos=3), SquareWordInfo(wid=WordId(ith=33, dir='Across'), len=6, pos=2)], [SquareWordInfo(wid=WordId(ith=30, dir='Down'), len=4, pos=2), SquareWordInfo(wid=WordId(ith=33, dir='Across'), len=6, pos=3)], [SquareWordInfo(wid=WordId(ith=8, dir='Down'), len=8, pos=7), SquareWordInfo(wid=WordId(ith=33, dir='Across'), len=6, pos=4)], [SquareWordInfo(wid=WordId(ith=22, dir='Down'), len=4, pos=4), SquareWordInfo(wid=WordId(ith=33, dir='Across'), len=6, pos=5)], [SquareWordInfo(wid=WordId(ith=33, dir='Across'), len=6, pos=6), SquareWordInfo(wid=WordId(ith=34, dir='Down'), len=9, pos=1)], '#', '#', '#'], [[SquareWordInfo(wid=WordId(ith=26, dir='Down'), len=3, pos=3), SquareWordInfo(wid=WordId(ith=35, dir='Across'), len=4, pos=1)], [SquareWordInfo(wid=WordId(ith=27, dir='Down'), len=3, pos=3), SquareWordInfo(wid=WordId(ith=35, dir='Across'), len=4, pos=2)], [SquareWordInfo(wid=WordId(ith=28, dir='Down'), len=3, pos=3), SquareWordInfo(wid=WordId(ith=35, dir='Across'), len=4, pos=3)], [SquareWordInfo(wid=WordId(ith=4, dir='Down'), len=9, pos=8), SquareWordInfo(wid=WordId(ith=35, dir='Across'), len=4, pos=4)], '#', [SquareWordInfo(wid=WordId(ith=36, dir='Across'), len=5, pos=1), SquareWordInfo(wid=WordId(ith=36, dir='Down'), len=8, pos=1)], [SquareWordInfo(wid=WordId(ith=33, dir='Down'), len=4, pos=2), SquareWordInfo(wid=WordId(ith=36, dir='Across'), len=5, pos=2)], [SquareWordInfo(wid=WordId(ith=24, dir='Down'), len=7, pos=4), SquareWordInfo(wid=WordId(ith=36, dir='Across'), len=5, pos=3)], [SquareWordInfo(wid=WordId(ith=30, dir='Down'), len=4, pos=3), SquareWordInfo(wid=WordId(ith=36, dir='Across'), len=5, pos=4)], [SquareWordInfo(wid=WordId(ith=8, dir='Down'), len=8, pos=8), SquareWordInfo(wid=WordId(ith=36, dir='Across'), len=5, pos=5)], '#', [SquareWordInfo(wid=WordId(ith=34, dir='Down'), len=9, pos=2), SquareWordInfo(wid=WordId(ith=37, dir='Across'), len=4, pos=1)], [SquareWordInfo(wid=WordId(ith=37, dir='Across'), len=4, pos=2), SquareWordInfo(wid=WordId(ith=38, dir='Down'), len=3, pos=1)], [SquareWordInfo(wid=WordId(ith=37, dir='Across'), len=4, pos=3), SquareWordInfo(wid=WordId(ith=39, dir='Down'), len=3, pos=1)], [SquareWordInfo(wid=WordId(ith=37, dir='Across'), len=4, pos=4), SquareWordInfo(wid=WordId(ith=40, dir='Down'), len=3, pos=1)]], ['#', '#', '#', [SquareWordInfo(wid=WordId(ith=4, dir='Down'), len=9, pos=9), SquareWordInfo(wid=WordId(ith=41, dir='Across'), len=6, pos=1)], [SquareWordInfo(wid=WordId(ith=41, dir='Across'), len=6, pos=2), SquareWordInfo(wid=WordId(ith=42, dir='Down'), len=4, pos=1)], [SquareWordInfo(wid=WordId(ith=36, dir='Down'), len=8, pos=2), SquareWordInfo(wid=WordId(ith=41, dir='Across'), len=6, pos=3)], [SquareWordInfo(wid=WordId(ith=33, dir='Down'), len=4, pos=3), SquareWordInfo(wid=WordId(ith=41, dir='Across'), len=6, pos=4)], [SquareWordInfo(wid=WordId(ith=24, dir='Down'), len=7, pos=5), SquareWordInfo(wid=WordId(ith=41, dir='Across'), len=6, pos=5)], [SquareWordInfo(wid=WordId(ith=30, dir='Down'), len=4, pos=4), SquareWordInfo(wid=WordId(ith=41, dir='Across'), len=6, pos=6)], '#', [SquareWordInfo(wid=WordId(ith=43, dir='Across'), len=5, pos=1), SquareWordInfo(wid=WordId(ith=43, dir='Down'), len=4, pos=1)], [SquareWordInfo(wid=WordId(ith=34, dir='Down'), len=9, pos=3), SquareWordInfo(wid=WordId(ith=43, dir='Across'), len=5, pos=2)], [SquareWordInfo(wid=WordId(ith=38, dir='Down'), len=3, pos=2), SquareWordInfo(wid=WordId(ith=43, dir='Across'), len=5, pos=3)], [SquareWordInfo(wid=WordId(ith=39, dir='Down'), len=3, pos=2), SquareWordInfo(wid=WordId(ith=43, dir='Across'), len=5, pos=4)], [SquareWordInfo(wid=WordId(ith=40, dir='Down'), len=3, pos=2), SquareWordInfo(wid=WordId(ith=43, dir='Across'), len=5, pos=5)]], [[SquareWordInfo(wid=WordId(ith=44, dir='Across'), len=3, pos=1), SquareWordInfo(wid=WordId(ith=44, dir='Down'), len=6, pos=1)], [SquareWordInfo(wid=WordId(ith=44, dir='Across'), len=3, pos=2), SquareWordInfo(wid=WordId(ith=45, dir='Down'), len=6, pos=1)], [SquareWordInfo(wid=WordId(ith=44, dir='Across'), len=3, pos=3), SquareWordInfo(wid=WordId(ith=46, dir='Down'), len=6, pos=1)], '#', [SquareWordInfo(wid=WordId(ith=42, dir='Down'), len=4, pos=2), SquareWordInfo(wid=WordId(ith=47, dir='Across'), len=4, pos=1)], [SquareWordInfo(wid=WordId(ith=36, dir='Down'), len=8, pos=3), SquareWordInfo(wid=WordId(ith=47, dir='Across'), len=4, pos=2)], [SquareWordInfo(wid=WordId(ith=33, dir='Down'), len=4, pos=4), SquareWordInfo(wid=WordId(ith=47, dir='Across'), len=4, pos=3)], [SquareWordInfo(wid=WordId(ith=24, dir='Down'), len=7, pos=6), SquareWordInfo(wid=WordId(ith=47, dir='Across'), len=4, pos=4)], '#', [SquareWordInfo(wid=WordId(ith=48, dir='Across'), len=6, pos=1), SquareWordInfo(wid=WordId(ith=48, dir='Down'), len=5, pos=1)], [SquareWordInfo(wid=WordId(ith=43, dir='Down'), len=4, pos=2), SquareWordInfo(wid=WordId(ith=48, dir='Across'), len=6, pos=2)], [SquareWordInfo(wid=WordId(ith=34, dir='Down'), len=9, pos=4), SquareWordInfo(wid=WordId(ith=48, dir='Across'), len=6, pos=3)], [SquareWordInfo(wid=WordId(ith=38, dir='Down'), len=3, pos=3), SquareWordInfo(wid=WordId(ith=48, dir='Across'), len=6, pos=4)], [SquareWordInfo(wid=WordId(ith=39, dir='Down'), len=3, pos=3), SquareWordInfo(wid=WordId(ith=48, dir='Across'), len=6, pos=5)], [SquareWordInfo(wid=WordId(ith=40, dir='Down'), len=3, pos=3), SquareWordInfo(wid=WordId(ith=48, dir='Across'), len=6, pos=6)]], [[SquareWordInfo(wid=WordId(ith=44, dir='Down'), len=6, pos=2), SquareWordInfo(wid=WordId(ith=49, dir='Across'), len=6, pos=1)], [SquareWordInfo(wid=WordId(ith=45, dir='Down'), len=6, pos=2), SquareWordInfo(wid=WordId(ith=49, dir='Across'), len=6, pos=2)], [SquareWordInfo(wid=WordId(ith=46, dir='Down'), len=6, pos=2), SquareWordInfo(wid=WordId(ith=49, dir='Across'), len=6, pos=3)], [SquareWordInfo(wid=WordId(ith=49, dir='Across'), len=6, pos=4), SquareWordInfo(wid=WordId(ith=50, dir='Down'), len=5, pos=1)], [SquareWordInfo(wid=WordId(ith=42, dir='Down'), len=4, pos=3), SquareWordInfo(wid=WordId(ith=49, dir='Across'), len=6, pos=5)], [SquareWordInfo(wid=WordId(ith=36, dir='Down'), len=8, pos=4), SquareWordInfo(wid=WordId(ith=49, dir='Across'), len=6, pos=6)], '#', [SquareWordInfo(wid=WordId(ith=24, dir='Down'), len=7, pos=7), SquareWordInfo(wid=WordId(ith=51, dir='Across'), len=5, pos=1)], [SquareWordInfo(wid=WordId(ith=51, dir='Across'), len=5, pos=2), SquareWordInfo(wid=WordId(ith=52, dir='Down'), len=5, pos=1)], [SquareWordInfo(wid=WordId(ith=48, dir='Down'), len=5, pos=2), SquareWordInfo(wid=WordId(ith=51, dir='Across'), len=5, pos=3)], [SquareWordInfo(wid=WordId(ith=43, dir='Down'), len=4, pos=3), SquareWordInfo(wid=WordId(ith=51, dir='Across'), len=5, pos=4)], [SquareWordInfo(wid=WordId(ith=34, dir='Down'), len=9, pos=5), SquareWordInfo(wid=WordId(ith=51, dir='Across'), len=5, pos=5)], '#', '#', '#'], [[SquareWordInfo(wid=WordId(ith=44, dir='Down'), len=6, pos=3), SquareWordInfo(wid=WordId(ith=53, dir='Across'), len=7, pos=1)], [SquareWordInfo(wid=WordId(ith=45, dir='Down'), len=6, pos=3), SquareWordInfo(wid=WordId(ith=53, dir='Across'), len=7, pos=2)], [SquareWordInfo(wid=WordId(ith=46, dir='Down'), len=6, pos=3), SquareWordInfo(wid=WordId(ith=53, dir='Across'), len=7, pos=3)], [SquareWordInfo(wid=WordId(ith=50, dir='Down'), len=5, pos=2), SquareWordInfo(wid=WordId(ith=53, dir='Across'), len=7, pos=4)], [SquareWordInfo(wid=WordId(ith=42, dir='Down'), len=4, pos=4), SquareWordInfo(wid=WordId(ith=53, dir='Across'), len=7, pos=5)], [SquareWordInfo(wid=WordId(ith=36, dir='Down'), len=8, pos=5), SquareWordInfo(wid=WordId(ith=53, dir='Across'), len=7, pos=6)], [SquareWordInfo(wid=WordId(ith=53, dir='Across'), len=7, pos=7), SquareWordInfo(wid=WordId(ith=54, dir='Down'), len=4, pos=1)], '#', [SquareWordInfo(wid=WordId(ith=52, dir='Down'), len=5, pos=2), SquareWordInfo(wid=WordId(ith=55, dir='Across'), len=7, pos=1)], [SquareWordInfo(wid=WordId(ith=48, dir='Down'), len=5, pos=3), SquareWordInfo(wid=WordId(ith=55, dir='Across'), len=7, pos=2)], [SquareWordInfo(wid=WordId(ith=43, dir='Down'), len=4, pos=4), SquareWordInfo(wid=WordId(ith=55, dir='Across'), len=7, pos=3)], [SquareWordInfo(wid=WordId(ith=34, dir='Down'), len=9, pos=6), SquareWordInfo(wid=WordId(ith=55, dir='Across'), len=7, pos=4)], [SquareWordInfo(wid=WordId(ith=55, dir='Across'), len=7, pos=5), SquareWordInfo(wid=WordId(ith=56, dir='Down'), len=4, pos=1)], [SquareWordInfo(wid=WordId(ith=55, dir='Across'), len=7, pos=6), SquareWordInfo(wid=WordId(ith=57, dir='Down'), len=4, pos=1)], [SquareWordInfo(wid=WordId(ith=55, dir='Across'), len=7, pos=7), SquareWordInfo(wid=WordId(ith=58, dir='Down'), len=4, pos=1)]], [[SquareWordInfo(wid=WordId(ith=44, dir='Down'), len=6, pos=4), SquareWordInfo(wid=WordId(ith=59, dir='Across'), len=4, pos=1)], [SquareWordInfo(wid=WordId(ith=45, dir='Down'), len=6, pos=4), SquareWordInfo(wid=WordId(ith=59, dir='Across'), len=4, pos=2)], [SquareWordInfo(wid=WordId(ith=46, dir='Down'), len=6, pos=4), SquareWordInfo(wid=WordId(ith=59, dir='Across'), len=4, pos=3)], [SquareWordInfo(wid=WordId(ith=50, dir='Down'), len=5, pos=3), SquareWordInfo(wid=WordId(ith=59, dir='Across'), len=4, pos=4)], '#', [SquareWordInfo(wid=WordId(ith=36, dir='Down'), len=8, pos=6), SquareWordInfo(wid=WordId(ith=60, dir='Across'), len=5, pos=1)], [SquareWordInfo(wid=WordId(ith=54, dir='Down'), len=4, pos=2), SquareWordInfo(wid=WordId(ith=60, dir='Across'), len=5, pos=2)], [SquareWordInfo(wid=WordId(ith=60, dir='Across'), len=5, pos=3), SquareWordInfo(wid=WordId(ith=61, dir='Down'), len=3, pos=1)], [SquareWordInfo(wid=WordId(ith=52, dir='Down'), len=5, pos=3), SquareWordInfo(wid=WordId(ith=60, dir='Across'), len=5, pos=4)], [SquareWordInfo(wid=WordId(ith=48, dir='Down'), len=5, pos=4), SquareWordInfo(wid=WordId(ith=60, dir='Across'), len=5, pos=5)], '#', [SquareWordInfo(wid=WordId(ith=34, dir='Down'), len=9, pos=7), SquareWordInfo(wid=WordId(ith=62, dir='Across'), len=4, pos=1)], [SquareWordInfo(wid=WordId(ith=56, dir='Down'), len=4, pos=2), SquareWordInfo(wid=WordId(ith=62, dir='Across'), len=4, pos=2)], [SquareWordInfo(wid=WordId(ith=57, dir='Down'), len=4, pos=2), SquareWordInfo(wid=WordId(ith=62, dir='Across'), len=4, pos=3)], [SquareWordInfo(wid=WordId(ith=58, dir='Down'), len=4, pos=2), SquareWordInfo(wid=WordId(ith=62, dir='Across'), len=4, pos=4)]], [[SquareWordInfo(wid=WordId(ith=44, dir='Down'), len=6, pos=5), SquareWordInfo(wid=WordId(ith=63, dir='Across'), len=4, pos=1)], [SquareWordInfo(wid=WordId(ith=45, dir='Down'), len=6, pos=5), SquareWordInfo(wid=WordId(ith=63, dir='Across'), len=4, pos=2)], [SquareWordInfo(wid=WordId(ith=46, dir='Down'), len=6, pos=5), SquareWordInfo(wid=WordId(ith=63, dir='Across'), len=4, pos=3)], [SquareWordInfo(wid=WordId(ith=50, dir='Down'), len=5, pos=4), SquareWordInfo(wid=WordId(ith=63, dir='Across'), len=4, pos=4)], '#', [SquareWordInfo(wid=WordId(ith=36, dir='Down'), len=8, pos=7), SquareWordInfo(wid=WordId(ith=64, dir='Across'), len=5, pos=1)], [SquareWordInfo(wid=WordId(ith=54, dir='Down'), len=4, pos=3), SquareWordInfo(wid=WordId(ith=64, dir='Across'), len=5, pos=2)], [SquareWordInfo(wid=WordId(ith=61, dir='Down'), len=3, pos=2), SquareWordInfo(wid=WordId(ith=64, dir='Across'), len=5, pos=3)], [SquareWordInfo(wid=WordId(ith=52, dir='Down'), len=5, pos=4), SquareWordInfo(wid=WordId(ith=64, dir='Across'), len=5, pos=4)], [SquareWordInfo(wid=WordId(ith=48, dir='Down'), len=5, pos=5), SquareWordInfo(wid=WordId(ith=64, dir='Across'), len=5, pos=5)], '#', [SquareWordInfo(wid=WordId(ith=34, dir='Down'), len=9, pos=8), SquareWordInfo(wid=WordId(ith=65, dir='Across'), len=4, pos=1)], [SquareWordInfo(wid=WordId(ith=56, dir='Down'), len=4, pos=3), SquareWordInfo(wid=WordId(ith=65, dir='Across'), len=4, pos=2)], [SquareWordInfo(wid=WordId(ith=57, dir='Down'), len=4, pos=3), SquareWordInfo(wid=WordId(ith=65, dir='Across'), len=4, pos=3)], [SquareWordInfo(wid=WordId(ith=58, dir='Down'), len=4, pos=3), SquareWordInfo(wid=WordId(ith=65, dir='Across'), len=4, pos=4)]], [[SquareWordInfo(wid=WordId(ith=44, dir='Down'), len=6, pos=6), SquareWordInfo(wid=WordId(ith=66, dir='Across'), len=4, pos=1)], [SquareWordInfo(wid=WordId(ith=45, dir='Down'), len=6, pos=6), SquareWordInfo(wid=WordId(ith=66, dir='Across'), len=4, pos=2)], [SquareWordInfo(wid=WordId(ith=46, dir='Down'), len=6, pos=6), SquareWordInfo(wid=WordId(ith=66, dir='Across'), len=4, pos=3)], [SquareWordInfo(wid=WordId(ith=50, dir='Down'), len=5, pos=5), SquareWordInfo(wid=WordId(ith=66, dir='Across'), len=4, pos=4)], '#', [SquareWordInfo(wid=WordId(ith=36, dir='Down'), len=8, pos=8), SquareWordInfo(wid=WordId(ith=67, dir='Across'), len=4, pos=1)], [SquareWordInfo(wid=WordId(ith=54, dir='Down'), len=4, pos=4), SquareWordInfo(wid=WordId(ith=67, dir='Across'), len=4, pos=2)], [SquareWordInfo(wid=WordId(ith=61, dir='Down'), len=3, pos=3), SquareWordInfo(wid=WordId(ith=67, dir='Across'), len=4, pos=3)], [SquareWordInfo(wid=WordId(ith=52, dir='Down'), len=5, pos=5), SquareWordInfo(wid=WordId(ith=67, dir='Across'), len=4, pos=4)], '#', '#', [SquareWordInfo(wid=WordId(ith=34, dir='Down'), len=9, pos=9), SquareWordInfo(wid=WordId(ith=68, dir='Across'), len=4, pos=1)], [SquareWordInfo(wid=WordId(ith=56, dir='Down'), len=4, pos=4), SquareWordInfo(wid=WordId(ith=68, dir='Across'), len=4, pos=2)], [SquareWordInfo(wid=WordId(ith=57, dir='Down'), len=4, pos=4), SquareWordInfo(wid=WordId(ith=68, dir='Across'), len=4, pos=3)], [SquareWordInfo(wid=WordId(ith=58, dir='Down'), len=4, pos=4), SquareWordInfo(wid=WordId(ith=68, dir='Across'), len=4, pos=4)]]]
cls.fullNYTStartPositionsDict = {WordId(ith=1, dir='Across'): (0, 0), WordId(ith=1, dir='Down'): (0, 0), WordId(ith=2, dir='Down'): (0, 1), WordId(ith=3, dir='Down'): (0, 2), WordId(ith=4, dir='Down'): (0, 3), WordId(ith=5, dir='Across'): (0, 6), WordId(ith=5, dir='Down'): (0, 6), WordId(ith=6, dir='Down'): (0, 7), WordId(ith=7, dir='Down'): (0, 8), WordId(ith=8, dir='Down'): (0, 9), WordId(ith=9, dir='Across'): (0, 11), WordId(ith=9, dir='Down'): (0, 11), WordId(ith=10, dir='Down'): (0, 12), WordId(ith=11, dir='Down'): (0, 13), WordId(ith=12, dir='Down'): (0, 14), WordId(ith=13, dir='Across'): (1, 0), WordId(ith=14, dir='Across'): (1, 5), WordId(ith=14, dir='Down'): (1, 5), WordId(ith=15, dir='Across'): (1, 11), WordId(ith=16, dir='Across'): (2, 0), WordId(ith=17, dir='Across'): (2, 5), WordId(ith=18, dir='Across'): (2, 11), WordId(ith=19, dir='Across'): (3, 0), WordId(ith=20, dir='Down'): (3, 4), WordId(ith=21, dir='Across'): (3, 8), WordId(ith=22, dir='Down'): (3, 10), WordId(ith=23, dir='Across'): (4, 3), WordId(ith=24, dir='Down'): (4, 7), WordId(ith=25, dir='Across'): (4, 9), WordId(ith=26, dir='Across'): (5, 0), WordId(ith=26, dir='Down'): (5, 0), WordId(ith=27, dir='Down'): (5, 1), WordId(ith=28, dir='Down'): (5, 2), WordId(ith=29, dir='Across'): (5, 7), WordId(ith=30, dir='Down'): (5, 8), WordId(ith=31, dir='Across'): (5, 12), WordId(ith=32, dir='Across'): (6, 0), WordId(ith=33, dir='Across'): (6, 6), WordId(ith=33, dir='Down'): (6, 6), WordId(ith=34, dir='Down'): (6, 11), WordId(ith=35, dir='Across'): (7, 0), WordId(ith=36, dir='Across'): (7, 5), WordId(ith=36, dir='Down'): (7, 5), WordId(ith=37, dir='Across'): (7, 11), WordId(ith=38, dir='Down'): (7, 12), WordId(ith=39, dir='Down'): (7, 13), WordId(ith=40, dir='Down'): (7, 14), WordId(ith=41, dir='Across'): (8, 3), WordId(ith=42, dir='Down'): (8, 4), WordId(ith=43, dir='Across'): (8, 10), WordId(ith=43, dir='Down'): (8, 10), WordId(ith=44, dir='Across'): (9, 0), WordId(ith=44, dir='Down'): (9, 0), WordId(ith=45, dir='Down'): (9, 1), WordId(ith=46, dir='Down'): (9, 2), WordId(ith=47, dir='Across'): (9, 4), WordId(ith=48, dir='Across'): (9, 9), WordId(ith=48, dir='Down'): (9, 9), WordId(ith=49, dir='Across'): (10, 0), WordId(ith=50, dir='Down'): (10, 3), WordId(ith=51, dir='Across'): (10, 7), WordId(ith=52, dir='Down'): (10, 8), WordId(ith=53, dir='Across'): (11, 0), WordId(ith=54, dir='Down'): (11, 6), WordId(ith=55, dir='Across'): (11, 8), WordId(ith=56, dir='Down'): (11, 12), WordId(ith=57, dir='Down'): (11, 13), WordId(ith=58, dir='Down'): (11, 14), WordId(ith=59, dir='Across'): (12, 0), WordId(ith=60, dir='Across'): (12, 5), WordId(ith=61, dir='Down'): (12, 7), WordId(ith=62, dir='Across'): (12, 11), WordId(ith=63, dir='Across'): (13, 0), WordId(ith=64, dir='Across'): (13, 5), WordId(ith=65, dir='Across'): (13, 11), WordId(ith=66, dir='Across'): (14, 0), WordId(ith=67, dir='Across'): (14, 5), WordId(ith=68, dir='Across'): (14, 11)}
def test_removeLetters(self):
self.assertEqual(removeLetters(self.example1), self.example1LettersRemoved)
self.assertEqual(removeLetters(self.fullNYT), self.fullNYTLettersRemoved)
def test_populateWithIth(self):
self.assertEqual(populateWithIth(self.example1), self.example1PopulateWithIth)
self.assertEqual(populateWithIth(self.fullNYT), self.fullNYTPopulateWithIth)
def test_populateWithInfo(self):
self.assertEqual(populateWithInfo(self.example1), self.example1PopulateWithInfo)
self.assertEqual(populateWithInfo(self.fullNYT), self.fullNYTPopulateWithInfo)
def test_startPositionsDict(self):
self.assertEqual(startPositionsDict(self.example1), self.example1StartPositionsDict)
self.assertEqual(startPositionsDict(self.fullNYT), self.fullNYTStartPositionsDict)
def test_gridToWordClassList(self):
wordClassList = gridToWordClassList(self.example1)
word0 = wordClassList[0]
word1 = wordClassList[1]
word2 = wordClassList[2]
word3 = wordClassList[3]
# Correct linking
self.assertEqual(word0._pointers[2], word1)
self.assertEqual(word0._indices[2], 1)
self.assertEqual(word1._pointers[1], word0)
self.assertEqual(word1._indices[1], 2)
self.assertEqual(word2._pointers[2], word3)
self.assertEqual(word2._indices[2], 2)
self.assertEqual(word3._pointers[2], word2)
self.assertEqual(word3._indices[2], 2)
# Correct letter substitution
# example1 = [[' ', 'a', ' ', '#'], ['#', 's', '#', 'a'], ['#', '#', 'k', ' ']]
self.assertEqual(word0._chars[1], Constants.defaultEmptyChar)
self.assertEqual(word0._chars[2], 'a')
self.assertEqual(word0._chars[3], Constants.defaultEmptyChar)
self.assertEqual(word1._chars[1], 'a')
self.assertEqual(word1._chars[2], 's')
self.assertEqual(word2._chars[1], 'a')
self.assertEqual(word2._chars[2], Constants.defaultEmptyChar)
self.assertEqual(word3._chars[1], 'k')
self.assertEqual(word3._chars[2], Constants.defaultEmptyChar)
def test_wordClassListToGrid(self):
wids = [WordId(ith=4, dir='Across'), WordId(ith=3, dir='Down'), WordId(ith=2, dir='Down'), WordId(ith=1, dir='Across')]
solution = ["in", "an", "ye", "bye"]
expected = [['b', 'y', 'e', '#'], ['#', 'e', '#', 'a'], ['#', '#', 'i', 'n']]
filledInGrid = wordClassListToGrid(self.example1, solution, wids)
self.assertEqual(filledInGrid, expected)
if __name__ == "__main__":
unittest.main()
| 345.213592
| 24,136
| 0.594088
| 5,369
| 35,557
| 3.928665
| 0.030732
| 0.200114
| 0.417627
| 0.4721
| 0.875978
| 0.801688
| 0.80164
| 0.80164
| 0.801356
| 0.799033
| 0
| 0.064908
| 0.124757
| 35,557
| 103
| 24,137
| 345.213592
| 0.612866
| 0.005231
| 0
| 0.047059
| 0
| 0
| 0.086593
| 0
| 0
| 0
| 0
| 0
| 0.305882
| 1
| 0.082353
| false
| 0
| 0.047059
| 0
| 0.141176
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 11
|
0fd057487f698d4ebf3c8601ae3fa95a3653e98e
| 5,158
|
py
|
Python
|
PyOECP/Examples/Example1-Methanol/script.py
|
tyoon124/PyOECP
|
2e37b92201ff92c10ae7f79e7cda209a554f9d77
|
[
"BSD-3-Clause"
] | null | null | null |
PyOECP/Examples/Example1-Methanol/script.py
|
tyoon124/PyOECP
|
2e37b92201ff92c10ae7f79e7cda209a554f9d77
|
[
"BSD-3-Clause"
] | null | null | null |
PyOECP/Examples/Example1-Methanol/script.py
|
tyoon124/PyOECP
|
2e37b92201ff92c10ae7f79e7cda209a554f9d77
|
[
"BSD-3-Clause"
] | null | null | null |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Fri Jun 11 23:41:29 2021
"""
from PyOECP import References
from PyOECP import Transform
import matplotlib.pyplot as plt
import numpy as np
''' Example 1 Methanol
This script tries to convert the reflection coefficients from VNAs.
The data files and VNAs are as follows.
VNA
Short: LS11Short.csv
Open: LS11Open.csv
Acetone: LS11Acetone.csv
Water: LS11Water.csv
Methanol: LS11Methanol.csv
'''
''' 1.1 Low Frequency Data '''
T = 25
address = 'data/low/'
S11r0 = References.Parser(address + 'S11Short.csv')
S11r1 = References.Parser(address + 'S11Open.csv')
S11r2 = References.Parser(address + 'S11Water.csv')
S11r3 = References.Parser(address + 'S11Acetone.csv')
S11m = References.Parser(address + 'S11Methanol.csv')
frequency = S11r1[:,0]
TransformModel = Transform.Antenna(frequency,S11m,S11r0,S11r1,S11r2,S11r3,
m2='Open',m3='Water_Kaatze',m4='Acetone_Onimisi',temperature=T,
Window=101,concentrations=[None,None,None,None])
AntennaE = TransformModel.Calculate()
spacing = 10
TransformModel1 = Transform.Capacitance(frequency,S11m,S11r0,S11r1,S11r2,
m1='Short',m2='Open',m3='Water_Kaatze',Window=91)
CapacitanceE = TransformModel1.Calculate()
plt.figure(figsize=(5,4),dpi=300)
plt.gcf().subplots_adjust(bottom=0.15,left=0.15)
font = {'size':15}
plt.rc('font', **font)
plt.rcParams['font.family'] = 'serif'
"""Let's visualize the data."""
plt.semilogx(frequency[::spacing],np.real(AntennaE)[::spacing],'o',
markerfacecolor='None',markeredgecolor='red',
markeredgewidth=1.5,markersize=8,label="$\epsilon'$ (Antenna)")
plt.semilogx(frequency[::spacing],-np.imag(AntennaE)[::spacing],'o',
markerfacecolor='None',markeredgecolor='blue',
markeredgewidth=1.5,markersize=8,label="$\epsilon''$ (Antenna)")
plt.semilogx(frequency[::spacing],np.real(CapacitanceE)[::spacing],'s',
markerfacecolor='None',markeredgecolor='red',
markeredgewidth=1.5,markersize=8,label="$\epsilon'$ (Capacitance)")
plt.semilogx(frequency[::spacing],-np.imag(CapacitanceE)[::spacing],'s',
markerfacecolor='None',markeredgecolor='blue',
markeredgewidth=1.5,markersize=8,label="$\epsilon'$ (Capacitance)")
Theoretical = References.Methanol_Barthel(frequency,temperature=T)['epsilon']
plt.semilogx(frequency,np.real(Theoretical),color='red',linewidth=2,label="$\epsilon'$ (Literature)")
plt.semilogx(frequency,-np.imag(Theoretical),'--',color='blue',linewidth=2,label="$\epsilon''$ (Literature)")
plt.xlabel("frequency [Hz]")
plt.ylabel("$\epsilon$")
plt.ylim([0,45])
plt.legend(loc='upper right', ncol=2, fontsize='xx-small',edgecolor='k')
plt.show()
''' 1.2 High Frequency Data '''
address = 'data/high/'
S11r0 = References.Parser(address + 'S11Short.csv')
S11r1 = References.Parser(address + 'S11Open.csv')
S11r2 = References.Parser(address + 'S11Water.csv')
S11r3 = References.Parser(address + 'S11Acetone.csv')
S11m = References.Parser(address + 'S11Methanol.csv')
frequency = S11r1[:,0]
TransformModel = Transform.Antenna(frequency,S11m,S11r0,S11r1,S11r2,S11r3,
m2='Open',m3='Water_Kaatze',m4='Acetone_Onimisi',temperature=T,
Window=101,concentrations=[None,None,None,None])
AntennaE = TransformModel.Calculate()
spacing = 10
TransformModel1 = Transform.Capacitance(frequency,S11m,S11r0,S11r1,S11r2,
m1='Short',m2='Open',m3='Water_Kaatze',Window=91)
CapacitanceE = TransformModel1.Calculate()
plt.figure(figsize=(5,4),dpi=300)
plt.gcf().subplots_adjust(bottom=0.15,left=0.15)
font = {'size':15}
plt.rc('font', **font)
plt.rcParams['font.family'] = 'serif'
"""Let's visualize the data."""
plt.semilogx(frequency[::spacing],np.real(AntennaE)[::spacing],'o',
markerfacecolor='None',markeredgecolor='red',
markeredgewidth=1.5,markersize=8,label="$\epsilon'$ (Antenna)")
plt.semilogx(frequency[::spacing],-np.imag(AntennaE)[::spacing],'o',
markerfacecolor='None',markeredgecolor='blue',
markeredgewidth=1.5,markersize=8,label="$\epsilon''$ (Antenna)")
plt.semilogx(frequency[::spacing],np.real(CapacitanceE)[::spacing],'s',
markerfacecolor='None',markeredgecolor='red',
markeredgewidth=1.5,markersize=8,label="$\epsilon'$ (Capacitance)")
plt.semilogx(frequency[::spacing],-np.imag(CapacitanceE)[::spacing],'s',
markerfacecolor='None',markeredgecolor='blue',
markeredgewidth=1.5,markersize=8,label="$\epsilon'$ (Capacitance)")
Theoretical = References.Methanol_Barthel(frequency,temperature=T)['epsilon']
plt.semilogx(frequency,np.real(Theoretical),color='red',linewidth=2,label="$\epsilon'$ (Literature)")
plt.semilogx(frequency,-np.imag(Theoretical),'--',color='blue',linewidth=2,label="$\epsilon''$ (Literature)")
plt.xlabel("frequency [Hz]")
plt.ylabel("$\epsilon$")
plt.ylim([0,45])
plt.legend(loc='upper right', ncol=2, fontsize='xx-small',edgecolor='k')
plt.show()
| 37.926471
| 109
| 0.678751
| 610
| 5,158
| 5.722951
| 0.244262
| 0.037812
| 0.068748
| 0.061873
| 0.881123
| 0.881123
| 0.881123
| 0.881123
| 0.881123
| 0.881123
| 0
| 0.051728
| 0.141722
| 5,158
| 136
| 110
| 37.926471
| 0.736842
| 0.015316
| 0
| 0.917647
| 0
| 0
| 0.164217
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.047059
| 0
| 0.047059
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
ba25cb8dfeac1a5c036565793d7c52a61b51f151
| 1,866
|
py
|
Python
|
gwlfe/Output/AvAnimalNSum/AvAnimalNSum.py
|
mudkipmaster/gwlf-e
|
9e058445537dd32d1916f76c4b73ca64261771cd
|
[
"Apache-2.0"
] | null | null | null |
gwlfe/Output/AvAnimalNSum/AvAnimalNSum.py
|
mudkipmaster/gwlf-e
|
9e058445537dd32d1916f76c4b73ca64261771cd
|
[
"Apache-2.0"
] | 6
|
2018-07-24T22:46:28.000Z
|
2018-07-29T19:13:09.000Z
|
gwlfe/Output/AvAnimalNSum/AvAnimalNSum.py
|
mudkipmaster/gwlf-e
|
9e058445537dd32d1916f76c4b73ca64261771cd
|
[
"Apache-2.0"
] | 1
|
2018-07-24T18:22:01.000Z
|
2018-07-24T18:22:01.000Z
|
from numpy import sum as npsum
from AvAnimalN import AvAnimalN
from AvAnimalN import AvAnimalN_f
from gwlfe.Memoization import memoize
def AvAnimalNSum(NYrs, NGPctManApp, GrazingAnimal_0, NumAnimals, AvgAnimalWt, AnimalDailyN, NGAppNRate, Prec, DaysMonth,
NGPctSoilIncRate, GRPctManApp, GRAppNRate, GRPctSoilIncRate, NGBarnNRate, AWMSNgPct, NgAWMSCoeffN,
RunContPct, RunConCoeffN, PctGrazing, GRBarnNRate, AWMSGrPct, GrAWMSCoeffN, PctStreams, GrazingNRate):
av_animal_n = AvAnimalN(NYrs, NGPctManApp, GrazingAnimal_0, NumAnimals, AvgAnimalWt, AnimalDailyN, NGAppNRate, Prec,
DaysMonth,
NGPctSoilIncRate, GRPctManApp, GRAppNRate, GRPctSoilIncRate, NGBarnNRate, AWMSNgPct,
NgAWMSCoeffN,
RunContPct, RunConCoeffN, PctGrazing, GRBarnNRate, AWMSGrPct, GrAWMSCoeffN, PctStreams,
GrazingNRate)
result = sum(av_animal_n) # TODO: should this be numpysum?
return result
@memoize
def AvAnimalNSum_f(NYrs, NGPctManApp, GrazingAnimal_0, NumAnimals, AvgAnimalWt, AnimalDailyN, NGAppNRate, Prec,
DaysMonth,
NGPctSoilIncRate, GRPctManApp, GRAppNRate, GRPctSoilIncRate, NGBarnNRate, AWMSNgPct, NgAWMSCoeffN,
RunContPct, RunConCoeffN, PctGrazing, GRBarnNRate, AWMSGrPct, GrAWMSCoeffN, PctStreams,
GrazingNRate):
return npsum(
AvAnimalN_f(NYrs, NGPctManApp, GrazingAnimal_0, NumAnimals, AvgAnimalWt, AnimalDailyN, NGAppNRate, Prec,
DaysMonth, NGPctSoilIncRate, GRPctManApp, GRAppNRate, GRPctSoilIncRate, NGBarnNRate,
AWMSNgPct, NgAWMSCoeffN, RunContPct, RunConCoeffN, PctGrazing, GRBarnNRate, AWMSGrPct,
GrAWMSCoeffN, PctStreams, GrazingNRate))
| 58.3125
| 120
| 0.686495
| 146
| 1,866
| 8.69863
| 0.328767
| 0.047244
| 0.088189
| 0.091339
| 0.807874
| 0.807874
| 0.807874
| 0.807874
| 0.807874
| 0.807874
| 0
| 0.002869
| 0.252947
| 1,866
| 31
| 121
| 60.193548
| 0.908178
| 0.016077
| 0
| 0.230769
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.032258
| 0
| 1
| 0.076923
| false
| 0
| 0.153846
| 0.038462
| 0.307692
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
e83d1c87b5eaeab8ccd2f5d1dced2a27a2ddf832
| 99,127
|
py
|
Python
|
mysdk/icpd_v1.py
|
IBM/cloudpakfordata-python-sdk
|
9c61e5565bc0349b59470a7f83e33d56eacc5299
|
[
"Apache-2.0"
] | null | null | null |
mysdk/icpd_v1.py
|
IBM/cloudpakfordata-python-sdk
|
9c61e5565bc0349b59470a7f83e33d56eacc5299
|
[
"Apache-2.0"
] | null | null | null |
mysdk/icpd_v1.py
|
IBM/cloudpakfordata-python-sdk
|
9c61e5565bc0349b59470a7f83e33d56eacc5299
|
[
"Apache-2.0"
] | 2
|
2019-11-02T08:03:09.000Z
|
2020-06-29T14:52:15.000Z
|
# coding: utf-8
# (C) Copyright IBM Corp. 2019.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""
Swagger for the IBM Cloud Private for Data offerings - with Data Governance and Analytics
API's
"""
from __future__ import absolute_import
import json
from .common import get_sdk_headers
from ibm_cloud_sdk_core import BaseService
from os.path import basename
##############################################################################
# Service
##############################################################################
class IcpdV1(BaseService):
"""The ICPD V1 service."""
default_url = 'https://gateway.watsonplatform.net/icp4d-api/'
def __init__(self,
url=default_url,
authentication_type=None,
):
"""
Construct a new client for the ICPD service.
:param str url: The base url to use when contacting the service (e.g.
"https://gateway.watsonplatform.net/icp4d-api//icp4d-api").
The base url may differ between IBM Cloud regions.
:param str authentication_type: Specifies the authentication pattern to use. Values that it
takes are basic, iam or icp4d.
"""
BaseService.__init__(self,
vcap_services_name='icpd',
url=url,
use_vcap_services=True,
display_name='ICPD',
authentication_type=authentication_type)
#########################
# Authorization
#########################
def get_authorization_token(self, password, username, **kwargs):
"""
Get authorization token.
Provide icp4d login credentials to receive authorization bearer token.
:param str password:
:param str username:
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if password is None:
raise ValueError('password must be provided')
if username is None:
raise ValueError('username must be provided')
headers = {
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
sdk_headers = get_sdk_headers('icpd', 'V1', 'get_authorization_token')
headers.update(sdk_headers)
data = {
'password': password,
'username': username
}
url = '/v1/authorize'
response = self.request(method='POST',
url=url,
headers=headers,
json=data,
accept_json=True)
return response
#########################
# User Management
#########################
def get_all_users(self, **kwargs):
"""
Get all users.
Get all users from the cluster.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
headers = {
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
sdk_headers = get_sdk_headers('icpd', 'V1', 'get_all_users')
headers.update(sdk_headers)
url = '/v1/users'
response = self.request(method='GET',
url=url,
headers=headers,
accept_json=False)
return response
def create_user(self, display_name, email, user_name, user_roles, **kwargs):
"""
Create user.
Create a new user for the cluster.
:param str display_name: Display Name for the user e.g. Admin.
:param str email: Email for the user e.g. admin@user.net.
:param str user_name: User name e.g. admin.
:param list[str] user_roles: List of user roles.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
headers = {
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
sdk_headers = get_sdk_headers('icpd', 'V1', 'create_user')
headers.update(sdk_headers)
data = {
'displayName': display_name,
'email': email,
'user_name': user_name,
'user_roles': user_roles
}
url = '/v1/users'
response = self.request(method='POST',
url=url,
headers=headers,
json=data,
accept_json=True)
return response
def get_user(self, user_name, **kwargs):
"""
Get user information.
Get existing user information.
:param str user_name: User name.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if user_name is None:
raise ValueError('user_name must be provided')
headers = {
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
sdk_headers = get_sdk_headers('icpd', 'V1', 'get_user')
headers.update(sdk_headers)
url = '/v1/users/{0}'.format(*self._encode_path_vars(user_name))
response = self.request(method='GET',
url=url,
headers=headers,
accept_json=False)
return response
def update_user(self, user_name, approval_status=None, display_name=None, email=None, user_roles=None, **kwargs):
"""
Update user details.
Update an existing user information.
:param str user_name: User name.
:param str approval_status: (optional) Approval status for the user, can be
either 'pending' or 'approved'.
:param str display_name: (optional) Display Name for the user e.g. Admin.
:param str email: (optional) Email for the user e.g. admin@user.net.
:param list[str] user_roles: (optional) List of user roles.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if user_name is None:
raise ValueError('user_name must be provided')
headers = {
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
sdk_headers = get_sdk_headers('icpd', 'V1', 'update_user')
headers.update(sdk_headers)
data = {
'approval_status': approval_status,
'displayName': display_name,
'email': email,
'user_roles': user_roles
}
url = '/v1/users/{0}'.format(*self._encode_path_vars(user_name))
response = self.request(method='PUT',
url=url,
headers=headers,
json=data,
accept_json=True)
return response
def delete_user(self, user_name, **kwargs):
"""
Delete user.
Delete user from the cluster.
:param str user_name: User name.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if user_name is None:
raise ValueError('user_name must be provided')
headers = {
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
sdk_headers = get_sdk_headers('icpd', 'V1', 'delete_user')
headers.update(sdk_headers)
url = '/v1/users/{0}'.format(*self._encode_path_vars(user_name))
response = self.request(method='DELETE',
url=url,
headers=headers,
accept_json=False)
return response
#########################
# Role Management
#########################
def get_all_roles(self, **kwargs):
"""
List all roles.
Get all roles from the cluster.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
headers = {
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
sdk_headers = get_sdk_headers('icpd', 'V1', 'get_all_roles')
headers.update(sdk_headers)
url = '/v1/roles'
response = self.request(method='GET',
url=url,
headers=headers,
accept_json=False)
return response
def create_role(self, permissions, role_name, description=None, **kwargs):
"""
Create new role.
Create a new role for the cluster.
:param list[str] permissions: List of permissions e.g. administrator.
:param str role_name: Role name e.g. admin.
:param str description: (optional) Role description e.g. Administrator
role.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
headers = {
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
sdk_headers = get_sdk_headers('icpd', 'V1', 'create_role')
headers.update(sdk_headers)
data = {
'permissions': permissions,
'role_name': role_name,
'description': description
}
url = '/v1/roles'
response = self.request(method='POST',
url=url,
headers=headers,
json=data,
accept_json=True)
return response
def get_all_permissions(self, **kwargs):
"""
List all permissions.
Get all defined permissions.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
headers = {
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
sdk_headers = get_sdk_headers('icpd', 'V1', 'get_all_permissions')
headers.update(sdk_headers)
url = '/v1/roles/permissions'
response = self.request(method='GET',
url=url,
headers=headers,
accept_json=False)
return response
def get_role(self, role_name, **kwargs):
"""
Get role information.
Get existing role information.
:param str role_name: existing role.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if role_name is None:
raise ValueError('role_name must be provided')
headers = {
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
sdk_headers = get_sdk_headers('icpd', 'V1', 'get_role')
headers.update(sdk_headers)
url = '/v1/roles/{0}'.format(*self._encode_path_vars(role_name))
response = self.request(method='GET',
url=url,
headers=headers,
accept_json=False)
return response
def update_role(self, role_name, permissions, description=None, **kwargs):
"""
Update role.
Update an existing role.
:param str role_name: existing role.
:param list[str] permissions: List of permissions e.g. administrator.
:param str description: (optional) Role description e.g. Admin.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if role_name is None:
raise ValueError('role_name must be provided')
headers = {
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
sdk_headers = get_sdk_headers('icpd', 'V1', 'update_role')
headers.update(sdk_headers)
data = {
'permissions': permissions,
'description': description
}
url = '/v1/roles/{0}'.format(*self._encode_path_vars(role_name))
response = self.request(method='PUT',
url=url,
headers=headers,
json=data,
accept_json=True)
return response
def delete_role(self, role_name, **kwargs):
"""
Delete role.
Delete role from the cluster.
:param str role_name: existing role.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if role_name is None:
raise ValueError('role_name must be provided')
headers = {
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
sdk_headers = get_sdk_headers('icpd', 'V1', 'delete_role')
headers.update(sdk_headers)
url = '/v1/roles/{0}'.format(*self._encode_path_vars(role_name))
response = self.request(method='DELETE',
url=url,
headers=headers,
accept_json=False)
return response
#########################
# Account Management
#########################
def change_password(self, password, **kwargs):
"""
Change my password.
Change password for the logged in user.
:param str password: New Password.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if password is None:
raise ValueError('password must be provided')
headers = {
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
sdk_headers = get_sdk_headers('icpd', 'V1', 'change_password')
headers.update(sdk_headers)
form_data = {}
form_data['password'] = (None, password, 'text/plain')
url = '/v1/changepassword'
response = self.request(method='POST',
url=url,
headers=headers,
files=form_data,
accept_json=True)
return response
def get_me(self, **kwargs):
"""
Get my account information.
Get logged in user information.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
headers = {
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
sdk_headers = get_sdk_headers('icpd', 'V1', 'get_me')
headers.update(sdk_headers)
url = '/v1/me'
response = self.request(method='GET',
url=url,
headers=headers,
accept_json=False)
return response
def update_me(self, display_name=None, email=None, **kwargs):
"""
Update my information.
Update my user information.
:param str display_name: (optional) Display Name for the user e.g. Admin.
:param str email: (optional) Email for the user e.g. admin@user.net.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
headers = {
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
sdk_headers = get_sdk_headers('icpd', 'V1', 'update_me')
headers.update(sdk_headers)
data = {
'displayName': display_name,
'email': email
}
url = '/v1/me'
response = self.request(method='PUT',
url=url,
headers=headers,
json=data,
accept_json=True)
return response
#########################
# Catalog Asset Bundles
#########################
def get_all_asset_bundles(self, **kwargs):
"""
Get the list of registered asset bundles.
Provides a list of registered asset bundles.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
headers = {
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
sdk_headers = get_sdk_headers('icpd', 'V1', 'get_all_asset_bundles')
headers.update(sdk_headers)
url = '/v1/assetBundles'
response = self.request(method='GET',
url=url,
headers=headers,
accept_json=True)
return response
def update_asset_bundle(self, file, file_content_type=None, **kwargs):
"""
Update a previously registered asset bundle.
Updates previously registered asset bundle. Upload the zip file with updated
bundle definition.
:param file file: File.
:param str file_content_type: (optional) The content type of file.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if file is None:
raise ValueError('file must be provided')
headers = {
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
sdk_headers = get_sdk_headers('icpd', 'V1', 'update_asset_bundle')
headers.update(sdk_headers)
form_data = {}
form_data['file'] = (None, file, file_content_type or 'application/octet-stream')
url = '/v1/assetBundles'
response = self.request(method='PUT',
url=url,
headers=headers,
files=form_data,
accept_json=True)
return response
def create_asset_bundle(self, file, file_content_type=None, **kwargs):
"""
Register a new Asset bundle.
Registers a new Asset bundle. Upload the zip file with the bundle definition and
the properties. More information on how to construct the zip file can be found
[here](https://github.com/IBM-ICP4D/icp4d-apis/tree/master/custom-bundle-utility).
:param file file: File.
:param str file_content_type: (optional) The content type of file.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if file is None:
raise ValueError('file must be provided')
headers = {
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
sdk_headers = get_sdk_headers('icpd', 'V1', 'create_asset_bundle')
headers.update(sdk_headers)
form_data = {}
form_data['file'] = (None, file, file_content_type or 'application/octet-stream')
url = '/v1/assetBundles'
response = self.request(method='POST',
url=url,
headers=headers,
files=form_data,
accept_json=True)
return response
def get_asset_bundle(self, asset_id, **kwargs):
"""
Download a registered bundle as a zip file.
Outputs the bundle definition zip file, needing the Asset bundle ID to process the
request.
:param str asset_id: Asset Bundle ID.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if asset_id is None:
raise ValueError('asset_id must be provided')
headers = {
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
sdk_headers = get_sdk_headers('icpd', 'V1', 'get_asset_bundle')
headers.update(sdk_headers)
url = '/v1/assetBundles/{0}'.format(*self._encode_path_vars(asset_id))
response = self.request(method='GET',
url=url,
headers=headers,
accept_json=False)
return response
def delete_asset_bundle(self, asset_id, **kwargs):
"""
Delete an asset bundle.
Delete the asset bundle, needing the asset bundle ID as input.
:param str asset_id: Asset Bundle ID.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if asset_id is None:
raise ValueError('asset_id must be provided')
headers = {
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
sdk_headers = get_sdk_headers('icpd', 'V1', 'delete_asset_bundle')
headers.update(sdk_headers)
url = '/v1/assetBundles/{0}'.format(*self._encode_path_vars(asset_id))
response = self.request(method='DELETE',
url=url,
headers=headers,
accept_json=True)
return response
#########################
# Catalog Assets
#########################
def get_asset(self, asset_type, asset_property, asset_value, **kwargs):
"""
Get an asset.
Provides information about an asset type. For custom asset, please provide the
asset type as {asset_family_name}-{asset_type}.
:param str asset_type: Functional area name Ex- category.
:param str asset_property: Property name to search by, as an example we
might want to search for all assets with a given name. Ex- name.
:param str asset_value: What property value are we searching by? Ex-
Logical Area.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if asset_type is None:
raise ValueError('asset_type must be provided')
if asset_property is None:
raise ValueError('asset_property must be provided')
if asset_value is None:
raise ValueError('asset_value must be provided')
headers = {
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
sdk_headers = get_sdk_headers('icpd', 'V1', 'get_asset')
headers.update(sdk_headers)
params = {
'asset_type': asset_type,
'asset_property': asset_property,
'asset_value': asset_value
}
url = '/v1/assets'
response = self.request(method='GET',
url=url,
headers=headers,
params=params,
accept_json=True)
return response
def create_asset(self, asset_name, asset_type, is_custom, asset_family=None, custom_properties=None, parent_asset_name=None, parent_asset_type=None, **kwargs):
"""
Create an asset.
Create custom and pre-defined assets using this endpoint. For term asset types,
provide category_name under custom_properties. For custom asset types, provide the
asset_family_name and the parent asset information, if asset not the top element.
:param str asset_name: Functional area name.
:param str asset_type: Asset type. Non custom asset supported types are
term, category, information_governance_policy, information_governance_rule,
collection, label and data_class.
:param bool is_custom: Is this a custom asset type? If yes, asset family
name is required as well.
:param str asset_family: (optional) Custom Application Name.
:param dict custom_properties: (optional) JSON payload of attributes,
values.
:param str parent_asset_name: (optional) If top level asset type this will
be NA, if not it will be the parent asset name.
:param str parent_asset_type: (optional) If top level asset type this will
be NA, if not it will be the parent asset type.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
headers = {
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
sdk_headers = get_sdk_headers('icpd', 'V1', 'create_asset')
headers.update(sdk_headers)
data = {
'asset_name': asset_name,
'asset_type': asset_type,
'is_custom': is_custom,
'asset_family': asset_family,
'custom_properties': custom_properties,
'parent_asset_name': parent_asset_name,
'parent_asset_type': parent_asset_type
}
url = '/v1/assets'
response = self.request(method='POST',
url=url,
headers=headers,
json=data,
accept_json=True)
return response
def delete_asset(self, asset_property, asset_type, asset_value, **kwargs):
"""
Delete Asset.
Delete asset. For custom asset type, provide asset_type as
{asset_family_name}-{asset_type}.
:param str asset_property: Property name to search by, can search for all
assets with a given name to delete. Ex- name.
:param str asset_type: Functional area name. Ex- term.
:param str asset_value: Property value to search by. Ex- TermOne.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
headers = {
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
sdk_headers = get_sdk_headers('icpd', 'V1', 'delete_asset')
headers.update(sdk_headers)
data = {
'asset_property': asset_property,
'asset_type': asset_type,
'asset_value': asset_value
}
url = '/v1/assets'
response = self.request(method='DELETE',
url=url,
headers=headers,
json=data,
accept_json=True)
return response
def get_asset_by_id(self, asset_id, **kwargs):
"""
Get an asset by id.
Retrieve information on an asset based on asset ID.
:param str asset_id: Asset ID.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if asset_id is None:
raise ValueError('asset_id must be provided')
headers = {
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
sdk_headers = get_sdk_headers('icpd', 'V1', 'get_asset_by_id')
headers.update(sdk_headers)
url = '/v1/assets/{0}'.format(*self._encode_path_vars(asset_id))
response = self.request(method='GET',
url=url,
headers=headers,
accept_json=True)
return response
def get_types(self, **kwargs):
"""
Get all asset types.
Retrieves all available asset types.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
headers = {
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
sdk_headers = get_sdk_headers('icpd', 'V1', 'get_types')
headers.update(sdk_headers)
url = '/v1/types'
response = self.request(method='GET',
url=url,
headers=headers,
accept_json=True)
return response
def get_type_info(self, type_name, show_edit_properties=None, show_view_properties=None, show_create_properties=None, **kwargs):
"""
Get type metadata.
Get information about an asset type.
:param str type_name: Asset type.
:param bool show_edit_properties: (optional) List the properties that can
be edited.
:param bool show_view_properties: (optional) List the properties that can
be viewed.
:param bool show_create_properties: (optional) List the properties that can
be defined when the asset is created.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if type_name is None:
raise ValueError('type_name must be provided')
headers = {
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
sdk_headers = get_sdk_headers('icpd', 'V1', 'get_type_info')
headers.update(sdk_headers)
params = {
'show_edit_properties': show_edit_properties,
'show_view_properties': show_view_properties,
'show_create_properties': show_create_properties
}
url = '/v1/types/{0}'.format(*self._encode_path_vars(type_name))
response = self.request(method='GET',
url=url,
headers=headers,
params=params,
accept_json=True)
return response
def get_type_assets(self, type_name, **kwargs):
"""
Get assets of a particular type.
Retrieves all available asset of a particular type.
:param str type_name: Asset type.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if type_name is None:
raise ValueError('type_name must be provided')
headers = {
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
sdk_headers = get_sdk_headers('icpd', 'V1', 'get_type_assets')
headers.update(sdk_headers)
url = '/v1/types/{0}/assets'.format(*self._encode_path_vars(type_name))
response = self.request(method='GET',
url=url,
headers=headers,
accept_json=True)
return response
#########################
# Related Catalog Assets
#########################
def get_related_asset(self, asset_type, asset_name, **kwargs):
"""
Find related assets.
Outputs assets related to the provided asset.
:param str asset_type: Functional area name Ex- category.
:param str asset_name: Asset name.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if asset_type is None:
raise ValueError('asset_type must be provided')
if asset_name is None:
raise ValueError('asset_name must be provided')
headers = {
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
sdk_headers = get_sdk_headers('icpd', 'V1', 'get_related_asset')
headers.update(sdk_headers)
params = {
'asset_type': asset_type,
'asset_name': asset_name
}
url = '/v1/relatedAssets'
response = self.request(method='GET',
url=url,
headers=headers,
params=params,
accept_json=True)
return response
def create_related_asset(self, asset_name, asset_type, related_asset_name, related_asset_type, **kwargs):
"""
Relate with other assets.
Associate metadata about two related assets that are existing in the governance
catalog. For example, add category asset association to a term asset.
:param str asset_name: Functional area instance name. Ex- TermOne.
:param str asset_type: Functional area name. Ex- term.
:param str related_asset_name: Functional area instance name. Ex-
CategoryOne.
:param str related_asset_type: Functional area name from this Asset Family
or could be an asset class name unrelated to this Asset Family. Ex-
category.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
headers = {
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
sdk_headers = get_sdk_headers('icpd', 'V1', 'create_related_asset')
headers.update(sdk_headers)
data = {
'asset_name': asset_name,
'asset_type': asset_type,
'related_asset_name': related_asset_name,
'related_asset_type': related_asset_type
}
url = '/v1/relatedAssets'
response = self.request(method='POST',
url=url,
headers=headers,
json=data,
accept_json=True)
return response
def delete_related_asset(self, asset_name, asset_type, related_asset_name, related_asset_type, **kwargs):
"""
Remove related asset.
Remove existing asset's association.
:param str asset_name: Functional area instance name. Ex- TermOne.
:param str asset_type: Functional area name. Ex- term.
:param str related_asset_name: Functional area instance name. Ex-
CategoryOne.
:param str related_asset_type: Functional area name from this Asset Family
or could be an asset class name unrelated to this Asset Family. Ex-
category.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
headers = {
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
sdk_headers = get_sdk_headers('icpd', 'V1', 'delete_related_asset')
headers.update(sdk_headers)
data = {
'asset_name': asset_name,
'asset_type': asset_type,
'related_asset_name': related_asset_name,
'related_asset_type': related_asset_type
}
url = '/v1/relatedAssets'
response = self.request(method='DELETE',
url=url,
headers=headers,
json=data,
accept_json=True)
return response
#########################
# Monitor
#########################
def get_monitor(self, **kwargs):
"""
Check server status.
Provides basic heartbeat endpoint to check if the icp4d open api server is
running.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
headers = {
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
sdk_headers = get_sdk_headers('icpd', 'V1', 'get_monitor')
headers.update(sdk_headers)
url = '/v1/monitor'
response = self.request(method='GET',
url=url,
headers=headers,
accept_json=False)
return response
##############################################################################
# Models
##############################################################################
class AssetBundlesGetSuccessResponse(object):
"""
AssetBundlesGetSuccessResponse.
:attr str message_code: (optional) message code.
:attr str message: (optional) message.
:attr list[str] asset_bundles: (optional)
"""
def __init__(self, message_code=None, message=None, asset_bundles=None):
"""
Initialize a AssetBundlesGetSuccessResponse object.
:param str message_code: (optional) message code.
:param str message: (optional) message.
:param list[str] asset_bundles: (optional)
"""
self.message_code = message_code
self.message = message
self.asset_bundles = asset_bundles
@classmethod
def _from_dict(cls, _dict):
"""Initialize a AssetBundlesGetSuccessResponse object from a json dictionary."""
args = {}
validKeys = ['message_code', '_messageCode_', 'message', 'asset_bundles', 'AssetBundles']
badKeys = set(_dict.keys()) - set(validKeys)
if badKeys:
raise ValueError('Unrecognized keys detected in dictionary for class AssetBundlesGetSuccessResponse: ' + ', '.join(badKeys))
if '_messageCode_' in _dict:
args['message_code'] = _dict.get('_messageCode_')
if 'message' in _dict:
args['message'] = _dict.get('message')
if 'AssetBundles' in _dict:
args['asset_bundles'] = _dict.get('AssetBundles')
return cls(**args)
def _to_dict(self):
"""Return a json dictionary representing this model."""
_dict = {}
if hasattr(self, 'message_code') and self.message_code is not None:
_dict['_messageCode_'] = self.message_code
if hasattr(self, 'message') and self.message is not None:
_dict['message'] = self.message
if hasattr(self, 'asset_bundles') and self.asset_bundles is not None:
_dict['AssetBundles'] = self.asset_bundles
return _dict
def __str__(self):
"""Return a `str` version of this AssetBundlesGetSuccessResponse object."""
return json.dumps(self._to_dict(), indent=2)
def __eq__(self, other):
"""Return `true` when self and other are equal, false otherwise."""
if not isinstance(other, self.__class__):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Return `true` when self and other are not equal, false otherwise."""
return not self == other
class AssetDetailsSuccessResponse(object):
"""
AssetDetailsSuccessResponse.
:attr str message_code: (optional) message code.
:attr str message: (optional) message.
:attr object asset_details: (optional)
"""
def __init__(self, message_code=None, message=None, asset_details=None):
"""
Initialize a AssetDetailsSuccessResponse object.
:param str message_code: (optional) message code.
:param str message: (optional) message.
:param object asset_details: (optional)
"""
self.message_code = message_code
self.message = message
self.asset_details = asset_details
@classmethod
def _from_dict(cls, _dict):
"""Initialize a AssetDetailsSuccessResponse object from a json dictionary."""
args = {}
validKeys = ['message_code', '_messageCode_', 'message', 'asset_details']
badKeys = set(_dict.keys()) - set(validKeys)
if badKeys:
raise ValueError('Unrecognized keys detected in dictionary for class AssetDetailsSuccessResponse: ' + ', '.join(badKeys))
if '_messageCode_' in _dict:
args['message_code'] = _dict.get('_messageCode_')
if 'message' in _dict:
args['message'] = _dict.get('message')
if 'asset_details' in _dict:
args['asset_details'] = _dict.get('asset_details')
return cls(**args)
def _to_dict(self):
"""Return a json dictionary representing this model."""
_dict = {}
if hasattr(self, 'message_code') and self.message_code is not None:
_dict['_messageCode_'] = self.message_code
if hasattr(self, 'message') and self.message is not None:
_dict['message'] = self.message
if hasattr(self, 'asset_details') and self.asset_details is not None:
_dict['asset_details'] = self.asset_details
return _dict
def __str__(self):
"""Return a `str` version of this AssetDetailsSuccessResponse object."""
return json.dumps(self._to_dict(), indent=2)
def __eq__(self, other):
"""Return `true` when self and other are equal, false otherwise."""
if not isinstance(other, self.__class__):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Return `true` when self and other are not equal, false otherwise."""
return not self == other
class CreateUserSuccessResponse(object):
"""
CreateUserSuccessResponse.
:attr str message_code: (optional) message code.
:attr str message: (optional) message.
:attr CreateUserSuccessResponseAllOf1User user: (optional)
"""
def __init__(self, message_code=None, message=None, user=None):
"""
Initialize a CreateUserSuccessResponse object.
:param str message_code: (optional) message code.
:param str message: (optional) message.
:param CreateUserSuccessResponseAllOf1User user: (optional)
"""
self.message_code = message_code
self.message = message
self.user = user
@classmethod
def _from_dict(cls, _dict):
"""Initialize a CreateUserSuccessResponse object from a json dictionary."""
args = {}
validKeys = ['message_code', '_messageCode_', 'message', 'user', 'User']
badKeys = set(_dict.keys()) - set(validKeys)
if badKeys:
raise ValueError('Unrecognized keys detected in dictionary for class CreateUserSuccessResponse: ' + ', '.join(badKeys))
if '_messageCode_' in _dict:
args['message_code'] = _dict.get('_messageCode_')
if 'message' in _dict:
args['message'] = _dict.get('message')
if 'User' in _dict:
args['user'] = CreateUserSuccessResponseAllOf1User._from_dict(_dict.get('User'))
return cls(**args)
def _to_dict(self):
"""Return a json dictionary representing this model."""
_dict = {}
if hasattr(self, 'message_code') and self.message_code is not None:
_dict['_messageCode_'] = self.message_code
if hasattr(self, 'message') and self.message is not None:
_dict['message'] = self.message
if hasattr(self, 'user') and self.user is not None:
_dict['User'] = self.user._to_dict()
return _dict
def __str__(self):
"""Return a `str` version of this CreateUserSuccessResponse object."""
return json.dumps(self._to_dict(), indent=2)
def __eq__(self, other):
"""Return `true` when self and other are equal, false otherwise."""
if not isinstance(other, self.__class__):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Return `true` when self and other are not equal, false otherwise."""
return not self == other
class CreateUserSuccessResponseAllOf1User(object):
"""
CreateUserSuccessResponseAllOf1User.
:attr str ID: (optional) user name.
:attr str password: (optional) Auto generated password for the new user.
"""
def __init__(self, ID=None, password=None):
"""
Initialize a CreateUserSuccessResponseAllOf1User object.
:param str ID: (optional) user name.
:param str password: (optional) Auto generated password for the new user.
"""
self.ID = ID
self.password = password
@classmethod
def _from_dict(cls, _dict):
"""Initialize a CreateUserSuccessResponseAllOf1User object from a json dictionary."""
args = {}
validKeys = ['ID', 'password']
badKeys = set(_dict.keys()) - set(validKeys)
if badKeys:
raise ValueError('Unrecognized keys detected in dictionary for class CreateUserSuccessResponseAllOf1User: ' + ', '.join(badKeys))
if 'ID' in _dict:
args['ID'] = _dict.get('ID')
if 'password' in _dict:
args['password'] = _dict.get('password')
return cls(**args)
def _to_dict(self):
"""Return a json dictionary representing this model."""
_dict = {}
if hasattr(self, 'ID') and self.ID is not None:
_dict['ID'] = self.ID
if hasattr(self, 'password') and self.password is not None:
_dict['password'] = self.password
return _dict
def __str__(self):
"""Return a `str` version of this CreateUserSuccessResponseAllOf1User object."""
return json.dumps(self._to_dict(), indent=2)
def __eq__(self, other):
"""Return `true` when self and other are equal, false otherwise."""
if not isinstance(other, self.__class__):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Return `true` when self and other are not equal, false otherwise."""
return not self == other
class GetAllRolesResponse(object):
"""
GetAllRolesResponse.
:attr str message_code: (optional) message code.
:attr str message: (optional) message.
:attr list[GetAllRolesResponseAllOf1RolesItems] roles: (optional)
"""
def __init__(self, message_code=None, message=None, roles=None):
"""
Initialize a GetAllRolesResponse object.
:param str message_code: (optional) message code.
:param str message: (optional) message.
:param list[GetAllRolesResponseAllOf1RolesItems] roles: (optional)
"""
self.message_code = message_code
self.message = message
self.roles = roles
@classmethod
def _from_dict(cls, _dict):
"""Initialize a GetAllRolesResponse object from a json dictionary."""
args = {}
validKeys = ['message_code', '_messageCode_', 'message', 'roles', 'Roles']
badKeys = set(_dict.keys()) - set(validKeys)
if badKeys:
raise ValueError('Unrecognized keys detected in dictionary for class GetAllRolesResponse: ' + ', '.join(badKeys))
if '_messageCode_' in _dict:
args['message_code'] = _dict.get('_messageCode_')
if 'message' in _dict:
args['message'] = _dict.get('message')
if 'Roles' in _dict:
args['roles'] = [GetAllRolesResponseAllOf1RolesItems._from_dict(x) for x in (_dict.get('Roles') )]
return cls(**args)
def _to_dict(self):
"""Return a json dictionary representing this model."""
_dict = {}
if hasattr(self, 'message_code') and self.message_code is not None:
_dict['_messageCode_'] = self.message_code
if hasattr(self, 'message') and self.message is not None:
_dict['message'] = self.message
if hasattr(self, 'roles') and self.roles is not None:
_dict['Roles'] = [x._to_dict() for x in self.roles]
return _dict
def __str__(self):
"""Return a `str` version of this GetAllRolesResponse object."""
return json.dumps(self._to_dict(), indent=2)
def __eq__(self, other):
"""Return `true` when self and other are equal, false otherwise."""
if not isinstance(other, self.__class__):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Return `true` when self and other are not equal, false otherwise."""
return not self == other
class GetAllRolesResponseAllOf1RolesItems(object):
"""
GetAllRolesResponseAllOf1RolesItems.
:attr str ID: (optional) Role ID.
:attr str description: (optional) Role description.
:attr list[str] permissions: (optional) List of role permissions.
:attr str role_name: (optional) Role name.
"""
def __init__(self, ID=None, description=None, permissions=None, role_name=None):
"""
Initialize a GetAllRolesResponseAllOf1RolesItems object.
:param str ID: (optional) Role ID.
:param str description: (optional) Role description.
:param list[str] permissions: (optional) List of role permissions.
:param str role_name: (optional) Role name.
"""
self.ID = ID
self.description = description
self.permissions = permissions
self.role_name = role_name
@classmethod
def _from_dict(cls, _dict):
"""Initialize a GetAllRolesResponseAllOf1RolesItems object from a json dictionary."""
args = {}
validKeys = ['ID', 'description', 'permissions', 'role_name']
badKeys = set(_dict.keys()) - set(validKeys)
if badKeys:
raise ValueError('Unrecognized keys detected in dictionary for class GetAllRolesResponseAllOf1RolesItems: ' + ', '.join(badKeys))
if 'ID' in _dict:
args['ID'] = _dict.get('ID')
if 'description' in _dict:
args['description'] = _dict.get('description')
if 'permissions' in _dict:
args['permissions'] = _dict.get('permissions')
if 'role_name' in _dict:
args['role_name'] = _dict.get('role_name')
return cls(**args)
def _to_dict(self):
"""Return a json dictionary representing this model."""
_dict = {}
if hasattr(self, 'ID') and self.ID is not None:
_dict['ID'] = self.ID
if hasattr(self, 'description') and self.description is not None:
_dict['description'] = self.description
if hasattr(self, 'permissions') and self.permissions is not None:
_dict['permissions'] = self.permissions
if hasattr(self, 'role_name') and self.role_name is not None:
_dict['role_name'] = self.role_name
return _dict
def __str__(self):
"""Return a `str` version of this GetAllRolesResponseAllOf1RolesItems object."""
return json.dumps(self._to_dict(), indent=2)
def __eq__(self, other):
"""Return `true` when self and other are equal, false otherwise."""
if not isinstance(other, self.__class__):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Return `true` when self and other are not equal, false otherwise."""
return not self == other
class GetAllUsersResponse(object):
"""
GetAllUsersResponse.
:attr str message_code: (optional) message code.
:attr str message: (optional) message.
:attr list[GetAllUsersResponseAllOf1UsersInfoItems] users_info: (optional)
"""
def __init__(self, message_code=None, message=None, users_info=None):
"""
Initialize a GetAllUsersResponse object.
:param str message_code: (optional) message code.
:param str message: (optional) message.
:param list[GetAllUsersResponseAllOf1UsersInfoItems] users_info: (optional)
"""
self.message_code = message_code
self.message = message
self.users_info = users_info
@classmethod
def _from_dict(cls, _dict):
"""Initialize a GetAllUsersResponse object from a json dictionary."""
args = {}
validKeys = ['message_code', '_messageCode_', 'message', 'users_info', 'UsersInfo']
badKeys = set(_dict.keys()) - set(validKeys)
if badKeys:
raise ValueError('Unrecognized keys detected in dictionary for class GetAllUsersResponse: ' + ', '.join(badKeys))
if '_messageCode_' in _dict:
args['message_code'] = _dict.get('_messageCode_')
if 'message' in _dict:
args['message'] = _dict.get('message')
if 'UsersInfo' in _dict:
args['users_info'] = [GetAllUsersResponseAllOf1UsersInfoItems._from_dict(x) for x in (_dict.get('UsersInfo') )]
return cls(**args)
def _to_dict(self):
"""Return a json dictionary representing this model."""
_dict = {}
if hasattr(self, 'message_code') and self.message_code is not None:
_dict['_messageCode_'] = self.message_code
if hasattr(self, 'message') and self.message is not None:
_dict['message'] = self.message
if hasattr(self, 'users_info') and self.users_info is not None:
_dict['UsersInfo'] = [x._to_dict() for x in self.users_info]
return _dict
def __str__(self):
"""Return a `str` version of this GetAllUsersResponse object."""
return json.dumps(self._to_dict(), indent=2)
def __eq__(self, other):
"""Return `true` when self and other are equal, false otherwise."""
if not isinstance(other, self.__class__):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Return `true` when self and other are not equal, false otherwise."""
return not self == other
class GetAllUsersResponseAllOf1UsersInfoItems(object):
"""
GetAllUsersResponseAllOf1UsersInfoItems.
:attr str approval_status: (optional) Approval status of user.
:attr str authenticator: (optional) User authenticator.
:attr str created_timestamp: (optional) Timestamp of creation.
:attr str current_account_status: (optional) User current account status.
:attr str display_name: (optional) User display name.
:attr str email: (optional) User email.
:attr str last_modified_timestamp: (optional) Timestamp of last modification.
:attr list[str] permissions: (optional) List of user permissions.
:attr str role: (optional) User role.
:attr str uid: (optional) User ID.
:attr list[str] user_roles: (optional) List of user roles.
:attr str username: (optional) User Name.
"""
def __init__(self, approval_status=None, authenticator=None, created_timestamp=None, current_account_status=None, display_name=None, email=None, last_modified_timestamp=None, permissions=None, role=None, uid=None, user_roles=None, username=None):
"""
Initialize a GetAllUsersResponseAllOf1UsersInfoItems object.
:param str approval_status: (optional) Approval status of user.
:param str authenticator: (optional) User authenticator.
:param str created_timestamp: (optional) Timestamp of creation.
:param str current_account_status: (optional) User current account status.
:param str display_name: (optional) User display name.
:param str email: (optional) User email.
:param str last_modified_timestamp: (optional) Timestamp of last
modification.
:param list[str] permissions: (optional) List of user permissions.
:param str role: (optional) User role.
:param str uid: (optional) User ID.
:param list[str] user_roles: (optional) List of user roles.
:param str username: (optional) User Name.
"""
self.approval_status = approval_status
self.authenticator = authenticator
self.created_timestamp = created_timestamp
self.current_account_status = current_account_status
self.display_name = display_name
self.email = email
self.last_modified_timestamp = last_modified_timestamp
self.permissions = permissions
self.role = role
self.uid = uid
self.user_roles = user_roles
self.username = username
@classmethod
def _from_dict(cls, _dict):
"""Initialize a GetAllUsersResponseAllOf1UsersInfoItems object from a json dictionary."""
args = {}
validKeys = ['approval_status', 'authenticator', 'created_timestamp', 'current_account_status', 'display_name', 'displayName', 'email', 'last_modified_timestamp', 'permissions', 'role', 'uid', 'user_roles', 'username']
badKeys = set(_dict.keys()) - set(validKeys)
if badKeys:
raise ValueError('Unrecognized keys detected in dictionary for class GetAllUsersResponseAllOf1UsersInfoItems: ' + ', '.join(badKeys))
if 'approval_status' in _dict:
args['approval_status'] = _dict.get('approval_status')
if 'authenticator' in _dict:
args['authenticator'] = _dict.get('authenticator')
if 'created_timestamp' in _dict:
args['created_timestamp'] = _dict.get('created_timestamp')
if 'current_account_status' in _dict:
args['current_account_status'] = _dict.get('current_account_status')
if 'displayName' in _dict:
args['display_name'] = _dict.get('displayName')
if 'email' in _dict:
args['email'] = _dict.get('email')
if 'last_modified_timestamp' in _dict:
args['last_modified_timestamp'] = _dict.get('last_modified_timestamp')
if 'permissions' in _dict:
args['permissions'] = _dict.get('permissions')
if 'role' in _dict:
args['role'] = _dict.get('role')
if 'uid' in _dict:
args['uid'] = _dict.get('uid')
if 'user_roles' in _dict:
args['user_roles'] = _dict.get('user_roles')
if 'username' in _dict:
args['username'] = _dict.get('username')
return cls(**args)
def _to_dict(self):
"""Return a json dictionary representing this model."""
_dict = {}
if hasattr(self, 'approval_status') and self.approval_status is not None:
_dict['approval_status'] = self.approval_status
if hasattr(self, 'authenticator') and self.authenticator is not None:
_dict['authenticator'] = self.authenticator
if hasattr(self, 'created_timestamp') and self.created_timestamp is not None:
_dict['created_timestamp'] = self.created_timestamp
if hasattr(self, 'current_account_status') and self.current_account_status is not None:
_dict['current_account_status'] = self.current_account_status
if hasattr(self, 'display_name') and self.display_name is not None:
_dict['displayName'] = self.display_name
if hasattr(self, 'email') and self.email is not None:
_dict['email'] = self.email
if hasattr(self, 'last_modified_timestamp') and self.last_modified_timestamp is not None:
_dict['last_modified_timestamp'] = self.last_modified_timestamp
if hasattr(self, 'permissions') and self.permissions is not None:
_dict['permissions'] = self.permissions
if hasattr(self, 'role') and self.role is not None:
_dict['role'] = self.role
if hasattr(self, 'uid') and self.uid is not None:
_dict['uid'] = self.uid
if hasattr(self, 'user_roles') and self.user_roles is not None:
_dict['user_roles'] = self.user_roles
if hasattr(self, 'username') and self.username is not None:
_dict['username'] = self.username
return _dict
def __str__(self):
"""Return a `str` version of this GetAllUsersResponseAllOf1UsersInfoItems object."""
return json.dumps(self._to_dict(), indent=2)
def __eq__(self, other):
"""Return `true` when self and other are equal, false otherwise."""
if not isinstance(other, self.__class__):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Return `true` when self and other are not equal, false otherwise."""
return not self == other
class GetMeResponse(object):
"""
GetMeResponse.
:attr str message_code: (optional) message code.
:attr str message: (optional) message.
:attr GetMeResponseAllOf1UserInfo user_info: (optional)
"""
def __init__(self, message_code=None, message=None, user_info=None):
"""
Initialize a GetMeResponse object.
:param str message_code: (optional) message code.
:param str message: (optional) message.
:param GetMeResponseAllOf1UserInfo user_info: (optional)
"""
self.message_code = message_code
self.message = message
self.user_info = user_info
@classmethod
def _from_dict(cls, _dict):
"""Initialize a GetMeResponse object from a json dictionary."""
args = {}
validKeys = ['message_code', '_messageCode_', 'message', 'user_info', 'UserInfo']
badKeys = set(_dict.keys()) - set(validKeys)
if badKeys:
raise ValueError('Unrecognized keys detected in dictionary for class GetMeResponse: ' + ', '.join(badKeys))
if '_messageCode_' in _dict:
args['message_code'] = _dict.get('_messageCode_')
if 'message' in _dict:
args['message'] = _dict.get('message')
if 'UserInfo' in _dict:
args['user_info'] = GetMeResponseAllOf1UserInfo._from_dict(_dict.get('UserInfo'))
return cls(**args)
def _to_dict(self):
"""Return a json dictionary representing this model."""
_dict = {}
if hasattr(self, 'message_code') and self.message_code is not None:
_dict['_messageCode_'] = self.message_code
if hasattr(self, 'message') and self.message is not None:
_dict['message'] = self.message
if hasattr(self, 'user_info') and self.user_info is not None:
_dict['UserInfo'] = self.user_info._to_dict()
return _dict
def __str__(self):
"""Return a `str` version of this GetMeResponse object."""
return json.dumps(self._to_dict(), indent=2)
def __eq__(self, other):
"""Return `true` when self and other are equal, false otherwise."""
if not isinstance(other, self.__class__):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Return `true` when self and other are not equal, false otherwise."""
return not self == other
class GetMeResponseAllOf1UserInfo(object):
"""
GetMeResponseAllOf1UserInfo.
:attr str display_name: (optional) User display name.
:attr str email: (optional) User email.
:attr list[str] permissions: (optional) List of user permissions.
:attr str role: (optional) User role.
:attr str uid: (optional) User ID.
:attr str username: (optional) User Name.
"""
def __init__(self, display_name=None, email=None, permissions=None, role=None, uid=None, username=None):
"""
Initialize a GetMeResponseAllOf1UserInfo object.
:param str display_name: (optional) User display name.
:param str email: (optional) User email.
:param list[str] permissions: (optional) List of user permissions.
:param str role: (optional) User role.
:param str uid: (optional) User ID.
:param str username: (optional) User Name.
"""
self.display_name = display_name
self.email = email
self.permissions = permissions
self.role = role
self.uid = uid
self.username = username
@classmethod
def _from_dict(cls, _dict):
"""Initialize a GetMeResponseAllOf1UserInfo object from a json dictionary."""
args = {}
validKeys = ['display_name', 'displayName', 'email', 'permissions', 'role', 'uid', 'username']
badKeys = set(_dict.keys()) - set(validKeys)
if badKeys:
raise ValueError('Unrecognized keys detected in dictionary for class GetMeResponseAllOf1UserInfo: ' + ', '.join(badKeys))
if 'displayName' in _dict:
args['display_name'] = _dict.get('displayName')
if 'email' in _dict:
args['email'] = _dict.get('email')
if 'permissions' in _dict:
args['permissions'] = _dict.get('permissions')
if 'role' in _dict:
args['role'] = _dict.get('role')
if 'uid' in _dict:
args['uid'] = _dict.get('uid')
if 'username' in _dict:
args['username'] = _dict.get('username')
return cls(**args)
def _to_dict(self):
"""Return a json dictionary representing this model."""
_dict = {}
if hasattr(self, 'display_name') and self.display_name is not None:
_dict['displayName'] = self.display_name
if hasattr(self, 'email') and self.email is not None:
_dict['email'] = self.email
if hasattr(self, 'permissions') and self.permissions is not None:
_dict['permissions'] = self.permissions
if hasattr(self, 'role') and self.role is not None:
_dict['role'] = self.role
if hasattr(self, 'uid') and self.uid is not None:
_dict['uid'] = self.uid
if hasattr(self, 'username') and self.username is not None:
_dict['username'] = self.username
return _dict
def __str__(self):
"""Return a `str` version of this GetMeResponseAllOf1UserInfo object."""
return json.dumps(self._to_dict(), indent=2)
def __eq__(self, other):
"""Return `true` when self and other are equal, false otherwise."""
if not isinstance(other, self.__class__):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Return `true` when self and other are not equal, false otherwise."""
return not self == other
class GetPermissionsResponse(object):
"""
GetPermissionsResponse.
:attr str message_code: (optional) message code.
:attr str message: (optional) message.
:attr list[str] permissions: (optional)
"""
def __init__(self, message_code=None, message=None, permissions=None):
"""
Initialize a GetPermissionsResponse object.
:param str message_code: (optional) message code.
:param str message: (optional) message.
:param list[str] permissions: (optional)
"""
self.message_code = message_code
self.message = message
self.permissions = permissions
@classmethod
def _from_dict(cls, _dict):
"""Initialize a GetPermissionsResponse object from a json dictionary."""
args = {}
validKeys = ['message_code', '_messageCode_', 'message', 'permissions', 'Permissions']
badKeys = set(_dict.keys()) - set(validKeys)
if badKeys:
raise ValueError('Unrecognized keys detected in dictionary for class GetPermissionsResponse: ' + ', '.join(badKeys))
if '_messageCode_' in _dict:
args['message_code'] = _dict.get('_messageCode_')
if 'message' in _dict:
args['message'] = _dict.get('message')
if 'Permissions' in _dict:
args['permissions'] = _dict.get('Permissions')
return cls(**args)
def _to_dict(self):
"""Return a json dictionary representing this model."""
_dict = {}
if hasattr(self, 'message_code') and self.message_code is not None:
_dict['_messageCode_'] = self.message_code
if hasattr(self, 'message') and self.message is not None:
_dict['message'] = self.message
if hasattr(self, 'permissions') and self.permissions is not None:
_dict['Permissions'] = self.permissions
return _dict
def __str__(self):
"""Return a `str` version of this GetPermissionsResponse object."""
return json.dumps(self._to_dict(), indent=2)
def __eq__(self, other):
"""Return `true` when self and other are equal, false otherwise."""
if not isinstance(other, self.__class__):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Return `true` when self and other are not equal, false otherwise."""
return not self == other
class GetRoleResponse(object):
"""
GetRoleResponse.
:attr str message_code: (optional) message code.
:attr str message: (optional) message.
:attr GetRoleResponseAllOf1RoleInfo role_info: (optional)
"""
def __init__(self, message_code=None, message=None, role_info=None):
"""
Initialize a GetRoleResponse object.
:param str message_code: (optional) message code.
:param str message: (optional) message.
:param GetRoleResponseAllOf1RoleInfo role_info: (optional)
"""
self.message_code = message_code
self.message = message
self.role_info = role_info
@classmethod
def _from_dict(cls, _dict):
"""Initialize a GetRoleResponse object from a json dictionary."""
args = {}
validKeys = ['message_code', '_messageCode_', 'message', 'role_info', 'RoleInfo']
badKeys = set(_dict.keys()) - set(validKeys)
if badKeys:
raise ValueError('Unrecognized keys detected in dictionary for class GetRoleResponse: ' + ', '.join(badKeys))
if '_messageCode_' in _dict:
args['message_code'] = _dict.get('_messageCode_')
if 'message' in _dict:
args['message'] = _dict.get('message')
if 'RoleInfo' in _dict:
args['role_info'] = GetRoleResponseAllOf1RoleInfo._from_dict(_dict.get('RoleInfo'))
return cls(**args)
def _to_dict(self):
"""Return a json dictionary representing this model."""
_dict = {}
if hasattr(self, 'message_code') and self.message_code is not None:
_dict['_messageCode_'] = self.message_code
if hasattr(self, 'message') and self.message is not None:
_dict['message'] = self.message
if hasattr(self, 'role_info') and self.role_info is not None:
_dict['RoleInfo'] = self.role_info._to_dict()
return _dict
def __str__(self):
"""Return a `str` version of this GetRoleResponse object."""
return json.dumps(self._to_dict(), indent=2)
def __eq__(self, other):
"""Return `true` when self and other are equal, false otherwise."""
if not isinstance(other, self.__class__):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Return `true` when self and other are not equal, false otherwise."""
return not self == other
class GetRoleResponseAllOf1RoleInfo(object):
"""
GetRoleResponseAllOf1RoleInfo.
:attr str ID: (optional) Role ID.
:attr str description: (optional) Role description.
:attr list[str] permissions: (optional) List of role permissions.
:attr str role_name: (optional) Role name.
"""
def __init__(self, ID=None, description=None, permissions=None, role_name=None):
"""
Initialize a GetRoleResponseAllOf1RoleInfo object.
:param str ID: (optional) Role ID.
:param str description: (optional) Role description.
:param list[str] permissions: (optional) List of role permissions.
:param str role_name: (optional) Role name.
"""
self.ID = ID
self.description = description
self.permissions = permissions
self.role_name = role_name
@classmethod
def _from_dict(cls, _dict):
"""Initialize a GetRoleResponseAllOf1RoleInfo object from a json dictionary."""
args = {}
validKeys = ['ID', 'description', 'permissions', 'role_name']
badKeys = set(_dict.keys()) - set(validKeys)
if badKeys:
raise ValueError('Unrecognized keys detected in dictionary for class GetRoleResponseAllOf1RoleInfo: ' + ', '.join(badKeys))
if 'ID' in _dict:
args['ID'] = _dict.get('ID')
if 'description' in _dict:
args['description'] = _dict.get('description')
if 'permissions' in _dict:
args['permissions'] = _dict.get('permissions')
if 'role_name' in _dict:
args['role_name'] = _dict.get('role_name')
return cls(**args)
def _to_dict(self):
"""Return a json dictionary representing this model."""
_dict = {}
if hasattr(self, 'ID') and self.ID is not None:
_dict['ID'] = self.ID
if hasattr(self, 'description') and self.description is not None:
_dict['description'] = self.description
if hasattr(self, 'permissions') and self.permissions is not None:
_dict['permissions'] = self.permissions
if hasattr(self, 'role_name') and self.role_name is not None:
_dict['role_name'] = self.role_name
return _dict
def __str__(self):
"""Return a `str` version of this GetRoleResponseAllOf1RoleInfo object."""
return json.dumps(self._to_dict(), indent=2)
def __eq__(self, other):
"""Return `true` when self and other are equal, false otherwise."""
if not isinstance(other, self.__class__):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Return `true` when self and other are not equal, false otherwise."""
return not self == other
class GetUserResponse(object):
"""
GetUserResponse.
:attr str message_code: (optional) message code.
:attr str message: (optional) message.
:attr GetUserResponseAllOf1UserInfo user_info: (optional)
"""
def __init__(self, message_code=None, message=None, user_info=None):
"""
Initialize a GetUserResponse object.
:param str message_code: (optional) message code.
:param str message: (optional) message.
:param GetUserResponseAllOf1UserInfo user_info: (optional)
"""
self.message_code = message_code
self.message = message
self.user_info = user_info
@classmethod
def _from_dict(cls, _dict):
"""Initialize a GetUserResponse object from a json dictionary."""
args = {}
validKeys = ['message_code', '_messageCode_', 'message', 'user_info', 'UserInfo']
badKeys = set(_dict.keys()) - set(validKeys)
if badKeys:
raise ValueError('Unrecognized keys detected in dictionary for class GetUserResponse: ' + ', '.join(badKeys))
if '_messageCode_' in _dict:
args['message_code'] = _dict.get('_messageCode_')
if 'message' in _dict:
args['message'] = _dict.get('message')
if 'UserInfo' in _dict:
args['user_info'] = GetUserResponseAllOf1UserInfo._from_dict(_dict.get('UserInfo'))
return cls(**args)
def _to_dict(self):
"""Return a json dictionary representing this model."""
_dict = {}
if hasattr(self, 'message_code') and self.message_code is not None:
_dict['_messageCode_'] = self.message_code
if hasattr(self, 'message') and self.message is not None:
_dict['message'] = self.message
if hasattr(self, 'user_info') and self.user_info is not None:
_dict['UserInfo'] = self.user_info._to_dict()
return _dict
def __str__(self):
"""Return a `str` version of this GetUserResponse object."""
return json.dumps(self._to_dict(), indent=2)
def __eq__(self, other):
"""Return `true` when self and other are equal, false otherwise."""
if not isinstance(other, self.__class__):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Return `true` when self and other are not equal, false otherwise."""
return not self == other
class GetUserResponseAllOf1UserInfo(object):
"""
GetUserResponseAllOf1UserInfo.
:attr str approval_status: (optional) Approval status of user.
:attr str authenticator: (optional) User authenticator.
:attr str created_timestamp: (optional) Timestamp of creation.
:attr str current_account_status: (optional) User current account status.
:attr str display_name: (optional) User display name.
:attr str email: (optional) User email.
:attr str first_failed_attempt_timestamp: (optional) Timestamp of first failed
attempt.
:attr str last_modified_timestamp: (optional) Timestamp of last modification.
:attr list[str] permissions: (optional) List of user permissions.
:attr float recent_number_of_failed_attempts: (optional) Recent number of failed
attempts.
:attr str release_lock_at_timestamp: (optional) Release lock at timestamp.
:attr str role: (optional) User role.
:attr str uid: (optional) User ID.
:attr list[str] user_roles: (optional) List of user roles.
:attr str username: (optional) User Name.
"""
def __init__(self, approval_status=None, authenticator=None, created_timestamp=None, current_account_status=None, display_name=None, email=None, first_failed_attempt_timestamp=None, last_modified_timestamp=None, permissions=None, recent_number_of_failed_attempts=None, release_lock_at_timestamp=None, role=None, uid=None, user_roles=None, username=None):
"""
Initialize a GetUserResponseAllOf1UserInfo object.
:param str approval_status: (optional) Approval status of user.
:param str authenticator: (optional) User authenticator.
:param str created_timestamp: (optional) Timestamp of creation.
:param str current_account_status: (optional) User current account status.
:param str display_name: (optional) User display name.
:param str email: (optional) User email.
:param str first_failed_attempt_timestamp: (optional) Timestamp of first
failed attempt.
:param str last_modified_timestamp: (optional) Timestamp of last
modification.
:param list[str] permissions: (optional) List of user permissions.
:param float recent_number_of_failed_attempts: (optional) Recent number of
failed attempts.
:param str release_lock_at_timestamp: (optional) Release lock at timestamp.
:param str role: (optional) User role.
:param str uid: (optional) User ID.
:param list[str] user_roles: (optional) List of user roles.
:param str username: (optional) User Name.
"""
self.approval_status = approval_status
self.authenticator = authenticator
self.created_timestamp = created_timestamp
self.current_account_status = current_account_status
self.display_name = display_name
self.email = email
self.first_failed_attempt_timestamp = first_failed_attempt_timestamp
self.last_modified_timestamp = last_modified_timestamp
self.permissions = permissions
self.recent_number_of_failed_attempts = recent_number_of_failed_attempts
self.release_lock_at_timestamp = release_lock_at_timestamp
self.role = role
self.uid = uid
self.user_roles = user_roles
self.username = username
@classmethod
def _from_dict(cls, _dict):
"""Initialize a GetUserResponseAllOf1UserInfo object from a json dictionary."""
args = {}
validKeys = ['approval_status', 'authenticator', 'created_timestamp', 'current_account_status', 'display_name', 'displayName', 'email', 'first_failed_attempt_timestamp', 'last_modified_timestamp', 'permissions', 'recent_number_of_failed_attempts', 'release_lock_at_timestamp', 'role', 'uid', 'user_roles', 'username']
badKeys = set(_dict.keys()) - set(validKeys)
if badKeys:
raise ValueError('Unrecognized keys detected in dictionary for class GetUserResponseAllOf1UserInfo: ' + ', '.join(badKeys))
if 'approval_status' in _dict:
args['approval_status'] = _dict.get('approval_status')
if 'authenticator' in _dict:
args['authenticator'] = _dict.get('authenticator')
if 'created_timestamp' in _dict:
args['created_timestamp'] = _dict.get('created_timestamp')
if 'current_account_status' in _dict:
args['current_account_status'] = _dict.get('current_account_status')
if 'displayName' in _dict:
args['display_name'] = _dict.get('displayName')
if 'email' in _dict:
args['email'] = _dict.get('email')
if 'first_failed_attempt_timestamp' in _dict:
args['first_failed_attempt_timestamp'] = _dict.get('first_failed_attempt_timestamp')
if 'last_modified_timestamp' in _dict:
args['last_modified_timestamp'] = _dict.get('last_modified_timestamp')
if 'permissions' in _dict:
args['permissions'] = _dict.get('permissions')
if 'recent_number_of_failed_attempts' in _dict:
args['recent_number_of_failed_attempts'] = _dict.get('recent_number_of_failed_attempts')
if 'release_lock_at_timestamp' in _dict:
args['release_lock_at_timestamp'] = _dict.get('release_lock_at_timestamp')
if 'role' in _dict:
args['role'] = _dict.get('role')
if 'uid' in _dict:
args['uid'] = _dict.get('uid')
if 'user_roles' in _dict:
args['user_roles'] = _dict.get('user_roles')
if 'username' in _dict:
args['username'] = _dict.get('username')
return cls(**args)
def _to_dict(self):
"""Return a json dictionary representing this model."""
_dict = {}
if hasattr(self, 'approval_status') and self.approval_status is not None:
_dict['approval_status'] = self.approval_status
if hasattr(self, 'authenticator') and self.authenticator is not None:
_dict['authenticator'] = self.authenticator
if hasattr(self, 'created_timestamp') and self.created_timestamp is not None:
_dict['created_timestamp'] = self.created_timestamp
if hasattr(self, 'current_account_status') and self.current_account_status is not None:
_dict['current_account_status'] = self.current_account_status
if hasattr(self, 'display_name') and self.display_name is not None:
_dict['displayName'] = self.display_name
if hasattr(self, 'email') and self.email is not None:
_dict['email'] = self.email
if hasattr(self, 'first_failed_attempt_timestamp') and self.first_failed_attempt_timestamp is not None:
_dict['first_failed_attempt_timestamp'] = self.first_failed_attempt_timestamp
if hasattr(self, 'last_modified_timestamp') and self.last_modified_timestamp is not None:
_dict['last_modified_timestamp'] = self.last_modified_timestamp
if hasattr(self, 'permissions') and self.permissions is not None:
_dict['permissions'] = self.permissions
if hasattr(self, 'recent_number_of_failed_attempts') and self.recent_number_of_failed_attempts is not None:
_dict['recent_number_of_failed_attempts'] = self.recent_number_of_failed_attempts
if hasattr(self, 'release_lock_at_timestamp') and self.release_lock_at_timestamp is not None:
_dict['release_lock_at_timestamp'] = self.release_lock_at_timestamp
if hasattr(self, 'role') and self.role is not None:
_dict['role'] = self.role
if hasattr(self, 'uid') and self.uid is not None:
_dict['uid'] = self.uid
if hasattr(self, 'user_roles') and self.user_roles is not None:
_dict['user_roles'] = self.user_roles
if hasattr(self, 'username') and self.username is not None:
_dict['username'] = self.username
return _dict
def __str__(self):
"""Return a `str` version of this GetUserResponseAllOf1UserInfo object."""
return json.dumps(self._to_dict(), indent=2)
def __eq__(self, other):
"""Return `true` when self and other are equal, false otherwise."""
if not isinstance(other, self.__class__):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Return `true` when self and other are not equal, false otherwise."""
return not self == other
class LoginResponse(object):
"""
LoginResponse.
:attr str message_code: (optional) message code.
:attr str message: (optional) message.
:attr str token: (optional) Authorization bearer token used for accessing api.
"""
def __init__(self, message_code=None, message=None, token=None):
"""
Initialize a LoginResponse object.
:param str message_code: (optional) message code.
:param str message: (optional) message.
:param str token: (optional) Authorization bearer token used for accessing
api.
"""
self.message_code = message_code
self.message = message
self.token = token
@classmethod
def _from_dict(cls, _dict):
"""Initialize a LoginResponse object from a json dictionary."""
args = {}
validKeys = ['message_code', '_messageCode_', 'message', 'token']
badKeys = set(_dict.keys()) - set(validKeys)
if badKeys:
raise ValueError('Unrecognized keys detected in dictionary for class LoginResponse: ' + ', '.join(badKeys))
if '_messageCode_' in _dict:
args['message_code'] = _dict.get('_messageCode_')
if 'message' in _dict:
args['message'] = _dict.get('message')
if 'token' in _dict:
args['token'] = _dict.get('token')
return cls(**args)
def _to_dict(self):
"""Return a json dictionary representing this model."""
_dict = {}
if hasattr(self, 'message_code') and self.message_code is not None:
_dict['_messageCode_'] = self.message_code
if hasattr(self, 'message') and self.message is not None:
_dict['message'] = self.message
if hasattr(self, 'token') and self.token is not None:
_dict['token'] = self.token
return _dict
def __str__(self):
"""Return a `str` version of this LoginResponse object."""
return json.dumps(self._to_dict(), indent=2)
def __eq__(self, other):
"""Return `true` when self and other are equal, false otherwise."""
if not isinstance(other, self.__class__):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Return `true` when self and other are not equal, false otherwise."""
return not self == other
class RelatedAssetsFindSuccessResponse(object):
"""
RelatedAssetsFindSuccessResponse.
:attr str message_code: (optional) message code.
:attr str message: (optional) message.
:attr list[RelatedAssetsFindSuccessResponseAllOf1RelatedAssetsItems]
related_assets: (optional)
"""
def __init__(self, message_code=None, message=None, related_assets=None):
"""
Initialize a RelatedAssetsFindSuccessResponse object.
:param str message_code: (optional) message code.
:param str message: (optional) message.
:param list[RelatedAssetsFindSuccessResponseAllOf1RelatedAssetsItems]
related_assets: (optional)
"""
self.message_code = message_code
self.message = message
self.related_assets = related_assets
@classmethod
def _from_dict(cls, _dict):
"""Initialize a RelatedAssetsFindSuccessResponse object from a json dictionary."""
args = {}
validKeys = ['message_code', '_messageCode_', 'message', 'related_assets', 'relatedAssets']
badKeys = set(_dict.keys()) - set(validKeys)
if badKeys:
raise ValueError('Unrecognized keys detected in dictionary for class RelatedAssetsFindSuccessResponse: ' + ', '.join(badKeys))
if '_messageCode_' in _dict:
args['message_code'] = _dict.get('_messageCode_')
if 'message' in _dict:
args['message'] = _dict.get('message')
if 'relatedAssets' in _dict:
args['related_assets'] = [RelatedAssetsFindSuccessResponseAllOf1RelatedAssetsItems._from_dict(x) for x in (_dict.get('relatedAssets') )]
return cls(**args)
def _to_dict(self):
"""Return a json dictionary representing this model."""
_dict = {}
if hasattr(self, 'message_code') and self.message_code is not None:
_dict['_messageCode_'] = self.message_code
if hasattr(self, 'message') and self.message is not None:
_dict['message'] = self.message
if hasattr(self, 'related_assets') and self.related_assets is not None:
_dict['relatedAssets'] = [x._to_dict() for x in self.related_assets]
return _dict
def __str__(self):
"""Return a `str` version of this RelatedAssetsFindSuccessResponse object."""
return json.dumps(self._to_dict(), indent=2)
def __eq__(self, other):
"""Return `true` when self and other are equal, false otherwise."""
if not isinstance(other, self.__class__):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Return `true` when self and other are not equal, false otherwise."""
return not self == other
class RelatedAssetsFindSuccessResponseAllOf1RelatedAssetsItems(object):
"""
RelatedAssetsFindSuccessResponseAllOf1RelatedAssetsItems.
:attr str name: (optional) asset_name.
:attr str type: (optional) asset_type.
"""
def __init__(self, name=None, type=None):
"""
Initialize a RelatedAssetsFindSuccessResponseAllOf1RelatedAssetsItems object.
:param str name: (optional) asset_name.
:param str type: (optional) asset_type.
"""
self.name = name
self.type = type
@classmethod
def _from_dict(cls, _dict):
"""Initialize a RelatedAssetsFindSuccessResponseAllOf1RelatedAssetsItems object from a json dictionary."""
args = {}
validKeys = ['name', '_name', 'type', '_type']
badKeys = set(_dict.keys()) - set(validKeys)
if badKeys:
raise ValueError('Unrecognized keys detected in dictionary for class RelatedAssetsFindSuccessResponseAllOf1RelatedAssetsItems: ' + ', '.join(badKeys))
if '_name' in _dict:
args['name'] = _dict.get('_name')
if '_type' in _dict:
args['type'] = _dict.get('_type')
return cls(**args)
def _to_dict(self):
"""Return a json dictionary representing this model."""
_dict = {}
if hasattr(self, 'name') and self.name is not None:
_dict['_name'] = self.name
if hasattr(self, 'type') and self.type is not None:
_dict['_type'] = self.type
return _dict
def __str__(self):
"""Return a `str` version of this RelatedAssetsFindSuccessResponseAllOf1RelatedAssetsItems object."""
return json.dumps(self._to_dict(), indent=2)
def __eq__(self, other):
"""Return `true` when self and other are equal, false otherwise."""
if not isinstance(other, self.__class__):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Return `true` when self and other are not equal, false otherwise."""
return not self == other
class SuccessResponse(object):
"""
SuccessResponse.
:attr str message_code: (optional) message code.
:attr str message: (optional) message.
"""
def __init__(self, message_code=None, message=None):
"""
Initialize a SuccessResponse object.
:param str message_code: (optional) message code.
:param str message: (optional) message.
"""
self.message_code = message_code
self.message = message
@classmethod
def _from_dict(cls, _dict):
"""Initialize a SuccessResponse object from a json dictionary."""
args = {}
validKeys = ['message_code', '_messageCode_', 'message']
badKeys = set(_dict.keys()) - set(validKeys)
if badKeys:
raise ValueError('Unrecognized keys detected in dictionary for class SuccessResponse: ' + ', '.join(badKeys))
if '_messageCode_' in _dict:
args['message_code'] = _dict.get('_messageCode_')
if 'message' in _dict:
args['message'] = _dict.get('message')
return cls(**args)
def _to_dict(self):
"""Return a json dictionary representing this model."""
_dict = {}
if hasattr(self, 'message_code') and self.message_code is not None:
_dict['_messageCode_'] = self.message_code
if hasattr(self, 'message') and self.message is not None:
_dict['message'] = self.message
return _dict
def __str__(self):
"""Return a `str` version of this SuccessResponse object."""
return json.dumps(self._to_dict(), indent=2)
def __eq__(self, other):
"""Return `true` when self and other are equal, false otherwise."""
if not isinstance(other, self.__class__):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Return `true` when self and other are not equal, false otherwise."""
return not self == other
class TypesSuccessResponse(object):
"""
TypesSuccessResponse.
:attr str message_code: (optional) message code.
:attr str message: (optional) message.
:attr list[object] types: (optional)
"""
def __init__(self, message_code=None, message=None, types=None):
"""
Initialize a TypesSuccessResponse object.
:param str message_code: (optional) message code.
:param str message: (optional) message.
:param list[object] types: (optional)
"""
self.message_code = message_code
self.message = message
self.types = types
@classmethod
def _from_dict(cls, _dict):
"""Initialize a TypesSuccessResponse object from a json dictionary."""
args = {}
validKeys = ['message_code', '_messageCode_', 'message', 'types', 'Types']
badKeys = set(_dict.keys()) - set(validKeys)
if badKeys:
raise ValueError('Unrecognized keys detected in dictionary for class TypesSuccessResponse: ' + ', '.join(badKeys))
if '_messageCode_' in _dict:
args['message_code'] = _dict.get('_messageCode_')
if 'message' in _dict:
args['message'] = _dict.get('message')
if 'Types' in _dict:
args['types'] = _dict.get('Types')
return cls(**args)
def _to_dict(self):
"""Return a json dictionary representing this model."""
_dict = {}
if hasattr(self, 'message_code') and self.message_code is not None:
_dict['_messageCode_'] = self.message_code
if hasattr(self, 'message') and self.message is not None:
_dict['message'] = self.message
if hasattr(self, 'types') and self.types is not None:
_dict['Types'] = self.types
return _dict
def __str__(self):
"""Return a `str` version of this TypesSuccessResponse object."""
return json.dumps(self._to_dict(), indent=2)
def __eq__(self, other):
"""Return `true` when self and other are equal, false otherwise."""
if not isinstance(other, self.__class__):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Return `true` when self and other are not equal, false otherwise."""
return not self == other
| 38.081829
| 358
| 0.605728
| 10,868
| 99,127
| 5.312477
| 0.035885
| 0.029721
| 0.014376
| 0.018689
| 0.810153
| 0.77766
| 0.766766
| 0.753481
| 0.733373
| 0.722582
| 0
| 0.002483
| 0.288983
| 99,127
| 2,602
| 359
| 38.096464
| 0.816688
| 0.301371
| 0
| 0.779539
| 0
| 0
| 0.154018
| 0.025366
| 0
| 0
| 0
| 0
| 0
| 1
| 0.10951
| false
| 0.012248
| 0.003602
| 0
| 0.237752
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
e840ad07367c6ccc1d8ee22af2103a20bb365805
| 127
|
py
|
Python
|
api/resources/__init__.py
|
bymangjo/Metin2_Python_API
|
c8c42581e0d9eafad5c23053ab286810f7d4eb7a
|
[
"MIT"
] | null | null | null |
api/resources/__init__.py
|
bymangjo/Metin2_Python_API
|
c8c42581e0d9eafad5c23053ab286810f7d4eb7a
|
[
"MIT"
] | null | null | null |
api/resources/__init__.py
|
bymangjo/Metin2_Python_API
|
c8c42581e0d9eafad5c23053ab286810f7d4eb7a
|
[
"MIT"
] | 2
|
2018-10-29T03:29:22.000Z
|
2019-11-23T14:12:46.000Z
|
# __init__.py
from resources import account
from resources import common
from resources import player
from resources import log
| 25.4
| 29
| 0.850394
| 18
| 127
| 5.777778
| 0.5
| 0.5
| 0.730769
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.133858
| 127
| 5
| 30
| 25.4
| 0.945455
| 0.086614
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
e8a765ab93ac92e1f2859c406c8a5765009d6390
| 10,650
|
py
|
Python
|
qap/test_functional_preproc.py
|
wangkangcheng/ccc
|
bd4658f6b11a39649f709b42b98fa7cc76fe97f9
|
[
"BSD-3-Clause"
] | null | null | null |
qap/test_functional_preproc.py
|
wangkangcheng/ccc
|
bd4658f6b11a39649f709b42b98fa7cc76fe97f9
|
[
"BSD-3-Clause"
] | null | null | null |
qap/test_functional_preproc.py
|
wangkangcheng/ccc
|
bd4658f6b11a39649f709b42b98fa7cc76fe97f9
|
[
"BSD-3-Clause"
] | null | null | null |
test_sub_dir = "test_data/1019436/session_1"
def test_get_idx_whole_timeseries():
import os
import pkg_resources as p
from qap.functional_preproc import get_idx
func_scan = p.resource_filename("qap", os.path.join(test_sub_dir, \
"rest_1", \
"functional_scan", \
"rest.nii.gz"))
idx_tuple = get_idx(func_scan, "End", 0)
assert idx_tuple == (151,0)
def test_get_idx_partial_timeseries():
import os
import pkg_resources as p
from qap.functional_preproc import get_idx
func_scan = p.resource_filename("qap", os.path.join(test_sub_dir, \
"rest_1", \
"functional_scan", \
"rest.nii.gz"))
idx_tuple = get_idx(func_scan, 100, 20)
assert idx_tuple == (100,20)
def test_get_idx_partial_timeseries_overshoot():
import os
import pkg_resources as p
from qap.functional_preproc import get_idx
func_scan = p.resource_filename("qap", os.path.join(test_sub_dir, \
"rest_1", \
"functional_scan", \
"rest.nii.gz"))
idx_tuple = get_idx(func_scan, 250, 20)
assert idx_tuple == (151,20)
def test_workflow_func_motion_correct_no_slice_time():
import os
import nibabel as nb
import pkg_resources as p
from qap.functional_preproc import run_func_motion_correct
from qap.workflow_utils import build_test_case
func_scan = p.resource_filename("qap", os.path.join(test_sub_dir, \
"rest_1", \
"functional_scan", \
"rest.nii.gz"))
ref_graph = p.resource_filename("qap", os.path.join("test_data", \
"workflow_reference", \
"func_motion_correct", \
"graph_func_motion_correct.dot"))
ref_inputs = p.resource_filename("qap", os.path.join("test_data", \
"workflow_reference", \
"func_motion_correct", \
"wf_inputs.txt"))
# build the workflow
wf, base_dir = run_func_motion_correct(func_scan, 0, "End", False, False)
# get the workflow inputs of the workflow being tested
wf_inputs_string = str(wf.inputs).replace("\n","")
wf_inputs_string = wf_inputs_string.replace(base_dir, \
"BASE_DIRECTORY_HERE")
wf_inputs_string = wf_inputs_string.replace(func_scan, "IN_FILE_A_HERE", 1)
wf_inputs_string = wf_inputs_string.replace(func_scan, "IN_FILES_HERE")
flag, err = build_test_case(wf, ref_inputs, ref_graph, wf_inputs_string)
assert flag == 2, err
def test_workflow_func_motion_correct_slice_time():
import os
import pkg_resources as p
from qap.functional_preproc import run_func_motion_correct
from qap.workflow_utils import build_test_case
func_scan = p.resource_filename("qap", os.path.join(test_sub_dir, \
"rest_1", \
"functional_scan", \
"rest.nii.gz"))
ref_graph = p.resource_filename("qap", os.path.join("test_data", \
"workflow_reference", \
"func_motion_correct_slice_time", \
"graph_func_motion_correct" \
"_slice_time.dot"))
ref_inputs = p.resource_filename("qap", os.path.join("test_data", \
"workflow_reference", \
"func_motion_correct_slice_time", \
"wf_inputs.txt"))
# build the workflow
wf, base_dir = run_func_motion_correct(func_scan, 0, "End", True, False)
# get the workflow inputs of the workflow being tested
wf_inputs_string = str(wf.inputs).replace("\n","")
wf_inputs_string = wf_inputs_string.replace(base_dir, \
"BASE_DIRECTORY_HERE")
wf_inputs_string = wf_inputs_string.replace(func_scan, "IN_FILE_A_HERE",\
1)
wf_inputs_string = wf_inputs_string.replace(func_scan, "IN_FILES_HERE")
flag, err = build_test_case(wf, ref_inputs, ref_graph, wf_inputs_string)
assert flag == 2, err
def test_workflow_functional_brain_mask_3dautomask():
import os
import pkg_resources as p
from qap.functional_preproc import run_functional_brain_mask
from qap.workflow_utils import build_test_case
func_motion = p.resource_filename("qap", os.path.join(test_sub_dir, \
"rest_1", \
"func_motion_correct", \
"rest_calc_tshift_resample_" \
"volreg.nii.gz"))
ref_graph = p.resource_filename("qap", os.path.join("test_data", \
"workflow_reference", \
"functional_brain_mask_3dautomask", \
"graph_functional_brain_mask" \
"_3dautomask.dot"))
ref_inputs = p.resource_filename("qap", os.path.join("test_data", \
"workflow_reference", \
"functional_brain_mask_3dautomask", \
"wf_inputs.txt"))
# build the workflow
wf, base_dir = run_functional_brain_mask(func_motion, use_bet=False, \
run=False)
# get the workflow inputs of the workflow being tested
wf_inputs_string = str(wf.inputs).replace("\n","")
wf_inputs_string = wf_inputs_string.replace(base_dir, \
"BASE_DIRECTORY_HERE")
wf_inputs_string = wf_inputs_string.replace(func_motion, "IN_FILE_HERE")
flag, err = build_test_case(wf, ref_inputs, ref_graph, wf_inputs_string)
assert flag == 2, err
def test_workflow_functional_brain_mask_BET():
import os
import pkg_resources as p
from qap.functional_preproc import run_functional_brain_mask
from qap.workflow_utils import build_test_case
func_motion = p.resource_filename("qap", os.path.join(test_sub_dir, \
"rest_1", \
"func_motion_correct", \
"rest_calc_tshift_resample_" \
"volreg.nii.gz"))
ref_graph = p.resource_filename("qap", os.path.join("test_data", \
"workflow_reference", \
"functional_brain_mask_BET", \
"graph_functional_brain_mask_BET.dot"))
ref_inputs = p.resource_filename("qap", os.path.join("test_data", \
"workflow_reference", \
"functional_brain_mask_BET", \
"wf_inputs.txt"))
# build the workflow
wf, base_dir = run_functional_brain_mask(func_motion, use_bet=True, \
run=False)
# get the workflow inputs of the workflow being tested
wf_inputs_string = str(wf.inputs).replace("\n","")
wf_inputs_string = wf_inputs_string.replace(base_dir, \
"BASE_DIRECTORY_HERE")
wf_inputs_string = wf_inputs_string.replace(func_motion, "IN_FILE_HERE")
flag, err = build_test_case(wf, ref_inputs, ref_graph, wf_inputs_string)
assert flag == 2, err
def test_workflow_mean_functional():
import os
import pkg_resources as p
from qap.functional_preproc import run_mean_functional
from qap.workflow_utils import build_test_case
func_motion = p.resource_filename("qap", os.path.join(test_sub_dir, \
"rest_1", \
"func_motion_correct", \
"rest_calc_tshift_resample_" \
"volreg.nii.gz"))
ref_graph = p.resource_filename("qap", os.path.join("test_data", \
"workflow_reference", \
"mean_functional", \
"graph_mean_functional.dot"))
ref_inputs = p.resource_filename("qap", os.path.join("test_data", \
"workflow_reference", \
"mean_functional", \
"wf_inputs.txt"))
# build the workflow
wf, base_dir = run_mean_functional(func_motion, False)
# get the workflow inputs of the workflow being tested
wf_inputs_string = str(wf.inputs).replace("\n","")
wf_inputs_string = wf_inputs_string.replace(base_dir, \
"BASE_DIRECTORY_HERE")
wf_inputs_string = wf_inputs_string.replace(func_motion, "IN_FILE_HERE")
flag, err = build_test_case(wf, ref_inputs, ref_graph, wf_inputs_string)
assert flag == 2, err
def run_all_tests_functional_preproc():
test_get_idx_whole_timeseries()
test_get_idx_partial_timeseries()
test_get_idx_partial_timeseries_overshoot()
test_workflow_func_motion_correct_no_slice_time()
test_workflow_func_motion_correct_slice_time()
test_workflow_functional_brain_mask_3dautomask()
test_workflow_functional_brain_mask_BET()
test_workflow_mean_functional()
| 34.577922
| 79
| 0.516338
| 1,092
| 10,650
| 4.623626
| 0.084249
| 0.069717
| 0.094276
| 0.071301
| 0.931075
| 0.917211
| 0.873044
| 0.860368
| 0.844524
| 0.844524
| 0
| 0.008693
| 0.405915
| 10,650
| 308
| 80
| 34.577922
| 0.789316
| 0.033709
| 0
| 0.760234
| 0
| 0
| 0.134741
| 0.04086
| 0
| 0
| 0
| 0
| 0.046784
| 1
| 0.052632
| false
| 0
| 0.175439
| 0
| 0.22807
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
e8c55416b88805344ce139f8769d1ca0533e4127
| 16,353
|
py
|
Python
|
tests/type/test_scalars.py
|
ganwell/graphql-core-next
|
0fb5b81fc0a1909bfe63df31657bc4de631676cf
|
[
"MIT"
] | null | null | null |
tests/type/test_scalars.py
|
ganwell/graphql-core-next
|
0fb5b81fc0a1909bfe63df31657bc4de631676cf
|
[
"MIT"
] | null | null | null |
tests/type/test_scalars.py
|
ganwell/graphql-core-next
|
0fb5b81fc0a1909bfe63df31657bc4de631676cf
|
[
"MIT"
] | null | null | null |
from math import inf, nan, pi
from pytest import raises # type: ignore
from graphql.error import INVALID
from graphql.language import parse_value as parse_value_to_ast
from graphql.type import (
GraphQLInt,
GraphQLFloat,
GraphQLString,
GraphQLBoolean,
GraphQLID,
)
def describe_type_system_specified_scalar_types():
def describe_graphql_int():
def parse_value():
parse_value = GraphQLInt.parse_value
assert parse_value(1) == 1
assert parse_value(0) == 0
assert parse_value(-1) == -1
with raises(TypeError) as exc_info:
parse_value(9876504321)
assert (
str(exc_info.value)
== "Int cannot represent non 32-bit signed integer value: 9876504321"
)
with raises(TypeError) as exc_info:
parse_value(-9876504321)
assert (
str(exc_info.value)
== "Int cannot represent non 32-bit signed integer value: -9876504321"
)
with raises(TypeError) as exc_info:
parse_value(0.1)
assert str(exc_info.value) == "Int cannot represent non-integer value: 0.1"
with raises(TypeError) as exc_info:
parse_value(nan)
assert str(exc_info.value) == "Int cannot represent non-integer value: nan"
with raises(TypeError) as exc_info:
parse_value(inf)
assert str(exc_info.value) == "Int cannot represent non-integer value: inf"
with raises(TypeError) as exc_info:
parse_value(INVALID)
assert (
str(exc_info.value)
== "Int cannot represent non-integer value: <INVALID>"
)
with raises(TypeError) as exc_info:
parse_value(None)
assert str(exc_info.value) == "Int cannot represent non-integer value: None"
with raises(TypeError) as exc_info:
parse_value("")
assert str(exc_info.value) == "Int cannot represent non-integer value: ''"
with raises(TypeError) as exc_info:
parse_value("123")
assert (
str(exc_info.value) == "Int cannot represent non-integer value: '123'"
)
with raises(TypeError) as exc_info:
parse_value(False)
assert (
str(exc_info.value) == "Int cannot represent non-integer value: False"
)
with raises(TypeError) as exc_info:
parse_value(True)
assert str(exc_info.value) == "Int cannot represent non-integer value: True"
with raises(TypeError) as exc_info:
parse_value([1])
assert str(exc_info.value) == "Int cannot represent non-integer value: [1]"
with raises(TypeError) as exc_info:
parse_value({"value": 1})
assert (
str(exc_info.value)
== "Int cannot represent non-integer value: {'value': 1}"
)
def parse_literal():
def parse_literal(s):
return GraphQLInt.parse_literal(parse_value_to_ast(s))
assert parse_literal("1") == 1
assert parse_literal("0") == 0
assert parse_literal("-1") == -1
assert parse_literal("9876504321") is INVALID
assert parse_literal("-9876504321") is INVALID
assert parse_literal("1.0") is INVALID
assert parse_literal("null") is INVALID
assert parse_literal("None") is INVALID
assert parse_literal('""') is INVALID
assert parse_literal('"123"') is INVALID
assert parse_literal("false") is INVALID
assert parse_literal("False") is INVALID
assert parse_literal("[1]") is INVALID
assert parse_literal("{value: 1}") is INVALID
assert parse_literal("ENUM_VALUE") is INVALID
assert parse_literal("$var") is INVALID
def describe_graphql_float():
def parse_value():
parse_value = GraphQLFloat.parse_value
assert parse_value(1) == 1
assert parse_value(0) == 0
assert parse_value(-1) == -1
assert parse_value(0.1) == 0.1
assert parse_value(pi) == pi
with raises(TypeError) as exc_info:
parse_value(nan)
assert (
str(exc_info.value) == "Float cannot represent non numeric value: nan"
)
with raises(TypeError) as exc_info:
parse_value(inf)
assert (
str(exc_info.value) == "Float cannot represent non numeric value: inf"
)
with raises(TypeError) as exc_info:
parse_value("")
assert str(exc_info.value) == "Float cannot represent non numeric value: ''"
with raises(TypeError) as exc_info:
parse_value("123")
assert (
str(exc_info.value) == "Float cannot represent non numeric value: '123'"
)
with raises(TypeError) as exc_info:
parse_value("123.5")
assert (
str(exc_info.value)
== "Float cannot represent non numeric value: '123.5'"
)
with raises(TypeError) as exc_info:
parse_value(False)
assert (
str(exc_info.value) == "Float cannot represent non numeric value: False"
)
with raises(TypeError) as exc_info:
parse_value(True)
assert (
str(exc_info.value) == "Float cannot represent non numeric value: True"
)
with raises(TypeError) as exc_info:
parse_value([0.1])
assert (
str(exc_info.value) == "Float cannot represent non numeric value: [0.1]"
)
with raises(TypeError) as exc_info:
parse_value({"value": 0.1})
assert (
str(exc_info.value)
== "Float cannot represent non numeric value: {'value': 0.1}"
)
def parse_literal():
def parse_literal(s):
return GraphQLFloat.parse_literal(parse_value_to_ast(s))
assert parse_literal("1") == 1
assert parse_literal("0") == 0
assert parse_literal("-1") == -1
assert parse_literal("0.1") == 0.1
assert parse_literal(str(pi)) == pi
assert parse_literal("null") is INVALID
assert parse_literal("None") is INVALID
assert parse_literal('""') is INVALID
assert parse_literal('"123"') is INVALID
assert parse_literal('"123.5"') is INVALID
assert parse_literal("false") is INVALID
assert parse_literal("False") is INVALID
assert parse_literal("[0.1]") is INVALID
assert parse_literal("{value: 0.1}") is INVALID
assert parse_literal("ENUM_VALUE") is INVALID
assert parse_literal("$var") is INVALID
def describe_graphql_string():
def parse_value():
parse_value = GraphQLString.parse_value
assert parse_value("foo") == "foo"
with raises(TypeError) as exc_info:
parse_value(INVALID)
assert (
str(exc_info.value)
== "String cannot represent a non string value: <INVALID>"
)
with raises(TypeError) as exc_info:
parse_value(None)
assert (
str(exc_info.value)
== "String cannot represent a non string value: None"
)
with raises(TypeError) as exc_info:
parse_value(1)
assert (
str(exc_info.value) == "String cannot represent a non string value: 1"
)
with raises(TypeError) as exc_info:
parse_value(nan)
assert (
str(exc_info.value) == "String cannot represent a non string value: nan"
)
with raises(TypeError) as exc_info:
parse_value(False)
assert (
str(exc_info.value)
== "String cannot represent a non string value: False"
)
with raises(TypeError) as exc_info:
parse_value(["foo"])
assert (
str(exc_info.value)
== "String cannot represent a non string value: ['foo']"
)
with raises(TypeError) as exc_info:
parse_value({"value": "foo"})
assert (
str(exc_info.value)
== "String cannot represent a non string value: {'value': 'foo'}"
)
def parse_literal():
def parse_literal(s):
return GraphQLString.parse_literal(parse_value_to_ast(s))
assert parse_literal('"foo"') == "foo"
assert parse_literal('"""bar"""') == "bar"
assert parse_literal("null") == INVALID
assert parse_literal("None") == INVALID
assert parse_literal("1") == INVALID
assert parse_literal("0.1") == INVALID
assert parse_literal("false") == INVALID
assert parse_literal("False") == INVALID
assert parse_literal('["foo"]') == INVALID
assert parse_literal('{value: "foo"}') == INVALID
assert parse_literal("ENUM_VALUE") == INVALID
assert parse_literal("$var") == INVALID
def describe_graphql_boolean():
def parse_value():
parse_value = GraphQLBoolean.parse_value
assert parse_value(True) is True
assert parse_value(False) is False
with raises(TypeError) as exc_info:
parse_value(INVALID)
assert (
str(exc_info.value)
== "Boolean cannot represent a non boolean value: <INVALID>"
)
with raises(TypeError) as exc_info:
parse_value(None)
assert (
str(exc_info.value)
== "Boolean cannot represent a non boolean value: None"
)
with raises(TypeError) as exc_info:
parse_value(0)
assert (
str(exc_info.value) == "Boolean cannot represent a non boolean value: 0"
)
with raises(TypeError) as exc_info:
parse_value(1)
assert (
str(exc_info.value) == "Boolean cannot represent a non boolean value: 1"
)
with raises(TypeError) as exc_info:
parse_value(nan)
assert (
str(exc_info.value)
== "Boolean cannot represent a non boolean value: nan"
)
with raises(TypeError) as exc_info:
parse_value("")
assert (
str(exc_info.value)
== "Boolean cannot represent a non boolean value: ''"
)
with raises(TypeError) as exc_info:
parse_value("false")
assert (
str(exc_info.value)
== "Boolean cannot represent a non boolean value: 'false'"
)
with raises(TypeError) as exc_info:
parse_value("False")
assert (
str(exc_info.value)
== "Boolean cannot represent a non boolean value: 'False'"
)
with raises(TypeError) as exc_info:
parse_value([False])
assert (
str(exc_info.value)
== "Boolean cannot represent a non boolean value: [False]"
)
with raises(TypeError) as exc_info:
parse_value({"value": False})
assert (
str(exc_info.value)
== "Boolean cannot represent a non boolean value: {'value': False}"
)
def parse_literal():
def parse_literal(s):
return GraphQLBoolean.parse_literal(parse_value_to_ast(s))
assert parse_literal("true") is True
assert parse_literal("false") is False
assert parse_literal("True") is INVALID
assert parse_literal("False") is INVALID
assert parse_literal("null") is INVALID
assert parse_literal("None") is INVALID
assert parse_literal("0") is INVALID
assert parse_literal("1") is INVALID
assert parse_literal("0.1") is INVALID
assert parse_literal('""') is INVALID
assert parse_literal('"false"') is INVALID
assert parse_literal('"False"') is INVALID
assert parse_literal("[false]") is INVALID
assert parse_literal("[False]") is INVALID
assert parse_literal("{value: false}") is INVALID
assert parse_literal("{value: False}") is INVALID
assert parse_literal("ENUM_VALUE") is INVALID
assert parse_literal("$var") is INVALID
def describe_graphql_id():
def parse_value():
parse_value = GraphQLID.parse_value
assert parse_value("") == ""
assert parse_value("1") == "1"
assert parse_value("foo") == "foo"
assert parse_value(1) == "1"
assert parse_value(0) == "0"
assert parse_value(-1) == "-1"
# Maximum and minimum safe numbers in JS
assert parse_value(9007199254740991) == "9007199254740991"
assert parse_value(-9007199254740991) == "-9007199254740991"
with raises(TypeError) as exc_info:
parse_value(INVALID)
assert str(exc_info.value) == "ID cannot represent value: <INVALID>"
with raises(TypeError) as exc_info:
parse_value(None)
assert str(exc_info.value) == "ID cannot represent value: None"
with raises(TypeError) as exc_info:
parse_value(0.1)
assert str(exc_info.value) == "ID cannot represent value: 0.1"
with raises(TypeError) as exc_info:
parse_value(nan)
assert str(exc_info.value) == "ID cannot represent value: nan"
with raises(TypeError) as exc_info:
parse_value(inf)
assert str(exc_info.value) == "ID cannot represent value: inf"
with raises(TypeError) as exc_info:
parse_value(False)
assert str(exc_info.value) == "ID cannot represent value: False"
with raises(TypeError) as exc_info:
parse_value(["1"])
assert str(exc_info.value) == "ID cannot represent value: ['1']"
with raises(TypeError) as exc_info:
parse_value({"value": "1"})
assert str(exc_info.value) == "ID cannot represent value: {'value': '1'}"
def parse_literal():
def parse_literal(s):
return GraphQLID.parse_literal(parse_value_to_ast(s))
assert parse_literal('""') == ""
assert parse_literal('"1"') == "1"
assert parse_literal('"foo"') == "foo"
assert parse_literal('"""foo"""') == "foo"
assert parse_literal("1") == "1"
assert parse_literal("0") == "0"
assert parse_literal("-1") == "-1"
# Support arbitrary long numbers even if they can't be represented in JS
assert parse_literal("90071992547409910") == "90071992547409910"
assert parse_literal("-90071992547409910") == "-90071992547409910"
assert parse_literal("null") is INVALID
assert parse_literal("None") is INVALID
assert parse_literal("0.1") is INVALID
assert parse_literal("false") is INVALID
assert parse_literal("False") is INVALID
assert parse_literal('["1"]') is INVALID
assert parse_literal('{value: "1"}') is INVALID
assert parse_literal("ENUM_VALUE") is INVALID
assert parse_literal("$var") is INVALID
| 40.679104
| 88
| 0.543876
| 1,776
| 16,353
| 4.833896
| 0.048423
| 0.126849
| 0.167734
| 0.157251
| 0.927432
| 0.870938
| 0.859988
| 0.859289
| 0.827839
| 0.786838
| 0
| 0.030945
| 0.361707
| 16,353
| 401
| 89
| 40.780549
| 0.791531
| 0.00746
| 0
| 0.520661
| 0
| 0
| 0.170765
| 0
| 0
| 0
| 0
| 0
| 0.402204
| 1
| 0.057851
| false
| 0
| 0.013774
| 0.013774
| 0.085399
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
e8d8b99aa4bebe4711fd7cc47081e3efb35a1178
| 25,979
|
py
|
Python
|
src/larksuiteoapi/service/im/v1/model.py
|
VXenomac/oapi-sdk-python
|
156b789b3d20653802f64842c9a26229dd9252d7
|
[
"Apache-2.0"
] | 50
|
2021-04-11T05:24:10.000Z
|
2022-03-29T10:14:13.000Z
|
src/larksuiteoapi/service/im/v1/model.py
|
larksuite/oapi-sdk-python
|
70fda5b1ccf765938bf207dff0117c0c03a93605
|
[
"Apache-2.0"
] | 20
|
2021-04-07T15:17:44.000Z
|
2022-03-23T06:27:12.000Z
|
src/larksuiteoapi/service/im/v1/model.py
|
VXenomac/oapi-sdk-python
|
156b789b3d20653802f64842c9a26229dd9252d7
|
[
"Apache-2.0"
] | 8
|
2021-04-25T15:02:17.000Z
|
2022-03-13T15:00:59.000Z
|
# -*- coding: UTF-8 -*-
# Code generated by lark suite oapi sdk gen
from typing import List, Dict, Any
from ....utils.dt import to_json_decorator
from ....event.model.event import *
import attr
@to_json_decorator
@attr.s
class Operator(object):
operator_id = attr.ib(type=str, default=None, metadata={'json': 'operator_id'})
operator_type = attr.ib(type=str, default=None, metadata={'json': 'operator_type'})
@to_json_decorator
@attr.s
class Emoji(object):
emoji_type = attr.ib(type=str, default=None, metadata={'json': 'emoji_type'})
@to_json_decorator
@attr.s
class MessageReaction(object):
__int_to_string_fields__ = attr.ib(type=List[str], default=["action_time"])
reaction_id = attr.ib(type=str, default=None, metadata={'json': 'reaction_id'})
operator = attr.ib(type=Operator, default=None, metadata={'json': 'operator'})
action_time = attr.ib(type=int, default=None, metadata={'json': 'action_time'})
reaction_type = attr.ib(type=Emoji, default=None, metadata={'json': 'reaction_type'})
@to_json_decorator
@attr.s
class Sender(object):
id = attr.ib(type=str, default=None, metadata={'json': 'id'})
id_type = attr.ib(type=str, default=None, metadata={'json': 'id_type'})
sender_type = attr.ib(type=str, default=None, metadata={'json': 'sender_type'})
tenant_key = attr.ib(type=str, default=None, metadata={'json': 'tenant_key'})
@to_json_decorator
@attr.s
class MessageBody(object):
content = attr.ib(type=str, default=None, metadata={'json': 'content'})
@to_json_decorator
@attr.s
class Mention(object):
key = attr.ib(type=str, default=None, metadata={'json': 'key'})
id = attr.ib(type=str, default=None, metadata={'json': 'id'})
id_type = attr.ib(type=str, default=None, metadata={'json': 'id_type'})
name = attr.ib(type=str, default=None, metadata={'json': 'name'})
tenant_key = attr.ib(type=str, default=None, metadata={'json': 'tenant_key'})
@to_json_decorator
@attr.s
class Message(object):
__int_to_string_fields__ = attr.ib(type=List[str], default=["create_time", "update_time"])
message_id = attr.ib(type=str, default=None, metadata={'json': 'message_id'})
root_id = attr.ib(type=str, default=None, metadata={'json': 'root_id'})
parent_id = attr.ib(type=str, default=None, metadata={'json': 'parent_id'})
msg_type = attr.ib(type=str, default=None, metadata={'json': 'msg_type'})
create_time = attr.ib(type=int, default=None, metadata={'json': 'create_time'})
update_time = attr.ib(type=int, default=None, metadata={'json': 'update_time'})
deleted = attr.ib(type=bool, default=None, metadata={'json': 'deleted'})
updated = attr.ib(type=bool, default=None, metadata={'json': 'updated'})
chat_id = attr.ib(type=str, default=None, metadata={'json': 'chat_id'})
sender = attr.ib(type=Sender, default=None, metadata={'json': 'sender'})
body = attr.ib(type=MessageBody, default=None, metadata={'json': 'body'})
mentions = attr.ib(type=List[Mention], default=None, metadata={'json': 'mentions'})
upper_message_id = attr.ib(type=str, default=None, metadata={'json': 'upper_message_id'})
@to_json_decorator
@attr.s
class I18nNames(object):
zh_cn = attr.ib(type=str, default=None, metadata={'json': 'zh_cn'})
en_us = attr.ib(type=str, default=None, metadata={'json': 'en_us'})
ja_jp = attr.ib(type=str, default=None, metadata={'json': 'ja_jp'})
@to_json_decorator
@attr.s
class Chat(object):
chat_id = attr.ib(type=str, default=None, metadata={'json': 'chat_id'})
avatar = attr.ib(type=str, default=None, metadata={'json': 'avatar'})
name = attr.ib(type=str, default=None, metadata={'json': 'name'})
description = attr.ib(type=str, default=None, metadata={'json': 'description'})
i18n_names = attr.ib(type=I18nNames, default=None, metadata={'json': 'i18n_names'})
only_owner_add = attr.ib(type=bool, default=None, metadata={'json': 'only_owner_add'})
share_allowed = attr.ib(type=bool, default=None, metadata={'json': 'share_allowed'})
only_owner_at_all = attr.ib(type=bool, default=None, metadata={'json': 'only_owner_at_all'})
only_owner_edit = attr.ib(type=bool, default=None, metadata={'json': 'only_owner_edit'})
owner_user_id = attr.ib(type=str, default=None, metadata={'json': 'owner_user_id'})
type = attr.ib(type=str, default=None, metadata={'json': 'type'})
@to_json_decorator
@attr.s
class UserId(object):
user_id = attr.ib(type=str, default=None, metadata={'json': 'user_id'})
open_id = attr.ib(type=str, default=None, metadata={'json': 'open_id'})
union_id = attr.ib(type=str, default=None, metadata={'json': 'union_id'})
@to_json_decorator
@attr.s
class MentionEvent(object):
key = attr.ib(type=str, default=None, metadata={'json': 'key'})
id = attr.ib(type=UserId, default=None, metadata={'json': 'id'})
name = attr.ib(type=str, default=None, metadata={'json': 'name'})
tenant_key = attr.ib(type=str, default=None, metadata={'json': 'tenant_key'})
@to_json_decorator
@attr.s
class EventMessage(object):
__int_to_string_fields__ = attr.ib(type=List[str], default=["create_time"])
message_id = attr.ib(type=str, default=None, metadata={'json': 'message_id'})
root_id = attr.ib(type=str, default=None, metadata={'json': 'root_id'})
parent_id = attr.ib(type=str, default=None, metadata={'json': 'parent_id'})
create_time = attr.ib(type=int, default=None, metadata={'json': 'create_time'})
chat_id = attr.ib(type=str, default=None, metadata={'json': 'chat_id'})
chat_type = attr.ib(type=str, default=None, metadata={'json': 'chat_type'})
message_type = attr.ib(type=str, default=None, metadata={'json': 'message_type'})
content = attr.ib(type=str, default=None, metadata={'json': 'content'})
mentions = attr.ib(type=List[MentionEvent], default=None, metadata={'json': 'mentions'})
@to_json_decorator
@attr.s
class ChatChange(object):
avatar = attr.ib(type=str, default=None, metadata={'json': 'avatar'})
name = attr.ib(type=str, default=None, metadata={'json': 'name'})
description = attr.ib(type=str, default=None, metadata={'json': 'description'})
i18n_names = attr.ib(type=I18nNames, default=None, metadata={'json': 'i18n_names'})
add_member_permission = attr.ib(type=str, default=None, metadata={'json': 'add_member_permission'})
share_card_permission = attr.ib(type=str, default=None, metadata={'json': 'share_card_permission'})
at_all_permission = attr.ib(type=str, default=None, metadata={'json': 'at_all_permission'})
edit_permission = attr.ib(type=str, default=None, metadata={'json': 'edit_permission'})
membership_approval = attr.ib(type=str, default=None, metadata={'json': 'membership_approval'})
join_message_visibility = attr.ib(type=str, default=None, metadata={'json': 'join_message_visibility'})
leave_message_visibility = attr.ib(type=str, default=None, metadata={'json': 'leave_message_visibility'})
moderation_permission = attr.ib(type=str, default=None, metadata={'json': 'moderation_permission'})
owner_id = attr.ib(type=UserId, default=None, metadata={'json': 'owner_id'})
@to_json_decorator
@attr.s
class ListEventModerator(object):
tenant_key = attr.ib(type=str, default=None, metadata={'json': 'tenant_key'})
user_id = attr.ib(type=UserId, default=None, metadata={'json': 'user_id'})
@to_json_decorator
@attr.s
class ModeratorList(object):
added_member_list = attr.ib(type=List[ListEventModerator], default=None, metadata={'json': 'added_member_list'})
removed_member_list = attr.ib(type=List[ListEventModerator], default=None, metadata={'json': 'removed_member_list'})
@to_json_decorator
@attr.s
class EventSender(object):
sender_id = attr.ib(type=UserId, default=None, metadata={'json': 'sender_id'})
sender_type = attr.ib(type=str, default=None, metadata={'json': 'sender_type'})
tenant_key = attr.ib(type=str, default=None, metadata={'json': 'tenant_key'})
@to_json_decorator
@attr.s
class EventMessageReader(object):
reader_id = attr.ib(type=UserId, default=None, metadata={'json': 'reader_id'})
read_time = attr.ib(type=str, default=None, metadata={'json': 'read_time'})
tenant_key = attr.ib(type=str, default=None, metadata={'json': 'tenant_key'})
@to_json_decorator
@attr.s
class ChatMemberUser(object):
name = attr.ib(type=str, default=None, metadata={'json': 'name'})
tenant_key = attr.ib(type=str, default=None, metadata={'json': 'tenant_key'})
user_id = attr.ib(type=UserId, default=None, metadata={'json': 'user_id'})
@to_json_decorator
@attr.s
class ChatMember(object):
user_id = attr.ib(type=str, default=None, metadata={'json': 'user_id'})
@to_json_decorator
@attr.s
class ChatMemberBot(object):
bot_id = attr.ib(type=str, default=None, metadata={'json': 'bot_id'})
@to_json_decorator
@attr.s
class ChatMembers(object):
user_id = attr.ib(type=str, default=None, metadata={'json': 'user_id'})
@to_json_decorator
@attr.s
class ListMember(object):
member_id_type = attr.ib(type=str, default=None, metadata={'json': 'member_id_type'})
member_id = attr.ib(type=str, default=None, metadata={'json': 'member_id'})
name = attr.ib(type=str, default=None, metadata={'json': 'name'})
tenant_key = attr.ib(type=str, default=None, metadata={'json': 'tenant_key'})
@to_json_decorator
@attr.s
class ListModerator(object):
user_id_type = attr.ib(type=str, default=None, metadata={'json': 'user_id_type'})
user_id = attr.ib(type=str, default=None, metadata={'json': 'user_id'})
tenant_key = attr.ib(type=str, default=None, metadata={'json': 'tenant_key'})
@to_json_decorator
@attr.s
class ReadUser(object):
user_id_type = attr.ib(type=str, default=None, metadata={'json': 'user_id_type'})
user_id = attr.ib(type=str, default=None, metadata={'json': 'user_id'})
timestamp = attr.ib(type=str, default=None, metadata={'json': 'timestamp'})
tenant_key = attr.ib(type=str, default=None, metadata={'json': 'tenant_key'})
@to_json_decorator
@attr.s
class UrgentReceivers(object):
user_id_list = attr.ib(type=List[str], default=None, metadata={'json': 'user_id_list'})
@to_json_decorator
@attr.s
class ChatManagers(object):
__int_to_string_fields__ = attr.ib(type=List[str], default=["manager_id"])
manager_id = attr.ib(type=int, default=None, metadata={'json': 'manager_id'})
@to_json_decorator
@attr.s
class ListChat(object):
chat_id = attr.ib(type=str, default=None, metadata={'json': 'chat_id'})
avatar = attr.ib(type=str, default=None, metadata={'json': 'avatar'})
name = attr.ib(type=str, default=None, metadata={'json': 'name'})
description = attr.ib(type=str, default=None, metadata={'json': 'description'})
owner_id = attr.ib(type=str, default=None, metadata={'json': 'owner_id'})
owner_id_type = attr.ib(type=str, default=None, metadata={'json': 'owner_id_type'})
external = attr.ib(type=bool, default=None, metadata={'json': 'external'})
tenant_key = attr.ib(type=str, default=None, metadata={'json': 'tenant_key'})
@to_json_decorator
@attr.s
class ChatUpdateReqBody(object):
avatar = attr.ib(type=str, default=None, metadata={'json': 'avatar'})
name = attr.ib(type=str, default=None, metadata={'json': 'name'})
description = attr.ib(type=str, default=None, metadata={'json': 'description'})
i18n_names = attr.ib(type=I18nNames, default=None, metadata={'json': 'i18n_names'})
add_member_permission = attr.ib(type=str, default=None, metadata={'json': 'add_member_permission'})
share_card_permission = attr.ib(type=str, default=None, metadata={'json': 'share_card_permission'})
at_all_permission = attr.ib(type=str, default=None, metadata={'json': 'at_all_permission'})
edit_permission = attr.ib(type=str, default=None, metadata={'json': 'edit_permission'})
owner_id = attr.ib(type=str, default=None, metadata={'json': 'owner_id'})
join_message_visibility = attr.ib(type=str, default=None, metadata={'json': 'join_message_visibility'})
leave_message_visibility = attr.ib(type=str, default=None, metadata={'json': 'leave_message_visibility'})
membership_approval = attr.ib(type=str, default=None, metadata={'json': 'membership_approval'})
@attr.s
class ChatListResult(object):
items = attr.ib(type=List[ListChat], default=None, metadata={'json': 'items'})
page_token = attr.ib(type=str, default=None, metadata={'json': 'page_token'})
has_more = attr.ib(type=bool, default=None, metadata={'json': 'has_more'})
@attr.s
class ChatGetResult(object):
avatar = attr.ib(type=str, default=None, metadata={'json': 'avatar'})
name = attr.ib(type=str, default=None, metadata={'json': 'name'})
description = attr.ib(type=str, default=None, metadata={'json': 'description'})
i18n_names = attr.ib(type=I18nNames, default=None, metadata={'json': 'i18n_names'})
add_member_permission = attr.ib(type=str, default=None, metadata={'json': 'add_member_permission'})
share_card_permission = attr.ib(type=str, default=None, metadata={'json': 'share_card_permission'})
at_all_permission = attr.ib(type=str, default=None, metadata={'json': 'at_all_permission'})
edit_permission = attr.ib(type=str, default=None, metadata={'json': 'edit_permission'})
owner_id_type = attr.ib(type=str, default=None, metadata={'json': 'owner_id_type'})
owner_id = attr.ib(type=str, default=None, metadata={'json': 'owner_id'})
chat_mode = attr.ib(type=str, default=None, metadata={'json': 'chat_mode'})
chat_type = attr.ib(type=str, default=None, metadata={'json': 'chat_type'})
chat_tag = attr.ib(type=str, default=None, metadata={'json': 'chat_tag'})
join_message_visibility = attr.ib(type=str, default=None, metadata={'json': 'join_message_visibility'})
leave_message_visibility = attr.ib(type=str, default=None, metadata={'json': 'leave_message_visibility'})
membership_approval = attr.ib(type=str, default=None, metadata={'json': 'membership_approval'})
moderation_permission = attr.ib(type=str, default=None, metadata={'json': 'moderation_permission'})
external = attr.ib(type=bool, default=None, metadata={'json': 'external'})
tenant_key = attr.ib(type=str, default=None, metadata={'json': 'tenant_key'})
@to_json_decorator
@attr.s
class ChatCreateReqBody(object):
avatar = attr.ib(type=str, default=None, metadata={'json': 'avatar'})
name = attr.ib(type=str, default=None, metadata={'json': 'name'})
description = attr.ib(type=str, default=None, metadata={'json': 'description'})
i18n_names = attr.ib(type=I18nNames, default=None, metadata={'json': 'i18n_names'})
owner_id = attr.ib(type=str, default=None, metadata={'json': 'owner_id'})
chat_mode = attr.ib(type=str, default=None, metadata={'json': 'chat_mode'})
chat_type = attr.ib(type=str, default=None, metadata={'json': 'chat_type'})
external = attr.ib(type=bool, default=None, metadata={'json': 'external'})
join_message_visibility = attr.ib(type=str, default=None, metadata={'json': 'join_message_visibility'})
leave_message_visibility = attr.ib(type=str, default=None, metadata={'json': 'leave_message_visibility'})
membership_approval = attr.ib(type=str, default=None, metadata={'json': 'membership_approval'})
@attr.s
class ChatCreateResult(object):
chat_id = attr.ib(type=str, default=None, metadata={'json': 'chat_id'})
avatar = attr.ib(type=str, default=None, metadata={'json': 'avatar'})
name = attr.ib(type=str, default=None, metadata={'json': 'name'})
description = attr.ib(type=str, default=None, metadata={'json': 'description'})
i18n_names = attr.ib(type=I18nNames, default=None, metadata={'json': 'i18n_names'})
owner_id = attr.ib(type=str, default=None, metadata={'json': 'owner_id'})
owner_id_type = attr.ib(type=str, default=None, metadata={'json': 'owner_id_type'})
add_member_permission = attr.ib(type=str, default=None, metadata={'json': 'add_member_permission'})
share_card_permission = attr.ib(type=str, default=None, metadata={'json': 'share_card_permission'})
at_all_permission = attr.ib(type=str, default=None, metadata={'json': 'at_all_permission'})
edit_permission = attr.ib(type=str, default=None, metadata={'json': 'edit_permission'})
chat_mode = attr.ib(type=str, default=None, metadata={'json': 'chat_mode'})
chat_type = attr.ib(type=str, default=None, metadata={'json': 'chat_type'})
chat_tag = attr.ib(type=str, default=None, metadata={'json': 'chat_tag'})
external = attr.ib(type=bool, default=None, metadata={'json': 'external'})
tenant_key = attr.ib(type=str, default=None, metadata={'json': 'tenant_key'})
join_message_visibility = attr.ib(type=str, default=None, metadata={'json': 'join_message_visibility'})
leave_message_visibility = attr.ib(type=str, default=None, metadata={'json': 'leave_message_visibility'})
membership_approval = attr.ib(type=str, default=None, metadata={'json': 'membership_approval'})
moderation_permission = attr.ib(type=str, default=None, metadata={'json': 'moderation_permission'})
@attr.s
class ChatSearchResult(object):
items = attr.ib(type=List[ListChat], default=None, metadata={'json': 'items'})
page_token = attr.ib(type=str, default=None, metadata={'json': 'page_token'})
has_more = attr.ib(type=bool, default=None, metadata={'json': 'has_more'})
@attr.s
class ChatAnnouncementGetResult(object):
content = attr.ib(type=str, default=None, metadata={'json': 'content'})
revision = attr.ib(type=str, default=None, metadata={'json': 'revision'})
create_time = attr.ib(type=str, default=None, metadata={'json': 'create_time'})
update_time = attr.ib(type=str, default=None, metadata={'json': 'update_time'})
owner_id_type = attr.ib(type=str, default=None, metadata={'json': 'owner_id_type'})
owner_id = attr.ib(type=str, default=None, metadata={'json': 'owner_id'})
modifier_id_type = attr.ib(type=str, default=None, metadata={'json': 'modifier_id_type'})
modifier_id = attr.ib(type=str, default=None, metadata={'json': 'modifier_id'})
@to_json_decorator
@attr.s
class ChatAnnouncementPatchReqBody(object):
revision = attr.ib(type=str, default=None, metadata={'json': 'revision'})
requests = attr.ib(type=List[str], default=None, metadata={'json': 'requests'})
@to_json_decorator
@attr.s
class ChatMembersCreateReqBody(object):
id_list = attr.ib(type=List[str], default=None, metadata={'json': 'id_list'})
@attr.s
class ChatMembersCreateResult(object):
invalid_id_list = attr.ib(type=List[str], default=None, metadata={'json': 'invalid_id_list'})
@to_json_decorator
@attr.s
class ChatMembersDeleteReqBody(object):
id_list = attr.ib(type=List[str], default=None, metadata={'json': 'id_list'})
@attr.s
class ChatMembersDeleteResult(object):
invalid_id_list = attr.ib(type=List[str], default=None, metadata={'json': 'invalid_id_list'})
@attr.s
class ChatMembersGetResult(object):
items = attr.ib(type=List[ListMember], default=None, metadata={'json': 'items'})
page_token = attr.ib(type=str, default=None, metadata={'json': 'page_token'})
has_more = attr.ib(type=bool, default=None, metadata={'json': 'has_more'})
member_total = attr.ib(type=int, default=None, metadata={'json': 'member_total'})
@attr.s
class ChatMembersIsInChatResult(object):
is_in_chat = attr.ib(type=bool, default=None, metadata={'json': 'is_in_chat'})
@attr.s
class FileCreateResult(object):
file_key = attr.ib(type=str, default=None, metadata={'json': 'file_key'})
@attr.s
class ImageCreateResult(object):
image_key = attr.ib(type=str, default=None, metadata={'json': 'image_key'})
@attr.s
class MessageListResult(object):
has_more = attr.ib(type=bool, default=None, metadata={'json': 'has_more'})
page_token = attr.ib(type=str, default=None, metadata={'json': 'page_token'})
items = attr.ib(type=List[Message], default=None, metadata={'json': 'items'})
@to_json_decorator
@attr.s
class MessagePatchReqBody(object):
content = attr.ib(type=str, default=None, metadata={'json': 'content'})
@to_json_decorator
@attr.s
class MessageReplyReqBody(object):
content = attr.ib(type=str, default=None, metadata={'json': 'content'})
msg_type = attr.ib(type=str, default=None, metadata={'json': 'msg_type'})
@to_json_decorator
@attr.s
class MessageCreateReqBody(object):
receive_id = attr.ib(type=str, default=None, metadata={'json': 'receive_id'})
content = attr.ib(type=str, default=None, metadata={'json': 'content'})
msg_type = attr.ib(type=str, default=None, metadata={'json': 'msg_type'})
@attr.s
class MessageReadUsersResult(object):
items = attr.ib(type=List[ReadUser], default=None, metadata={'json': 'items'})
has_more = attr.ib(type=bool, default=None, metadata={'json': 'has_more'})
page_token = attr.ib(type=str, default=None, metadata={'json': 'page_token'})
@attr.s
class MessageGetResult(object):
items = attr.ib(type=List[Message], default=None, metadata={'json': 'items'})
@attr.s
class ChatUpdatedEventData(object):
chat_id = attr.ib(type=str, default=None, metadata={'json': 'chat_id'})
operator_id = attr.ib(type=UserId, default=None, metadata={'json': 'operator_id'})
external = attr.ib(type=bool, default=None, metadata={'json': 'external'})
operator_tenant_key = attr.ib(type=str, default=None, metadata={'json': 'operator_tenant_key'})
after_change = attr.ib(type=ChatChange, default=None, metadata={'json': 'after_change'})
before_change = attr.ib(type=ChatChange, default=None, metadata={'json': 'before_change'})
moderator_list = attr.ib(type=ModeratorList, default=None, metadata={'json': 'moderator_list'})
@attr.s
class ChatUpdatedEvent(BaseEventV2):
event = attr.ib(type=ChatUpdatedEventData, default=None)
@attr.s
class ChatDisbandedEventData(object):
chat_id = attr.ib(type=str, default=None, metadata={'json': 'chat_id'})
operator_id = attr.ib(type=UserId, default=None, metadata={'json': 'operator_id'})
external = attr.ib(type=bool, default=None, metadata={'json': 'external'})
operator_tenant_key = attr.ib(type=str, default=None, metadata={'json': 'operator_tenant_key'})
@attr.s
class ChatDisbandedEvent(BaseEventV2):
event = attr.ib(type=ChatDisbandedEventData, default=None)
@attr.s
class ChatMemberBotAddedEventData(object):
chat_id = attr.ib(type=str, default=None, metadata={'json': 'chat_id'})
operator_id = attr.ib(type=UserId, default=None, metadata={'json': 'operator_id'})
external = attr.ib(type=bool, default=None, metadata={'json': 'external'})
operator_tenant_key = attr.ib(type=str, default=None, metadata={'json': 'operator_tenant_key'})
@attr.s
class ChatMemberBotAddedEvent(BaseEventV2):
event = attr.ib(type=ChatMemberBotAddedEventData, default=None)
@attr.s
class ChatMemberBotDeletedEventData(object):
chat_id = attr.ib(type=str, default=None, metadata={'json': 'chat_id'})
operator_id = attr.ib(type=UserId, default=None, metadata={'json': 'operator_id'})
external = attr.ib(type=bool, default=None, metadata={'json': 'external'})
operator_tenant_key = attr.ib(type=str, default=None, metadata={'json': 'operator_tenant_key'})
@attr.s
class ChatMemberBotDeletedEvent(BaseEventV2):
event = attr.ib(type=ChatMemberBotDeletedEventData, default=None)
@attr.s
class ChatMemberUserAddedEventData(object):
chat_id = attr.ib(type=str, default=None, metadata={'json': 'chat_id'})
operator_id = attr.ib(type=UserId, default=None, metadata={'json': 'operator_id'})
external = attr.ib(type=bool, default=None, metadata={'json': 'external'})
operator_tenant_key = attr.ib(type=str, default=None, metadata={'json': 'operator_tenant_key'})
users = attr.ib(type=List[ChatMemberUser], default=None, metadata={'json': 'users'})
@attr.s
class ChatMemberUserAddedEvent(BaseEventV2):
event = attr.ib(type=ChatMemberUserAddedEventData, default=None)
@attr.s
class ChatMemberUserWithdrawnEventData(object):
chat_id = attr.ib(type=str, default=None, metadata={'json': 'chat_id'})
operator_id = attr.ib(type=UserId, default=None, metadata={'json': 'operator_id'})
external = attr.ib(type=bool, default=None, metadata={'json': 'external'})
operator_tenant_key = attr.ib(type=str, default=None, metadata={'json': 'operator_tenant_key'})
users = attr.ib(type=List[ChatMemberUser], default=None, metadata={'json': 'users'})
@attr.s
class ChatMemberUserWithdrawnEvent(BaseEventV2):
event = attr.ib(type=ChatMemberUserWithdrawnEventData, default=None)
@attr.s
class ChatMemberUserDeletedEventData(object):
chat_id = attr.ib(type=str, default=None, metadata={'json': 'chat_id'})
operator_id = attr.ib(type=UserId, default=None, metadata={'json': 'operator_id'})
external = attr.ib(type=bool, default=None, metadata={'json': 'external'})
operator_tenant_key = attr.ib(type=str, default=None, metadata={'json': 'operator_tenant_key'})
users = attr.ib(type=List[ChatMemberUser], default=None, metadata={'json': 'users'})
@attr.s
class ChatMemberUserDeletedEvent(BaseEventV2):
event = attr.ib(type=ChatMemberUserDeletedEventData, default=None)
@attr.s
class MessageReceiveEventData(object):
sender = attr.ib(type=EventSender, default=None, metadata={'json': 'sender'})
message = attr.ib(type=EventMessage, default=None, metadata={'json': 'message'})
@attr.s
class MessageReceiveEvent(BaseEventV2):
event = attr.ib(type=MessageReceiveEventData, default=None)
@attr.s
class MessageMessageReadEventData(object):
reader = attr.ib(type=EventMessageReader, default=None, metadata={'json': 'reader'})
message_id_list = attr.ib(type=List[str], default=None, metadata={'json': 'message_id_list'})
@attr.s
class MessageMessageReadEvent(BaseEventV2):
event = attr.ib(type=MessageMessageReadEventData, default=None)
| 41.901613
| 120
| 0.706224
| 3,562
| 25,979
| 4.992701
| 0.051656
| 0.088731
| 0.147886
| 0.323324
| 0.853183
| 0.809098
| 0.797121
| 0.777834
| 0.754217
| 0.70406
| 0
| 0.002096
| 0.118557
| 25,979
| 619
| 121
| 41.969305
| 0.774532
| 0.002425
| 0
| 0.672018
| 1
| 0
| 0.142207
| 0.017983
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.009174
| 0
| 0.766055
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 9
|
2cd25ff21085cfbb8de0e60d3736233c4bb72185
| 40
|
py
|
Python
|
venv/Lib/site-packages/clyent/logs/colors/printer.py
|
GiovanniConserva/TestDeploy
|
7a8242df6fe996b1029497d2d87295d1531b6139
|
[
"BSD-3-Clause"
] | null | null | null |
venv/Lib/site-packages/clyent/logs/colors/printer.py
|
GiovanniConserva/TestDeploy
|
7a8242df6fe996b1029497d2d87295d1531b6139
|
[
"BSD-3-Clause"
] | null | null | null |
venv/Lib/site-packages/clyent/logs/colors/printer.py
|
GiovanniConserva/TestDeploy
|
7a8242df6fe996b1029497d2d87295d1531b6139
|
[
"BSD-3-Clause"
] | null | null | null |
from clyent.colors import print_colors
| 13.333333
| 38
| 0.85
| 6
| 40
| 5.5
| 0.833333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.125
| 40
| 2
| 39
| 20
| 0.942857
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 1
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 1
|
0
| 7
|
2cf5a19de74c4ce0cc7d00e2a45b5a3eafe5a7f5
| 9,272
|
py
|
Python
|
tests/test_main.py
|
davebeach/gif-for-cli
|
bba5a561ef50e0b85539211ab5ffc47c9c384b4b
|
[
"Apache-2.0"
] | 1
|
2019-02-18T00:41:28.000Z
|
2019-02-18T00:41:28.000Z
|
tests/test_main.py
|
fernandothx/gif-for-cli
|
2fc0b21caac498df69b7b158fe9c394e6dc97db7
|
[
"Apache-2.0"
] | null | null | null |
tests/test_main.py
|
fernandothx/gif-for-cli
|
2fc0b21caac498df69b7b158fe9c394e6dc97db7
|
[
"Apache-2.0"
] | 1
|
2018-07-15T18:21:34.000Z
|
2018-07-15T18:21:34.000Z
|
"""
Copyright 2018 Google LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
import io
import json
import unittest
from unittest.mock import mock_open, patch, MagicMock, Mock
from gif_for_cli.__main__ import execute
@patch('gif_for_cli.__main__.process_input_source')
@patch('gif_for_cli.__main__.os.makedirs')
@patch('gif_for_cli.__main__.generate')
@patch('gif_for_cli.__main__.display')
@patch('gif_for_cli.__main__.export')
class TestExecute(unittest.TestCase):
def test_new(self, mock_export, mock_display, mock_generate, mock_makedirs, mock_process_input_source):
mock_process_input_source.side_effect = lambda input_source, api_key: input_source
environ = {}
argv = []
stdout = io.StringIO()
input_source = ''
cols = 160
rows = 40
cell_width = 3
cell_height = 6
num_frames = 11
seconds = 1.1
with patch('gif_for_cli.__main__.open') as mocked_open:
mocked_open.return_value = io.StringIO(json.dumps({
'input_source': input_source,
'input_source_file': input_source,
'cols': cols,
'rows': rows,
'cell_width': cell_width,
'cell_height': cell_height,
'num_frames': num_frames,
'seconds': seconds,
}))
with patch('gif_for_cli.__main__.os.path.exists') as mock_exists:
mock_exists.return_value = False
execute(environ, argv, stdout)
self.assertEqual(mock_process_input_source.call_count, 1)
# for some reaosn, this intercepts some locale laoding
paths = sorted([
call[0][0]
for call in mock_exists.call_args_list[-6:]
])
self.assertTrue(paths[0].endswith(
'/d41d8cd98f00b204e9800998ecf8427e-160cols-40rows-cw3px-ch6px'
))
self.assertTrue(paths[1].endswith(
'/d41d8cd98f00b204e9800998ecf8427e-160cols-40rows-cw3px-ch6px/256'
))
self.assertTrue(paths[2].endswith(
'/d41d8cd98f00b204e9800998ecf8427e-160cols-40rows-cw3px-ch6px/256fgbg'
))
self.assertTrue(paths[3].endswith(
'/d41d8cd98f00b204e9800998ecf8427e-160cols-40rows-cw3px-ch6px/jpg'
))
self.assertTrue(paths[4].endswith(
'/d41d8cd98f00b204e9800998ecf8427e-160cols-40rows-cw3px-ch6px/nocolor'
))
self.assertTrue(paths[5].endswith(
'/d41d8cd98f00b204e9800998ecf8427e-160cols-40rows-cw3px-ch6px/truecolor'
))
self.assertEqual(mock_makedirs.call_count, 6)
self.assertEqual(mock_generate.call_count, 1)
self.assertEqual(mocked_open.call_count, 1)
self.assertEqual(mock_display.call_count, 1)
self.assertEqual(mock_export.call_count, 0)
def test_new_no_display(self, mock_export, mock_display, mock_generate, mock_makedirs, mock_process_input_source):
mock_process_input_source.side_effect = lambda input_source, api_key: input_source
environ = {}
argv = ['--no-display']
stdout = io.StringIO()
input_source = ''
cols = 160
rows = 40
cell_width = 3
cell_height = 6
num_frames = 11
seconds = 1.1
with patch('gif_for_cli.__main__.open') as mocked_open:
mocked_open.return_value = io.StringIO(json.dumps({
'input_source': input_source,
'input_source_file': input_source,
'cols': cols,
'rows': rows,
'cell_width': cell_width,
'cell_height': cell_height,
'num_frames': num_frames,
'seconds': seconds,
}))
with patch('gif_for_cli.__main__.os.path.exists') as mock_exists:
mock_exists.return_value = False
execute(environ, argv, stdout)
self.assertEqual(mock_process_input_source.call_count, 1)
# for some reaosn, this intercepts some locale laoding
paths = sorted([
call[0][0]
for call in mock_exists.call_args_list[-6:]
])
self.assertTrue(paths[0].endswith(
'/d41d8cd98f00b204e9800998ecf8427e-160cols-40rows-cw3px-ch6px'
))
self.assertTrue(paths[1].endswith(
'/d41d8cd98f00b204e9800998ecf8427e-160cols-40rows-cw3px-ch6px/256'
))
self.assertTrue(paths[2].endswith(
'/d41d8cd98f00b204e9800998ecf8427e-160cols-40rows-cw3px-ch6px/256fgbg'
))
self.assertTrue(paths[3].endswith(
'/d41d8cd98f00b204e9800998ecf8427e-160cols-40rows-cw3px-ch6px/jpg'
))
self.assertTrue(paths[4].endswith(
'/d41d8cd98f00b204e9800998ecf8427e-160cols-40rows-cw3px-ch6px/nocolor'
))
self.assertTrue(paths[5].endswith(
'/d41d8cd98f00b204e9800998ecf8427e-160cols-40rows-cw3px-ch6px/truecolor'
))
self.assertEqual(mock_makedirs.call_count, 6)
self.assertEqual(mock_generate.call_count, 1)
self.assertEqual(mocked_open.call_count, 1)
self.assertEqual(mock_display.call_count, 0)
self.assertEqual(mock_export.call_count, 0)
def test_cached(self, mock_export, mock_display, mock_generate, mock_makedirs, mock_process_input_source):
mock_process_input_source.side_effect = lambda input_source, api_key: input_source
environ = {}
argv = []
stdout = io.StringIO()
input_source = ''
cols = 160
rows = 40
cell_width = 3
cell_height = 6
num_frames = 11
seconds = 1.1
with patch('gif_for_cli.__main__.open') as mocked_open:
mocked_open.return_value = io.StringIO(json.dumps({
'input_source': input_source,
'input_source_file': input_source,
'cols': cols,
'rows': rows,
'cell_width': cell_width,
'cell_height': cell_height,
'num_frames': num_frames,
'seconds': seconds,
}))
with patch('gif_for_cli.__main__.os.path.exists') as mock_exists:
mock_exists.return_value = True
execute(environ, argv, stdout)
self.assertEqual(mock_process_input_source.call_count, 1)
# for some reaosn, this intercepts some locale laoding
paths = sorted([
call[0][0]
for call in mock_exists.call_args_list[-6:]
])
self.assertTrue(paths[0].endswith(
'/d41d8cd98f00b204e9800998ecf8427e-160cols-40rows-cw3px-ch6px'
))
self.assertEqual(mock_makedirs.call_count, 0)
self.assertEqual(mock_generate.call_count, 0)
self.assertEqual(mocked_open.call_count, 1)
self.assertEqual(mock_display.call_count, 1)
self.assertEqual(mock_display.call_args[1]['seconds_per_frame'], 0.1)
self.assertEqual(mock_export.call_count, 0)
def test_export(self, mock_export, mock_display, mock_generate, mock_makedirs, mock_process_input_source):
mock_process_input_source.side_effect = lambda input_source, api_key: input_source
environ = {}
argv = ['--export=foo.gif']
stdout = io.StringIO()
input_source = ''
cols = 160
rows = 40
cell_width = 3
cell_height = 6
num_frames = 11
seconds = 1.1
with patch('gif_for_cli.__main__.open') as mocked_open:
mocked_open.return_value = io.StringIO(json.dumps({
'input_source': input_source,
'input_source_file': input_source,
'cols': cols,
'rows': rows,
'cell_width': cell_width,
'cell_height': cell_height,
'num_frames': num_frames,
'seconds': seconds,
}))
with patch('gif_for_cli.__main__.os.path.exists') as mock_exists:
mock_exists.return_value = True
execute(environ, argv, stdout)
self.assertEqual(mock_process_input_source.call_count, 1)
# for some reaosn, this intercepts some locale laoding
paths = sorted([
call[0][0]
for call in mock_exists.call_args_list[-6:]
])
self.assertTrue(paths[0].endswith(
'/d41d8cd98f00b204e9800998ecf8427e-160cols-40rows-cw3px-ch6px'
))
self.assertEqual(mock_makedirs.call_count, 0)
self.assertEqual(mock_generate.call_count, 0)
self.assertEqual(mocked_open.call_count, 1)
self.assertEqual(mock_display.call_count, 0)
self.assertEqual(mock_export.call_count, 1)
| 37.088
| 118
| 0.625431
| 1,054
| 9,272
| 5.212524
| 0.145161
| 0.08209
| 0.072625
| 0.033127
| 0.871678
| 0.858573
| 0.854933
| 0.854933
| 0.85293
| 0.851474
| 0
| 0.076141
| 0.279012
| 9,272
| 249
| 119
| 37.236948
| 0.745699
| 0.082399
| 0
| 0.90404
| 0
| 0
| 0.194186
| 0.153584
| 0
| 0
| 0
| 0
| 0.19697
| 1
| 0.020202
| false
| 0
| 0.025253
| 0
| 0.050505
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
d73a4a025c51aee3e2659d40fafca5255782a2ef
| 72
|
py
|
Python
|
src/utils/__init__.py
|
boconlonton/xlswriter-sb
|
a79a45eea8508d1c3ff52d383fadeaf7f9cf83f8
|
[
"MIT"
] | null | null | null |
src/utils/__init__.py
|
boconlonton/xlswriter-sb
|
a79a45eea8508d1c3ff52d383fadeaf7f9cf83f8
|
[
"MIT"
] | null | null | null |
src/utils/__init__.py
|
boconlonton/xlswriter-sb
|
a79a45eea8508d1c3ff52d383fadeaf7f9cf83f8
|
[
"MIT"
] | null | null | null |
from src.utils.data_processing import *
from src.utils.helpers import *
| 24
| 39
| 0.805556
| 11
| 72
| 5.181818
| 0.636364
| 0.245614
| 0.421053
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.111111
| 72
| 2
| 40
| 36
| 0.890625
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
ad548ae5cc756797b15cc67981c7596112fabed9
| 12,523
|
py
|
Python
|
image/transform.py
|
coallaoh/ResearchTools
|
7239640c5de0285a5c5dcc5d1d0d5aaf554b3e93
|
[
"MIT"
] | 4
|
2017-11-03T19:05:51.000Z
|
2020-11-16T08:31:17.000Z
|
image/transform.py
|
coallaoh/ResearchTools
|
7239640c5de0285a5c5dcc5d1d0d5aaf554b3e93
|
[
"MIT"
] | null | null | null |
image/transform.py
|
coallaoh/ResearchTools
|
7239640c5de0285a5c5dcc5d1d0d5aaf554b3e93
|
[
"MIT"
] | 1
|
2018-07-19T07:09:27.000Z
|
2018-07-19T07:09:27.000Z
|
from pdb import set_trace as st
import numpy as np
from PIL import Image, ImageDraw
import matplotlib.pyplot as plt
from matplotlib.pyplot import imshow, show
from skimage.morphology import square, dilation, erosion
import time
import scipy
import cv2
np.random.seed(1574)
def dilate_polygon(poly, rate):
if isinstance(poly, list):
poly_np = np.array(poly).reshape((-1, 2))
else:
poly_np = poly.reshape((-1, 2))
X = poly_np[:, 0]
Y = poly_np[:, 1]
C_X = np.mean(X)
C_Y = np.mean(Y)
X_new = (X - C_X) * rate + C_X
Y_new = (Y - C_Y) * rate + C_Y
poly_new = np.hstack((X_new.reshape((-1, 1)), Y_new.reshape((-1, 1))))
return poly_new.reshape(-1).tolist()
def polygon_mask_on_image(img_obj, mask_poly, cat=None, where='FG', dilate_rate=1, all_instances=False):
if not mask_poly:
return img_obj
# img = Image.new('L', (width, height), 0)
img_pil = Image.fromarray(img_obj, mode=None)
# print ('WARNING: Only picking first class in the annotation for masking')
if cat is None:
n_obj = len(mask_poly)
success = False
while not success:
choice = np.random.choice(range(n_obj), size=1, replace=False)[0]
try:
seg = mask_poly[choice]['segmentation'][0] # pick the first instance
success = True
except:
awefjliajgaa = 1 + 1
else:
seg = []
for idx in range(len(mask_poly)):
if mask_poly[idx]['category_id'] == cat['id']:
if all_instances:
try:
seg.append(mask_poly[idx]['segmentation'][0])
except:
awefjliajgaa = 1 + 1
else:
seg = mask_poly[idx]['segmentation'][0] # pick only the first instance of the given category
break
if dilate_rate != 1:
if all_instances:
seg = [dilate_polygon(sg, dilate_rate) for sg in seg]
else:
seg = dilate_polygon(seg, dilate_rate)
# poly = np.array(seg) # .reshape((2,-1))
d = ImageDraw.Draw(img_pil)
if all_instances:
for sg in seg:
d.polygon(sg, outline=0, fill=0)
else:
d.polygon(seg, outline=0, fill=0)
mask = np.array(img_pil)
if where == 'FG':
return mask
elif where == 'BG':
return img_obj - mask
else:
raise Exception('choose either FG or BG mask')
def skimage_opencv_dilation(white_pixels, dilation_rate=1., USE_RESIZE_TRICK=False, opencv=False):
area = new_area = white_pixels.sum().astype(np.float)
new_white_pixels = white_pixels
target_area = target_area_ = (dilation_rate ** 2) * area
C = 1
TOL = 1
ITER = 0
start_time = time.time()
x1 = 1
x2 = 1 + int(np.sqrt(area) * np.abs(dilation_rate - 1) * C)
width = np.floor(float(x1 + x2) / 2).astype(np.int)
if dilation_rate > 1:
resize_trick = target_area > 5000 and USE_RESIZE_TRICK
resize_factor = np.sqrt(5000 / target_area)
else:
resize_trick = (area - target_area) > 1000 and USE_RESIZE_TRICK
resize_factor = np.sqrt(1000 / area)
if resize_trick:
im_size = white_pixels.shape
white_pixels = scipy.misc.imresize(white_pixels, resize_factor, interp='bilinear')
target_area *= resize_factor ** 2
x2 = 1 + int(np.sqrt(white_pixels.sum().astype(np.float)) * np.abs(dilation_rate - 1) * C)
width = np.floor(float(x1 + x2) / 2).astype(np.int)
if dilation_rate > 1:
while (x2 - x1 > TOL):
ITER += 1
if opencv:
new_white_pixels = cv2.dilate(white_pixels, square(width), iterations=1)
else:
new_white_pixels = dilation(white_pixels, square(width))
new_area = new_white_pixels.sum().astype(np.float)
if new_area > target_area:
x2 = width
else:
x1 = width
width = np.floor(float(x1 + x2) / 2).astype(np.int)
else:
while (x2 - x1 > TOL):
ITER += 1
if opencv:
new_white_pixels = cv2.erode(white_pixels, square(width), iterations=1)
else:
new_white_pixels = erosion(white_pixels, square(width))
new_area = new_white_pixels.sum().astype(np.float)
if new_area > target_area:
x1 = width
else:
x2 = width
width = np.floor(float(x1 + x2) / 2).astype(np.int)
if resize_trick:
new_white_pixels = scipy.misc.imresize(new_white_pixels, im_size, interp='bilinear')
new_area = new_white_pixels.sum().astype(np.float)
target_area = target_area_
end_time = time.time()
if False:
print (' =======================')
print (' Iterations: %d' % ITER)
print (' Resize trick? %d' % resize_trick)
print (' Time taken: %2.1f' % (end_time - start_time))
print (' Original area: %3.1f' % area)
print (' New area: %3.1f' % new_area)
print (' Ratio: %1.2f' % (float(new_area) / area))
print (' Target ratio: %1.2f' % (dilation_rate ** 2))
print (' ')
print (' Init: %d, %d' % (1, 1 + int(np.sqrt(area) * np.abs(dilation_rate - 1) * C)))
print (' Final: %d' % (width))
return new_white_pixels
def skimage_opencv_dilation_incremental(white_pixels, dilation_rate=1., USE_RESIZE_TRICK=False, opencv=False):
area = new_area = previous_area = white_pixels.sum().astype(np.float)
new_white_pixels = previous_white_pixels = white_pixels
target_area = (dilation_rate ** 2) * area
ITER = 0
# if target_area-area>50000:
# width = 100
# elif target_area-area>10000:
# width = 20
# else:
width = 3
start_time = time.time()
if dilation_rate > 1:
while (new_area < target_area and ITER < 1000):
previous_area = new_area
previous_white_pixels = new_white_pixels
ITER += 1
if opencv:
new_white_pixels = cv2.dilate(new_white_pixels, square(width), iterations=1)
else:
new_white_pixels = dilation(new_white_pixels, square(width))
new_area = new_white_pixels.sum().astype(np.float)
else:
while (new_area > target_area and ITER < 1000):
previous_area = new_area
previous_white_pixels = new_white_pixels
ITER += 1
if opencv:
new_white_pixels = cv2.erode(new_white_pixels, square(width), iterations=1)
else:
new_white_pixels = erosion(new_white_pixels, square(width))
new_area = new_white_pixels.sum().astype(np.float)
if np.abs(target_area - previous_area) < np.abs(target_area - new_area):
new_white_pixels = previous_white_pixels
new_area = previous_area
end_time = time.time()
if False:
print (' =======================')
print (' Iterations: %d' % ITER)
print (' Time taken: %2.1f' % (end_time - start_time))
print (' Original area: %3.1f' % area)
print (' New area: %3.1f' % new_area)
print (' Ratio: %1.2f' % (float(new_area) / area))
print (' Target ratio: %1.2f' % (dilation_rate ** 2))
print (' ')
return new_white_pixels
def polygon_mask_on_image_skimage(im, mask_poly, cat=None, where='FG', dilate_rate=1, all_instances=False):
if not mask_poly:
return im
# print ('WARNING: Only picking first class in the annotation for masking')
if cat is None:
n_obj = len(mask_poly)
success = False
while not success:
choice = np.random.choice(range(n_obj), size=1, replace=False)[0]
try:
seg = mask_poly[choice]['segmentation'][0] # pick the first instance
success = True
except:
awefjliajgaa = 1 + 1
else:
seg = []
for idx in range(len(mask_poly)):
if mask_poly[idx]['category_id'] == cat['id']:
if all_instances:
try:
seg.append(mask_poly[idx]['segmentation'][0])
except:
awefjliajgaa = 1 + 1
else:
seg = mask_poly[idx]['segmentation'][0] # pick only the first instance of the given category
break
if all_instances:
dilated_mask = np.zeros(im.shape[:2], dtype=np.uint8)
for sg in seg:
shadow = np.ones(im.shape[:2], dtype=np.uint8)
shadow_pil = Image.fromarray(shadow, mode=None)
d = ImageDraw.Draw(shadow_pil)
d.polygon(sg, outline=0, fill=0)
shadow_mask = np.array(shadow_pil)
dilated_mask_ = skimage_opencv_dilation(1 - shadow_mask, dilate_rate)
dilated_mask = dilated_mask + dilated_mask_
dilated_mask = np.minimum(dilated_mask, 1)
else:
shadow = np.ones(im.shape[:2], dtype=np.uint8)
shadow_pil = Image.fromarray(shadow, mode=None)
d = ImageDraw.Draw(shadow_pil)
d.polygon(seg, outline=0, fill=0)
seg = dilate_polygon(seg, dilate_rate)
shadow_mask = np.array(shadow_pil)
dilated_mask = skimage_opencv_dilation(1 - shadow_mask, dilate_rate)
if where == 'FG':
return np.multiply(np.dstack([1 - dilated_mask] * 3), im)
elif where == 'BG':
return np.multiply(np.dstack([dilated_mask] * 3), im)
else:
raise Exception('choose either FG or BG mask')
def polygon_mask_on_image_opencv(im, mask_poly, cat=None, where='FG', dilate_rate=1, all_instances=False,
incremental=False):
if not mask_poly:
return im
# print ('WARNING: Only picking first class in the annotation for masking')
if cat is None:
n_obj = len(mask_poly)
success = False
while not success:
choice = np.random.choice(range(n_obj), size=1, replace=False)[0]
try:
seg = mask_poly[choice]['segmentation'][0] # pick the first instance
success = True
except:
awefjliajgaa = 1 + 1
else:
seg = []
for idx in range(len(mask_poly)):
if mask_poly[idx]['category_id'] == cat['id']:
if all_instances:
try:
seg.append(mask_poly[idx]['segmentation'][0])
except:
awefjliajgaa = 1 + 1
else:
seg = mask_poly[idx]['segmentation'][0] # pick only the first instance of the given category
break
if all_instances:
dilated_mask = np.zeros(im.shape[:2], dtype=np.uint8)
for sg in seg:
shadow = np.ones(im.shape[:2], dtype=np.uint8)
shadow_pil = Image.fromarray(shadow, mode=None)
d = ImageDraw.Draw(shadow_pil)
d.polygon(sg, outline=0, fill=0)
shadow_mask = np.array(shadow_pil)
if incremental:
dilated_mask_ = skimage_opencv_dilation_incremental(1 - shadow_mask, dilate_rate, opencv=True)
else:
dilated_mask_ = skimage_opencv_dilation(1 - shadow_mask, dilate_rate, opencv=True)
dilated_mask = dilated_mask + dilated_mask_
dilated_mask = np.minimum(dilated_mask, 1)
else:
shadow = np.ones(im.shape[:2], dtype=np.uint8)
shadow_pil = Image.fromarray(shadow, mode=None)
d = ImageDraw.Draw(shadow_pil)
d.polygon(seg, outline=0, fill=0)
seg = dilate_polygon(seg, dilate_rate)
shadow_mask = np.array(shadow_pil)
if incremental:
dilated_mask = skimage_opencv_dilation_incremental(1 - shadow_mask, dilate_rate, opencv=True)
else:
dilated_mask = skimage_opencv_dilation(1 - shadow_mask, dilate_rate, opencv=True)
if where == 'FG':
return np.multiply(np.dstack([1 - dilated_mask] * 3), im)
elif where == 'BG':
return np.multiply(np.dstack([dilated_mask] * 3), im)
else:
raise Exception('choose either FG or BG mask')
| 37.270833
| 113
| 0.565919
| 1,601
| 12,523
| 4.226109
| 0.106184
| 0.071534
| 0.053798
| 0.023648
| 0.807272
| 0.778451
| 0.749778
| 0.742832
| 0.732486
| 0.723766
| 0
| 0.024152
| 0.322207
| 12,523
| 335
| 114
| 37.38209
| 0.772974
| 0.049509
| 0
| 0.719858
| 0
| 0
| 0.061843
| 0.00387
| 0
| 0
| 0
| 0
| 0
| 1
| 0.021277
| false
| 0
| 0.031915
| 0
| 0.095745
| 0.067376
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
ad710d0f0e7b20c2cc65591ba07e64dc8eb264ed
| 162,577
|
py
|
Python
|
HW2/cse519_hw2_Li_Yao_112715069.py
|
yaoli27/CSE519-Data-Science-Fundamentals
|
151e9697a7d68d29c0671cb4656bc82e293381c3
|
[
"MIT"
] | null | null | null |
HW2/cse519_hw2_Li_Yao_112715069.py
|
yaoli27/CSE519-Data-Science-Fundamentals
|
151e9697a7d68d29c0671cb4656bc82e293381c3
|
[
"MIT"
] | null | null | null |
HW2/cse519_hw2_Li_Yao_112715069.py
|
yaoli27/CSE519-Data-Science-Fundamentals
|
151e9697a7d68d29c0671cb4656bc82e293381c3
|
[
"MIT"
] | null | null | null |
# -*- coding: utf-8 -*-
"""2.ipynb
Automatically generated by Colaboratory.
Original file is located at
https://colab.research.google.com/drive/1ikDOD0cu2vezwwd-D6PBK4an84FzT2CL
# Homework 2 - Predict Future Sales
For all parts below, answer all parts as shown in the Google document for Homework 2. Be sure to include both code that justifies your answer as well as text to answer the questions. Show runtime results for each cell. We also ask that code be commented to make it easier to follow.
## Part 1 - Data Cleaning and Merging
"""
# TODO: code for data cleaning and merging
"""Write your answer here"""
# Commented out IPython magic to ensure Python compatibility.
import numpy as np
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
# %matplotlib inline
from google.colab import drive
drive.mount('/content/gdrive')
cd '/content/gdrive/My Drive/519/HW2'
# load data
items=pd.read_csv("items.csv")
shops=pd.read_csv("shops.csv")
item_categories=pd.read_csv("item_categories.csv")
train=pd.read_csv("sales_train.csv")
test=pd.read_csv("test.csv")
train.head()
# drop duplicates
subset = ['date','date_block_num','shop_id','item_id','item_cnt_day']
print(train.duplicated(subset=subset).value_counts())
train.drop_duplicates(subset=subset, inplace=True)
print("shape of train:",train.shape)
# merge data
train= pd.merge(train,items,on='item_id',how='left')
train= pd.merge(train,item_categories,on='item_category_id',how='left')
train= pd.merge(train,shops,on='shop_id',how='left')
train.head()
perc =[.20, .40, .60, .80,.95,.999]
with pd.option_context('float_format', '{:.2f}'.format):
print(train.describe(percentiles = perc).item_price)
train['item_price'].sort_values().tail(5)
""">item_price:
>1. Take the max price value as an outlier.<br />
>2. min item_price = -1, replace it with median.
"""
# replace median for price= -1
train[train['item_price']==-1]
price_check = train[(train['item_id']==2973) & (train['shop_id']==32)] # filter
price_check = price_check[price_check['item_price'] > 0 ] # get all records for price>0
train.loc[train['item_price']==-1,'item_price']= price_check['item_price'].median() # replace with median
# delete outliers of item_price
train = train.loc[train['item_price']<100000]
with pd.option_context('float_format', '{:.2f}'.format):
print(train.describe(percentiles = perc).item_price)
# delete refund items
train = train.loc[train['item_cnt_day']>0]
with pd.option_context('float_format', '{:.2f}'.format):
print(train.describe(percentiles = perc).item_cnt_day)
#check null values
null_values = train.isnull().values.any()
null_values
train.head()
"""## Part 2 - Time Series Analysis"""
# TODO: code for time series analysis
"""Write your answer here"""
import datetime
train["date"] = pd.to_datetime(train["date"]).dt.strftime('%d/%m/%Y')
train.head()
# insert 'weekday', 'month', 'year' column
train.insert(1,"weekday",pd.to_datetime(train["date"]).dt.strftime('%A'))
month = []
for date in train['date'].values:
d,m,y = date.split("/")
month.append(m)
train.insert(2,"month",month)
train['year'] = (train['date_block_num'] // 12 ) + 2013
train.head()
# add 'revenue' column
train['revenue'] = train.item_price * train.item_cnt_day
train.head()
days = [ 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday']
mons = [ '01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12']
weekday_sale=train.groupby('weekday')['item_cnt_day'].sum()
weekday_sale.index=days
weekday_sale.plot(kind='bar')
plt.title("Sales by weekday", size=14)
plt.xticks(rotation=45)
plt.ylabel('Sales')
plt.show()
train.groupby('month')['revenue'].sum().plot(kind='bar')
plt.title("Revenue by month", size=14)
plt.xticks(rotation=0)
plt.ylabel('Revenue')
plt.show()
sns.pointplot(x='month', y='revenue', hue='year', data=train, estimator=np.sum)
print("total counts in 2013:",train[train['year']==2013].shape)
print("total counts in 2014:",train[train['year']==2014].shape)
print("total counts in 2015:",train[train['year']==2015].shape)
""">Explain: <br/>
>1. For weekdays, items are sold more on weekends, and less on workdays. People tend to shop when they are resting at home.
>2. For months, monthly revenue are higher in the 4th season, especially in December. Maybe because there are more holidays like Christmas so that there are more discounts.
>3. We can see that records in 2015 is extremly less than those in 2013 and 2014, and that's why the revenue in 2015 sharply decreased.
## Part 3 - More Time Series Analysis
"""
# TODO: code for time series analysis
"""Write your answer here"""
pip install googletrans
from googletrans import Translator
translator = Translator()
item_categories['item_category_name'] = item_categories['item_category_name'].apply(translator.translate, src='ru', dest='en').apply(getattr, args=('text',))
item_categories.head()
# replace with the translated column
train.drop(['item_category_name'],axis=1,inplace=True)
train= pd.merge(train,item_categories,on='item_category_id',how='left')
train.head()
train1 = copy.deepcopy(train)
"""###Interested Category: Game consoles <br/>"""
PS4 = train.loc[train['item_category_name']=='Game consoles - PS4']
PS4.groupby('month')['item_cnt_day'].sum().reindex(mons).plot(kind='bar')
plt.title("PS4 sales ", size=14)
plt.xticks(rotation=0)
plt.ylabel('Sales')
plt.show()
Xbox1 = train.loc[train['item_category_name']=='Game consoles - XBOX ONE']
Xbox1.groupby('month')['item_cnt_day'].sum().reindex(mons).plot(kind='bar')
plt.title("XBOX ONE sales ", size=14)
plt.xticks(rotation=0)
plt.ylabel('Sales')
plt.show()
PS4 = train.loc[train['item_category_name']=='Game consoles - PS4']
PS4.groupby('date_block_num')['item_cnt_day'].sum().plot(kind='bar')
plt.title("PS4 sales ", size=14)
plt.xticks(rotation=0)
plt.ylabel('Sales')
plt.show()
Xbox1 = train.loc[train['item_category_name']=='Game consoles - XBOX ONE']
Xbox1.groupby('date_block_num')['item_cnt_day'].sum().plot(kind='bar')
plt.title("XBOX ONE sales ", size=14)
plt.xticks(rotation=0)
plt.ylabel('Sales')
plt.show()
"""> During 2013-2015, Sony and Microsoft released their newest game consoles: <br/>
* PS4 was released in 2013.10
* Xbox One was released in 2014.9
From the plot we can see that here are indeed sales peaks during during this time. <br/>Also we can see the Chirstmas brings sales peak.
###Item categories with most sales
"""
train.groupby('item_category_name')['item_cnt_day'].sum().nlargest(3).plot(kind='bar')
plt.title("Categories with most sales ", size=14)
plt.xticks(rotation=30)
plt.ylabel('Sales')
plt.show()
movie = train.loc[train['item_category_name']=='Movie - DVD']
movie.groupby('month')['item_cnt_day'].sum().reindex(mons).plot(kind='bar')
plt.title("Movies' sales by month", size=14)
plt.xticks(rotation=0)
plt.ylabel('Amount of Sales')
plt.show()
PCgames = train.loc[train['item_category_name']=='PC Games - Standard Editions']
PCgames.groupby('month')['item_cnt_day'].sum().reindex(mons).plot(kind='bar')
plt.title("PC games' sales by month", size=14)
plt.xticks(rotation=0)
plt.ylabel('Amount of Sales')
plt.show()
music = train.loc[train['item_category_name']=='Music - locally produced CD']
music.groupby('month')['item_cnt_day'].sum().reindex(mons).plot(kind='bar')
plt.title("music-locally produced CD's sales by month", size=14)
plt.xticks(rotation=0)
plt.ylabel('Amount of Sales')
plt.show()
""">Item categories with most sales are: Movie(DVD), PCgames(standard editions), Music(loccally produced CD) <br/>
>All of them have roughly even distribution over the 12 months. So they are not affected much by the holidays.
###Shops with most revenue are: shop #31, #25, #28<br/>
"""
train.groupby('shop_id')['revenue'].sum().nlargest(3).plot(kind='bar')
plt.title("Shops with most revenue ", size=14)
plt.xticks(rotation=0)
plt.ylabel('Revenue')
plt.show()
fig = plt.figure()
#plt.subplot(1,3,1)
shop31 = train.loc[train['shop_id']==31]
shop31.groupby('month')['revenue'].sum().reindex(mons).plot()
plt.title("shop31's revenue by month", size=14)
plt.xticks(rotation=0)
plt.ylabel('Revenue')
plt.show()
#plt.subplot(1,3, 2)
shop25 = train.loc[train['shop_id']==25]
shop25.groupby('month')['revenue'].sum().reindex(mons).plot()
plt.title("shop25's revenue by month", size=14)
plt.xticks(rotation=0)
plt.ylabel('Revenue')
plt.show()
#plt.subplot(1,3,3)
shop28 = train.loc[train['shop_id']==28]
shop28.groupby('month')['revenue'].sum().reindex(mons).plot()
plt.title("shop28's revenue by month", size=14)
plt.xticks(rotation=0)
plt.ylabel('Revenue')
plt.show()
""">The highest revenue are around 2.5-3+e7 in December, while the lowset revenue are around 1.2+e7. The revenue raised a lot in December because of the Christmas, but other time are evenly distributed.
## Part 4 - Analyze Price Change
"""
# drop shops & items not in test data
test_shops = test.shop_id.unique()
test_items = test.item_id.unique()
train = train[train.shop_id.isin(test_shops)]
train = train[train.item_id.isin(test_items)]
train2 = copy.deepcopy(train)
print('train:', train.shape)
last_price=train.groupby(['date_block_num','shop_id','item_id'])[['item_price']].mean().reset_index().rename(columns={'item_price':'last_price'})
last_price.date_block_num=last_price.date_block_num+1
train01=train.merge(last_price,on=['shop_id','item_id','date_block_num'])
train01.head()
train1 = copy.deepcopy(train)
train01['price_change']=train01['item_price']/train01['last_price']-1
train01.head(2)
train01=train01.dropna()
price_change=train01.groupby(['date_block_num','shop_id','item_id'])[['price_change']].mean().reset_index()
price_change.head()
sale_num=train01.groupby(['date_block_num','shop_id','item_id'])[['item_cnt_day']].sum().reset_index()
"""###Assume that the price change will affect the sales in a month's time:"""
# for i in range(1,13):
sale_num.date_block_num=sale_num.date_block_num-1
merge_df=price_change.merge(sale_num,on=['date_block_num','shop_id','item_id'])
corr=merge_df.groupby('date_block_num').apply(lambda x:x[['price_change','item_cnt_day']].corr().iloc[0,1])
corr.plot()
"""We can see that, the next month's sales do not have linear relations with the price change. Thus the price change does not affect sales much.
### Plots for the items that have the most price change:
"""
# Commented out IPython magic to ensure Python compatibility.
item_check = train1
item_check['date'] =pd.to_datetime(item_check.date)
item_check['price_change']=0
def groupfunc(group):
if group['shop_id'].count()>1: # only for those have multiple sale records
group.sort_values(['date'],inplace=True)
initial_price = group['item_price'].head(1)
group['price_change'] = group['item_price'].apply(lambda x:x-initial_price)
return group
# %prun item_check = item_check.groupby(['shop_id','item_id']).apply(groupfunc)
check0 = copy.deepcopy(item_check)
item_check = item_check.sort_values(by=['price_change'])
with pd.option_context('float_format', '{:.2f}'.format):
print(item_check.describe(percentiles = perc).price_change)
price_decrese_max = item_check.tail(2)
price_decrese_max
item2 = item_check[(item_check['item_id']==11365) & (item_check['shop_id']==12)]
ax1 = item2.groupby('date_block_num')['item_price'].mean().plot(secondary_y=True,marker = 'o',color='orange')
ax2 = item2.groupby('date_block_num')['item_cnt_day'].sum().plot(kind='bar')
ax2.set_title("Price Change of item#11365", size=14)
ax1.set_ylabel("Price")
ax2.set_ylabel('Count')
plt.show()
""">Item with the most price change does not have strong relation to its sales.
## Part 5 - Analyze Item Release Time
"""
# TODO: code to analyze time since item is released
"""Write your answer here"""
subet_date = train[['date','shop_id','item_id']]
df = subet_date.groupby(['item_id','shop_id']).min().reset_index().rename(columns={"date":"date_min_same"})
df_merge = pd.merge(df,df,on='item_id')
df.head()
df_other_shop = df_merge[df_merge['shop_id_x']!=df_merge['shop_id_y']]
df_other_shop = df_other_shop[['item_id','shop_id_x','date_min_same_y']]
df_date_other = df_other_shop.groupby(['item_id','shop_id_x']).min().reset_index()
df_date_other.columns =['item_id','shop_id','date_min_other']
df_release_date = pd.merge(df,df_date_other, on = ['item_id','shop_id'],how = 'left')
df_release_date
days_diff = pd.merge(train,df_release_date,on=['item_id','shop_id']).dropna()
days_diff.head()
days_diff['date'] =pd.to_datetime(days_diff.date)
days_diff['date_min_same'] =pd.to_datetime(days_diff.date_min_same)
days_diff['date_min_other'] =pd.to_datetime(days_diff.date_min_other)
days_diff['days_selfshop'] = days_diff['date'] - days_diff['date_min_same']
days_diff['days_othershop'] = days_diff['date'] - days_diff['date_min_other']
days_diff.tail()
diff = days_diff[['item_cnt_day','days_selfshop','days_othershop']]
diff['days_selfshop'] = diff['days_selfshop'].dt.days
diff['days_othershop'] = diff['days_othershop'].dt.days
diff = diff[(diff['days_selfshop']>0) & (diff['days_othershop']>0)]
diff.tail(10)
sns.scatterplot(x='days_selfshop', y='item_cnt_day', data=diff)
sns.scatterplot(x='days_othershop', y='item_cnt_day', data=diff)
"""> There is no strong relation betwen the days period and item counts.
## Part 6 - Interesting Plot
"""
# TODO: code to generate the plot here.
sns.pointplot(x='date_block_num', y='item_cnt_day', hue='year', data=PS4,estimator=np.sum)
sns.pointplot(x='date_block_num', y='item_cnt_day', hue='year', data=Xbox1,estimator=np.sum)
"""> Both PS4 and Xbox have a low amount sales after their released time, while only got higher on holidays. Thus for game consoles, the good sales record may not last very long."""
item_categories['item_category_type'] = item_categories['item_category_name'].str.split('-').map(lambda x: x[0])
item_categories['item_category_sub_type'] = item_categories['item_category_name'].str.split('-').map(lambda x: x[1].strip() if len(x) > 1 else x[0].strip())
item_categories.head()
train= pd.merge(train,item_categories,on='item_category_id',how='left')
train.head()
# Exploring data by category
cat_items = train.groupby(['month', 'item_category_type'])[['item_cnt_day']].sum().reset_index()
cat_pivot = cat_items.pivot(index='month', columns='item_category_type', values='item_cnt_day').fillna(0)
# Draw heatmap
corr = cat_pivot.corr()
sns.heatmap(corr, center=0, cmap='RdYlGn')
"""* From the heat map we can see taht movies, music, PC games, cinema are all positively correlated. They could all be considered as ways of entertainment.
* Another interesting finding is that I assume that PC game will have high relation with Andorid games. But they are not. Since they are all belong to game category, this seems a little strange. <br/>
Maybe it's because the target platform of these two(PC and Android phones) are different.People are likely to play different kinds of games on these two platforms.
## Part 7 - Prediction Model
"""
from sklearn.preprocessing import LabelEncoder
from itertools import product
from xgboost import XGBRegressor
from xgboost import plot_importance
# load data
items=pd.read_csv("items.csv")
shops=pd.read_csv("shops.csv")
item_categories=pd.read_csv("item_categories.csv")
train=pd.read_csv("sales_train.csv")
test=pd.read_csv("test.csv")
train = train[(train.item_price < 100000 )& (train.item_price > 0)& (train.item_cnt_day < 1000)]
train.loc[train.item_cnt_day < 1, "item_cnt_day"] = 0
translator = Translator()
item_categories['item_category_name'] = item_categories['item_category_name'].apply(translator.translate, src='ru', dest='en').apply(getattr, args=('text',))
#possess the shop data
train.loc[train.shop_id == 0, 'shop_id'] = 57
test.loc[test.shop_id == 0, 'shop_id'] = 57
train.loc[train.shop_id == 1, 'shop_id'] = 58
test.loc[test.shop_id == 1, 'shop_id'] = 58
train.loc[train.shop_id == 10, 'shop_id'] = 11
test.loc[test.shop_id == 10, 'shop_id'] = 11
shops["city"] = shops.shop_name.str.split(" ").map( lambda x: x[0] )
shops["category"] = shops.shop_name.str.split(" ").map( lambda x: x[1] )
shops.head()
#Encoding the shop cats so that they can be presented as numbers.
shops["shop_category"] = LabelEncoder().fit_transform( shops.category )
shops["shop_city"] = LabelEncoder().fit_transform( shops.city )
shops = shops[["shop_id", "shop_category", "shop_city"]]
shops.head()
# process the item_cat data
item_categories['item_category_type'] = item_categories['item_category_name'].str.split('-').map(lambda x: x[0])
item_categories['item_category_sub_type'] = item_categories['item_category_name'].str.split('-').map(lambda x: x[1].strip() if len(x) > 1 else x[0].strip())
item_categories.head()
item_categories['item_category_type_code'] = LabelEncoder().fit_transform(item_categories['item_category_type'])
item_categories['item_category_sub_type_code'] = LabelEncoder().fit_transform(item_categories['item_category_sub_type'])
item_categories = item_categories[['item_category_id','item_category_type_code','item_category_sub_type_code']]
item_categories.head()
matrix = []
#train=train1
cols = ['date_block_num','shop_id','item_id']
for i in range(34):
sales = train[train.date_block_num==i]
matrix.append(np.array(list(product([i], sales.shop_id.unique(), sales.item_id.unique())), dtype='int16'))
matrix = pd.DataFrame(np.vstack(matrix), columns=cols)
matrix['date_block_num'] = matrix['date_block_num'].astype(np.int8)
matrix.sort_values(cols,inplace=True)
group = train.groupby(['date_block_num','shop_id','item_id']).agg({'item_cnt_day': ['sum']})
group.columns = ['item_cnt_month']
group.reset_index(inplace=True)
matrix = pd.merge(matrix, group, on=cols, how='left')
matrix['item_cnt_month'] = (matrix['item_cnt_month']
.fillna(0)
.clip(0,20)
.astype(np.float16))
matrix.head()
# predict date should be the 34th month
test['date_block_num'] = 34
matrix = pd.concat([matrix, test], ignore_index=True, sort=False, keys=cols)
matrix.fillna(0, inplace=True) # 34 month
matrix = pd.merge(matrix, shops, on=['shop_id'], how='left')
matrix = pd.merge(matrix, items, on=['item_id'], how='left')
matrix = pd.merge(matrix, item_categories, on=['item_category_id'], how='left')
matrix.drop(['item_name'], axis=1, inplace=True)
matrix.drop(['ID'], axis=1, inplace=True)
matrix.head()
#prepare the model
data = matrix
X_train = data[data.date_block_num < 33].drop(['item_cnt_month'], axis=1)
Y_train = data[data.date_block_num < 33]['item_cnt_month']
X_valid = data[data.date_block_num == 33].drop(['item_cnt_month'], axis=1)
Y_valid = data[data.date_block_num == 33]['item_cnt_month']
X_test = data[data.date_block_num == 34].drop(['item_cnt_month'], axis=1)
model = XGBRegressor(
max_depth=8,
n_estimators=1000,
min_child_weight=300,
colsample_bytree=0.8,
subsample=0.8,
eta=0.3,
seed=42)
model.fit(
X_train,
Y_train,
eval_metric="rmse",
eval_set=[(X_train, Y_train), (X_valid, Y_valid)],
verbose=True,
early_stopping_rounds = 1)
Y_pred = model.predict(X_valid).clip(0, 20)
Y_test = model.predict(X_test).clip(0, 20)
submission = pd.DataFrame({
"ID": test.index,
"item_cnt_month": Y_test
})
submission.to_csv('submission.csv', index=False)
"""I use the XGBRegressor model to do the prediction, and has rmse=1.06.
## Part 8 - Final Result
Report the rank, score, number of entries, for your highest rank. Include a snapshot of your best score on the leaderboard as confirmation. Be sure to provide a link to your Kaggle profile. Make sure to include a screenshot of your ranking. Make sure your profile includes your face and affiliation with SBU.
Kaggle Link: https://www.kaggle.com/haruka03
Highest Rank: 4977
Score: 1.09659
Number of entries: 1


"""
| 277.435154
| 96,188
| 0.938571
| 7,336
| 162,577
| 20.725872
| 0.619275
| 0.001697
| 0.002289
| 0.002907
| 0.0396
| 0.03203
| 0.02859
| 0.026394
| 0.024651
| 0.021092
| 0
| 0.13284
| 0.013458
| 162,577
| 586
| 96,189
| 277.435154
| 0.815137
| 0.006871
| 0
| 0.298413
| 1
| 0
| 0.24232
| 0.011233
| 0
| 1
| 0
| 0.010239
| 0
| 0
| null | null | 0
| 0.034921
| null | null | 0.031746
| 0
| 0
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 1
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
ad881118a1be2ac96334a79797c62db464e40419
| 6,821
|
py
|
Python
|
loldib/getratings/models/NA/na_renekton/na_renekton_mid.py
|
koliupy/loldib
|
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
|
[
"Apache-2.0"
] | null | null | null |
loldib/getratings/models/NA/na_renekton/na_renekton_mid.py
|
koliupy/loldib
|
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
|
[
"Apache-2.0"
] | null | null | null |
loldib/getratings/models/NA/na_renekton/na_renekton_mid.py
|
koliupy/loldib
|
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
|
[
"Apache-2.0"
] | null | null | null |
from getratings.models.ratings import Ratings
class NA_Renekton_Mid_Aatrox(Ratings):
pass
class NA_Renekton_Mid_Ahri(Ratings):
pass
class NA_Renekton_Mid_Akali(Ratings):
pass
class NA_Renekton_Mid_Alistar(Ratings):
pass
class NA_Renekton_Mid_Amumu(Ratings):
pass
class NA_Renekton_Mid_Anivia(Ratings):
pass
class NA_Renekton_Mid_Annie(Ratings):
pass
class NA_Renekton_Mid_Ashe(Ratings):
pass
class NA_Renekton_Mid_AurelionSol(Ratings):
pass
class NA_Renekton_Mid_Azir(Ratings):
pass
class NA_Renekton_Mid_Bard(Ratings):
pass
class NA_Renekton_Mid_Blitzcrank(Ratings):
pass
class NA_Renekton_Mid_Brand(Ratings):
pass
class NA_Renekton_Mid_Braum(Ratings):
pass
class NA_Renekton_Mid_Caitlyn(Ratings):
pass
class NA_Renekton_Mid_Camille(Ratings):
pass
class NA_Renekton_Mid_Cassiopeia(Ratings):
pass
class NA_Renekton_Mid_Chogath(Ratings):
pass
class NA_Renekton_Mid_Corki(Ratings):
pass
class NA_Renekton_Mid_Darius(Ratings):
pass
class NA_Renekton_Mid_Diana(Ratings):
pass
class NA_Renekton_Mid_Draven(Ratings):
pass
class NA_Renekton_Mid_DrMundo(Ratings):
pass
class NA_Renekton_Mid_Ekko(Ratings):
pass
class NA_Renekton_Mid_Elise(Ratings):
pass
class NA_Renekton_Mid_Evelynn(Ratings):
pass
class NA_Renekton_Mid_Ezreal(Ratings):
pass
class NA_Renekton_Mid_Fiddlesticks(Ratings):
pass
class NA_Renekton_Mid_Fiora(Ratings):
pass
class NA_Renekton_Mid_Fizz(Ratings):
pass
class NA_Renekton_Mid_Galio(Ratings):
pass
class NA_Renekton_Mid_Gangplank(Ratings):
pass
class NA_Renekton_Mid_Garen(Ratings):
pass
class NA_Renekton_Mid_Gnar(Ratings):
pass
class NA_Renekton_Mid_Gragas(Ratings):
pass
class NA_Renekton_Mid_Graves(Ratings):
pass
class NA_Renekton_Mid_Hecarim(Ratings):
pass
class NA_Renekton_Mid_Heimerdinger(Ratings):
pass
class NA_Renekton_Mid_Illaoi(Ratings):
pass
class NA_Renekton_Mid_Irelia(Ratings):
pass
class NA_Renekton_Mid_Ivern(Ratings):
pass
class NA_Renekton_Mid_Janna(Ratings):
pass
class NA_Renekton_Mid_JarvanIV(Ratings):
pass
class NA_Renekton_Mid_Jax(Ratings):
pass
class NA_Renekton_Mid_Jayce(Ratings):
pass
class NA_Renekton_Mid_Jhin(Ratings):
pass
class NA_Renekton_Mid_Jinx(Ratings):
pass
class NA_Renekton_Mid_Kalista(Ratings):
pass
class NA_Renekton_Mid_Karma(Ratings):
pass
class NA_Renekton_Mid_Karthus(Ratings):
pass
class NA_Renekton_Mid_Kassadin(Ratings):
pass
class NA_Renekton_Mid_Katarina(Ratings):
pass
class NA_Renekton_Mid_Kayle(Ratings):
pass
class NA_Renekton_Mid_Kayn(Ratings):
pass
class NA_Renekton_Mid_Kennen(Ratings):
pass
class NA_Renekton_Mid_Khazix(Ratings):
pass
class NA_Renekton_Mid_Kindred(Ratings):
pass
class NA_Renekton_Mid_Kled(Ratings):
pass
class NA_Renekton_Mid_KogMaw(Ratings):
pass
class NA_Renekton_Mid_Leblanc(Ratings):
pass
class NA_Renekton_Mid_LeeSin(Ratings):
pass
class NA_Renekton_Mid_Leona(Ratings):
pass
class NA_Renekton_Mid_Lissandra(Ratings):
pass
class NA_Renekton_Mid_Lucian(Ratings):
pass
class NA_Renekton_Mid_Lulu(Ratings):
pass
class NA_Renekton_Mid_Lux(Ratings):
pass
class NA_Renekton_Mid_Malphite(Ratings):
pass
class NA_Renekton_Mid_Malzahar(Ratings):
pass
class NA_Renekton_Mid_Maokai(Ratings):
pass
class NA_Renekton_Mid_MasterYi(Ratings):
pass
class NA_Renekton_Mid_MissFortune(Ratings):
pass
class NA_Renekton_Mid_MonkeyKing(Ratings):
pass
class NA_Renekton_Mid_Mordekaiser(Ratings):
pass
class NA_Renekton_Mid_Morgana(Ratings):
pass
class NA_Renekton_Mid_Nami(Ratings):
pass
class NA_Renekton_Mid_Nasus(Ratings):
pass
class NA_Renekton_Mid_Nautilus(Ratings):
pass
class NA_Renekton_Mid_Nidalee(Ratings):
pass
class NA_Renekton_Mid_Nocturne(Ratings):
pass
class NA_Renekton_Mid_Nunu(Ratings):
pass
class NA_Renekton_Mid_Olaf(Ratings):
pass
class NA_Renekton_Mid_Orianna(Ratings):
pass
class NA_Renekton_Mid_Ornn(Ratings):
pass
class NA_Renekton_Mid_Pantheon(Ratings):
pass
class NA_Renekton_Mid_Poppy(Ratings):
pass
class NA_Renekton_Mid_Quinn(Ratings):
pass
class NA_Renekton_Mid_Rakan(Ratings):
pass
class NA_Renekton_Mid_Rammus(Ratings):
pass
class NA_Renekton_Mid_RekSai(Ratings):
pass
class NA_Renekton_Mid_Renekton(Ratings):
pass
class NA_Renekton_Mid_Rengar(Ratings):
pass
class NA_Renekton_Mid_Riven(Ratings):
pass
class NA_Renekton_Mid_Rumble(Ratings):
pass
class NA_Renekton_Mid_Ryze(Ratings):
pass
class NA_Renekton_Mid_Sejuani(Ratings):
pass
class NA_Renekton_Mid_Shaco(Ratings):
pass
class NA_Renekton_Mid_Shen(Ratings):
pass
class NA_Renekton_Mid_Shyvana(Ratings):
pass
class NA_Renekton_Mid_Singed(Ratings):
pass
class NA_Renekton_Mid_Sion(Ratings):
pass
class NA_Renekton_Mid_Sivir(Ratings):
pass
class NA_Renekton_Mid_Skarner(Ratings):
pass
class NA_Renekton_Mid_Sona(Ratings):
pass
class NA_Renekton_Mid_Soraka(Ratings):
pass
class NA_Renekton_Mid_Swain(Ratings):
pass
class NA_Renekton_Mid_Syndra(Ratings):
pass
class NA_Renekton_Mid_TahmKench(Ratings):
pass
class NA_Renekton_Mid_Taliyah(Ratings):
pass
class NA_Renekton_Mid_Talon(Ratings):
pass
class NA_Renekton_Mid_Taric(Ratings):
pass
class NA_Renekton_Mid_Teemo(Ratings):
pass
class NA_Renekton_Mid_Thresh(Ratings):
pass
class NA_Renekton_Mid_Tristana(Ratings):
pass
class NA_Renekton_Mid_Trundle(Ratings):
pass
class NA_Renekton_Mid_Tryndamere(Ratings):
pass
class NA_Renekton_Mid_TwistedFate(Ratings):
pass
class NA_Renekton_Mid_Twitch(Ratings):
pass
class NA_Renekton_Mid_Udyr(Ratings):
pass
class NA_Renekton_Mid_Urgot(Ratings):
pass
class NA_Renekton_Mid_Varus(Ratings):
pass
class NA_Renekton_Mid_Vayne(Ratings):
pass
class NA_Renekton_Mid_Veigar(Ratings):
pass
class NA_Renekton_Mid_Velkoz(Ratings):
pass
class NA_Renekton_Mid_Vi(Ratings):
pass
class NA_Renekton_Mid_Viktor(Ratings):
pass
class NA_Renekton_Mid_Vladimir(Ratings):
pass
class NA_Renekton_Mid_Volibear(Ratings):
pass
class NA_Renekton_Mid_Warwick(Ratings):
pass
class NA_Renekton_Mid_Xayah(Ratings):
pass
class NA_Renekton_Mid_Xerath(Ratings):
pass
class NA_Renekton_Mid_XinZhao(Ratings):
pass
class NA_Renekton_Mid_Yasuo(Ratings):
pass
class NA_Renekton_Mid_Yorick(Ratings):
pass
class NA_Renekton_Mid_Zac(Ratings):
pass
class NA_Renekton_Mid_Zed(Ratings):
pass
class NA_Renekton_Mid_Ziggs(Ratings):
pass
class NA_Renekton_Mid_Zilean(Ratings):
pass
class NA_Renekton_Mid_Zyra(Ratings):
pass
| 16.357314
| 46
| 0.776133
| 972
| 6,821
| 5.020576
| 0.151235
| 0.197951
| 0.42418
| 0.509016
| 0.814139
| 0.814139
| 0
| 0
| 0
| 0
| 0
| 0
| 0.162879
| 6,821
| 416
| 47
| 16.396635
| 0.854641
| 0
| 0
| 0.498195
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.498195
| 0.00361
| 0
| 0.501805
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 1
| 0
|
0
| 7
|
ad9169fddca9113ffc88bc99a46733ccbad02d69
| 62,605
|
py
|
Python
|
testixm.py
|
linshenping/Python27
|
d33ef0d68ff651ae51b456bce4f22bc7421b62b3
|
[
"bzip2-1.0.6"
] | null | null | null |
testixm.py
|
linshenping/Python27
|
d33ef0d68ff651ae51b456bce4f22bc7421b62b3
|
[
"bzip2-1.0.6"
] | null | null | null |
testixm.py
|
linshenping/Python27
|
d33ef0d68ff651ae51b456bce4f22bc7421b62b3
|
[
"bzip2-1.0.6"
] | null | null | null |
# -*- coding: utf-8 -*-
import requests
import urllib3
import json
import unittest
import os
import sys
import time
reload(sys)
sys.setdefaultencoding('utf8')
class GetIxmApiCrossProvinceTest(unittest.TestCase):
def setUp(self):
self.url = "https://ylbz.ixm.gov.cn/xmyb/api/gafe/rest"
# 获取access_token
def test_get_access_token(self):
print '#########获取access_token用例执行############'
# 入参
date = {
"funid": "N03.00.05.11",
"data": {
"app_type": "0",
"appid": "xmggfw"
},
"appid": "xmggfw"
}
r = requests.post(url=self.url, json=date)
print r.text
datas = json.loads(r.text.encode('utf-8')).get('data')
print('datas{0}:'.format(datas))
access_token = datas.get('access_token')
print 'access_token:{0}'.format(access_token)
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
expires_time = datas.get('expires_in')
print 'expires_time:{0}'.format(expires_time)
refresh_token = datas.get('refresh_token')
print 'refresh_token:{0}'.format(refresh_token)
self.assertEqual(flags, u'1')
# 获取参保人信息jiekou
def test_get_insured_information(self):
print '##########获取参保人信息用例执行############'
#获取accsess_token
date_token = {
"funid": "N03.00.05.11",
"data": {
"app_type": "0",
"appid": "xmggfw"
},
"appid": "xmggfw"
}
r = requests.post(url=self.url, json=date_token)
access_token = r.json()['data']['access_token']
print 'access_token:{0}'.format(access_token)
#请求参保人信息
date = {
"funid": "N06.00.01.02",
"data": {
"access_token": access_token,
"uid": "350823199311161020"
},
"access_token": access_token
}
r = requests.post(url=self.url, json=date)
print r.text
cause = json.loads(r.text).get('cause')
print('cause: {0}'.format(cause))
flags = json.loads(r.text).get('flag')
print 'flags: {0}'.format(flags)
self.assertEqual(flags, u'1')
# 机构信息查询
def test_institutional_information_inquiry(self):
print '##########机构信息查询用例执行############'
date = {
"funid": "N07.03.00.21",
"data": {
"aab299": "210600"
}
}
r = requests.post(url=self.url, json=date)
print r.text
cause = json.loads(r.text).get('cause')
print('cause: {0}'.format(cause))
flags = json.loads(r.text).get('flag')
print 'flags: {0}'.format(flags)
self.assertEqual(flags, u'1')
# 跨省异地备案列表查询(机构)
def test_inter_provincial_record_mechanism_list(self):
print '##########跨省异地备案列表查询(机构)用例执行############'
date = {
"funid": "N07.03.00.16",
"data": {
"social_credit_code": "91350200MA31GUTX75",
"page": "1",
"rows": "10"
}
}
r = requests.post(url=self.url, json=date)
print r.text
cause = json.loads(r.text).get('cause')
print('cause: {0}'.format(cause))
flags = json.loads(r.text).get('flag')
print 'flags: {0}'.format(flags)
self.assertEqual(flags, u'1')
'''
# 跨省异地备案申请
def test_inter_provincial_filing_application(self):
print '########跨省异地备案申请用例执行############'
date = {
"funid": "N07.03.00.17",
"data": {
"uid":"350603199510110019",
"record_type":"2",
"record_city":"210600",
"effect_date":"2019-08-05",
"contact_person":"林小延",
"contact_phone":"18650347652",
"contact_addr":"快乐快乐",
"hospitals":"丹东市公安医院",
"medicals":"国大药房",
"org_codes":"2106001000002",
"apply_channel":"01"
}
}
r = requests.post(url=self.url, json=date)
print r.text
cause = json.loads(r.text).get('cause')
print('cause: {0}'.format(cause))
flags = json.loads(r.text).get('flag')
print 'flags: {0}'.format(flags)
self.assertEqual(flags, u'1')
'''
# 2.4.1 跨省异地备案列表查询(个人)
def test_inter_provincial_record_personal_list(self):
print '##############跨省异地备案列表查询(个人)用例执行##############'
date = {
"funid": "N07.03.00.16",
"data": {
"uid": "350603199510110019",
"page": "1",
"rows": "10"
}
}
r = requests.post(url=self.url, json=date)
print r.text
cause = json.loads(r.text).get('cause')
print('cause: {0}'.format(cause))
id = r.json()['data']['rows'][0]['id']
print 'id是: {0}'.format(id)
flags = json.loads(r.text).get('flag')
print 'flags: {0}'.format(flags)
self.assertEqual(flags, u'1')
'''
# 跨省异地备案撤销
def test_inter_provincial_filing_cancel(self):
print '##########跨省异地备案撤销用例执行############'
# 查询最新的id是多少
date_id = {
"funid": "N07.03.00.16",
"data": {
"uid": "350603199510110019",
"page": "1",
"rows": "10"
}
}
r = requests.post(url=self.url, json=date_id)
id = r.json()['data']['rows'][0]['id']
print 'id是: {0}'.format(id)
# api请求
date = {
"funid": "N07.03.00.18",
"data": {
"id": id
}
}
r = requests.post(url=self.url, json=date)
print r.text
cause = json.loads(r.text).get('cause')
print('cause: {0}'.format(cause))
flags = json.loads(r.text).get('flag')
print 'flags: {0}'.format(flags)
self.assertEqual(flags, u'1')
# 跨省异地备案截止(数据目前没办法构造)
def test_inter_provincial_filing_cutoff(self):
print '##########跨省异地备案截止用例执行############'
date = {
"funid": "N07.03.00.19",
"data": {
"id": "194190"
}
}
r = requests.post(url=self.url, json=date)
print r.text
cause = json.loads(r.text).get('cause')
print('cause: {0}'.format(cause))
flags = json.loads(r.text).get('flag')
print 'flags: {0}'.format(flags)
self.assertEqual(flags, u'1')
'''
# 跨省异地备案前置校验
def test_inter_provincial_filing_check(self):
print '##########跨省异地备案前置校验用例执行############'
date = {
"funid": "N07.03.00.20",
"data": {
"uid": "350603199510110019"
}
}
r = requests.post(url=self.url, json=date)
print r.text
cause = json.loads(r.text).get('cause')
print('cause: {0}'.format(cause))
flags = json.loads(r.text).get('flag')
print 'flags: {0}'.format(flags)
self.assertEqual(flags, u'1')
# 模糊查找本单位人员姓名jiekou
def test_fuzzy_search(self):
print '##########模糊查找本单位人员姓名用例执行############'
date = {
"funid": "N07.03.00.23",
"data": {
"social_credit_code": "91350200MA31GUTX75",
"name": "王"
}
}
r = requests.post(url=self.url, json=date)
print r.text
cause = json.loads(r.text).get('cause')
print('cause: {0}'.format(cause))
flags = json.loads(r.text).get('flag')
print 'flags: {0}'.format(flags)
self.assertEqual(flags, u'1')
class GetIxmApiFixOrganizationTest(unittest.TestCase):
def setUp(self):
self.url = "https://ylbz.ixm.gov.cn/xmyb/api/gafe/rest"
# 查询定点机构信息
def test_query_fixed_point_organization_informationh(self):
print '##########查询定点机构信息用例执行############'
date = {
"funid": "N07.07.00.01",
"data": {
"social_credit_code": "913502030511743851",
"batch": ""
}
}
r = requests.post(url=self.url, json=date)
print r.text
cause = json.loads(r.text).get('cause')
print('cause: {0}'.format(cause))
flags = json.loads(r.text).get('flag')
print 'flags: {0}'.format(flags)
self.assertEqual(flags, u'1')
# 定点机构信息新增
def test_query_fixed_point_organization_new(self):
print '##########定点机构信息新增用例执行############'
date = {
"funid": "N07.07.00.02",
"data": {
"apply_type": "01",
"org_id": "*",
"org_name": "TEST-linsp厦门最美信息科技有限公司",
"network_area": "350203",
"network_addr": "厦门市思明区海翼大厦厦禾路666",
"key_project": "0",
"key_project_file_no": "",
"key_project_file_name": "",
"contacts": "linsp-test",
"contacts_certificate_type": "10",
"contacts_certificate_no": "1234567890",
"contacts_phone": "22222222222",
"org_grade": "9",
"org_type": "51",
"ownership": "0",
"operate_nature": "01",
"license_key": "222222",
"license_key_begin_date": "20190318",
"certificate_no": "334343",
"certificate_no_begin_date": "20190322",
"social_credit_code": "913502030511743851",
"business_license": "*",
"is_org": "0",
"one_apply_date": "",
"one_apply_addr": "",
"second_apply_date": "",
"second_apply_adddr": "",
"legal_person": "1",
"legal_person_certificate_type": "10",
"legal_person_certificate_no": "2222",
"legal_person_phone": "23232323",
"area": "100",
"actual_area": "100",
"building_begin_date": "201901",
"building_end_date": "201907",
"range": "厦门禹州大学城",
"main_range": "口腔",
"bed_num": "2",
"is_punish": "0",
"punish_office": "",
"punish_date": "",
"is_accident": "0",
"doctor_num": "5",
"senior_num": "1",
"intermediate_num": "2",
"technician_num": "1",
"charge_num": "1",
"apply_channel": "02",
"street": "厦禾路666",
"manage_begin_date": "20190128",
"longitude": "118.23122",
"latitude": "24.64738"
}
}
r = requests.post(url=self.url, json=date)
print r.text
cause = json.loads(r.text).get('cause')
print('cause: {0}'.format(cause))
flags = json.loads(r.text).get('flag')
print 'flags: {0}'.format(flags)
self.assertEqual(flags, u'1')
# 定点机构信息修改
def test_query_fixed_point_organization_update(self):
print '##########定点机构信息修改用例执行############'
# 查询获取serial_no和batch参数
date_serial = {
"funid": "N07.07.00.01",
"data": {
"social_credit_code": "913502030511743851",
"batch": ""
}
}
r = requests.post(url=self.url, json=date_serial)
serial_no = r.json()['data'][0]['serial_no']
print ('serial_no: {0}').format(serial_no)
batch = r.json()['data'][0]['batch']
print ('serial_no: {0}').format(batch)
# api请求
date = {
"funid": "N07.07.00.03",
"data": {
"serial_no": serial_no,
"batch": batch,
"apply_type": "01",
"org_id": "*",
"org_name": "TEST-厦门最美信息科技有限公司",
"network_area": "350203",
"network_addr": "厦门市思明区海翼大厦厦禾路666",
"key_project": "0",
"key_project_file_no": "",
"key_project_file_name": "",
"contacts": "linsp-test",
"contacts_certificate_type": "10",
"contacts_certificate_no": "1234567890",
"contacts_phone": "22222222222",
"org_grade": "9",
"org_type": "51",
"ownership": "0",
"operate_nature": "01",
"license_key": "222222",
"license_key_begin_date": "20190318",
"certificate_no": "334343",
"certificate_no_begin_date": "20190322",
"social_credit_code": "913502030511743851",
"business_license": "*",
"is_org": "0",
"one_apply_date": "",
"one_apply_addr": "",
"second_apply_date": "",
"second_apply_adddr": "",
"legal_person": "1",
"legal_person_certificate_type": "10",
"legal_person_certificate_no": "2222",
"legal_person_phone": "23232323",
"area": "100",
"actual_area": "100",
"building_begin_date": "201901",
"building_end_date": "201907",
"range": "厦门禹州大学城",
"main_range": "口腔",
"bed_num": "2",
"is_punish": "0",
"punish_office": "",
"punish_date": "",
"is_accident": "0",
"doctor_num": "5",
"senior_num": "1",
"intermediate_num": "2",
"technician_num": "1",
"charge_num": "1",
"apply_channel": "02",
"street": "厦禾路666",
"manage_begin_date": "20190128",
"longitude": "118.23122",
"latitude": "24.64738"
}
}
r = requests.post(url=self.url, json=date)
print r.text
cause = json.loads(r.text).get('cause')
print('cause: {0}'.format(cause))
flags = json.loads(r.text).get('flag')
print 'flags: {0}'.format(flags)
self.assertEqual(flags, u'1')
# 机构定点申请数据撤销
def test_query_fixed_point_organization_cancle(self):
print '##########机构定点申请数据撤销用例执行############'
# 查询获取serial_no参数
date_serial = {
"funid": "N07.07.00.01",
"data": {
"social_credit_code": "913502030511743851",
"batch": ""
}
}
r = requests.post(url=self.url, json=date_serial)
serial_no = r.json()['data'][0]['serial_no']
print ('serial_no: {0}').format(serial_no)
# api请求
date = {
"funid": "N07.07.00.04",
"data": {
"serial_no": serial_no
}
}
r = requests.post(url=self.url, json=date)
print r.text
cause = json.loads(r.text).get('cause')
print('cause: {0}'.format(cause))
flags = json.loads(r.text).get('flag')
print 'flags: {0}'.format(flags)
self.assertEqual(flags, u'1')
# 机构定点申请医师信息维护
def test_query_fixed_point_doctor_information_add(self):
print '##########机构定点申请医师信息维护(新增)用例执行############'
# 查询获取serial_no参数
date_serial = {
"funid": "N07.07.00.01",
"data": {
"social_credit_code": "913502030511743851",
"batch": ""
}
}
r = requests.post(url=self.url, json=date_serial)
serial_no = r.json()['data'][0]['serial_no']
print ('serial_no: {0}').format(serial_no)
# api请求
date = {
"funid": "N07.07.00.05",
"data": {
"serial_no": serial_no,
"type": "1",
"doctor_list": {
"biz_serial_no": "",
"people_type": "01",
"certificate_grade": "01",
"name": "萍萍",
"certificate_type": "10",
"certificate_no": "123454545",
"vocational_qc_no": "7787788",
"technical_qc_no": "2222222",
"title_certificate_no": "44444444",
"title_certificate_authorities": "厦门",
"licensed_pharmacist_qc_no": ""
}
}
}
r = requests.post(url=self.url, json=date)
print r.text
cause = json.loads(r.text).get('cause')
print('cause: {0}'.format(cause))
flags = json.loads(r.text).get('flag')
print 'flags: {0}'.format(flags)
self.assertEqual(flags, u'1')
print '##########机构定点申请医师信息维护(修改)用例执行############'
date_01 = {
"funid": "N07.07.00.05",
"data": {
"serial_no": serial_no,
"type": "2",
"doctor_list": {
"biz_serial_no": "",
"people_type": "01",
"certificate_grade": "01",
"name": "萍萍",
"certificate_type": "10",
"certificate_no": "123454545",
"vocational_qc_no": "7787788",
"technical_qc_no": "2222222",
"title_certificate_no": "44444444",
"title_certificate_authorities": "厦门",
"licensed_pharmacist_qc_no": ""
}
}
}
r_01 = requests.post(url=self.url, json=date_01)
print r_01.text
cause_01 = json.loads(r_01.text).get('cause')
print('cause: {0}'.format(cause_01))
flags_01 = json.loads(r_01.text).get('flag')
print 'flags: {0}'.format(flags_01)
self.assertEqual(flags_01, u'1')
print '##########机构定点申请医师信息维护(删除)用例执行############'
date_02 = {
"funid": "N07.07.00.05",
"data": {
"serial_no": serial_no,
"type": "3",
"doctor_list": {
"biz_serial_no": "",
"people_type": "01",
"certificate_grade": "01",
"name": "萍萍",
"certificate_type": "10",
"certificate_no": "123454545",
"vocational_qc_no": "7787788",
"technical_qc_no": "2222222",
"title_certificate_no": "44444444",
"title_certificate_authorities": "厦门",
"licensed_pharmacist_qc_no": ""
}
}
}
r_02 = requests.post(url=self.url, json=date_02)
print r_02.text
cause_02 = json.loads(r_02.text).get('cause')
print('cause: {0}'.format(cause_02))
flags_02 = json.loads(r_02.text).get('flag')
print 'flags: {0}'.format(flags_02)
self.assertEqual(flags_02, u'1')
# 机构定点申请医师信息查询
def test_query_fixed_point_doctor_information(self):
print '##########机构定点申请医师信息查询用例执行############'
# 查询获取serial_no参数
date_serial = {
"funid": "N07.07.00.01",
"data": {
"social_credit_code": "913502030511743851",
"batch": ""
}
}
r = requests.post(url=self.url, json=date_serial)
serial_no = r.json()['data'][0]['serial_no']
print ('serial_no: {0}').format(serial_no)
# api请求
date = {
"funid": "N07.07.00.06",
"data": {
"serial_no": serial_no,
"page": "1",
"rows": "10"
}
}
r = requests.post(url=self.url, json=date)
print r.text
cause = json.loads(r.text).get('cause')
print('cause: {0}'.format(cause))
flags = json.loads(r.text).get('flag')
print 'flags: {0}'.format(flags)
self.assertEqual(flags, u'1')
s
''' XiamenPublicServiceTest(unittest.TestCase):
def setUp(self):
print '##########厦门公共服务接口测试############'
self.url = "https://open.fjylbz.gov.cn/api/gafe/rest?zyregion=350200"
self.url_area = 'https://ylbz.ixm.gov.cn/xmyb/api/gafe/rest'
def test_personal_information(self):
print '##########个人基本信息用例执行############'
date = {
"funid": "N07.08.03.03",
"data": {
"idcard": "350603199510110019",
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
# datas = json.loads(r.text.encode('utf-8')).get('data')
# print('datas{0}:'.format(datas))
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
def test_insurance_information(self):
print '##########参保信息用例执行############'
date = {
"funid": "N07.08.03.01",
"data": {
"idcard": "350603199510110019",
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
def test_get_insurance_information(self):
print '##########获取参保号用例执行############'
date = {
"funid": "N07.08.03.02",
"data": {
"idcard": "350603199510110019"
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url_area, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
def test_payment_information(self):
print '##########缴费查询用例执行############'
date = {
"funid": "N07.08.04.01",
"data": {
"start_time": "201801",
"end_time": "201909",
"page": "1",
"rows": "50",
"idcard": "350603199510110019"
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
def test_consume_information(self):
print '##########消费查询用例执行############'
date = {
"funid": "N07.08.05.01",
"data": {
"consultation_type": "",
"start_time": "201701",
"end_time": "201909",
"page": "1",
"rows": "50",
"idcard": "350823199311161020"
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
def test_list_fees(self):
print '##########费用清单用例执行############'
date = {
"funid": "N07.08.05.02",
"data": {
"consultation_type": "0",
"serial_no": "000297495855 "
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
def test_billing_details(self):
print '##########结算明细用例执行############'
date = {
"funid": "N07.08.05.03",
"data": {
"consultation_type": "0",
"serial_no": "000297495855 "
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
def test_rank_number_query(self):
print '##########公共查询 - 等级编号查询 用例执行############'
date = {
"funid": "N07.08.09.08",
"data": {
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
def test_fixed_point_organization_information(self):
print '##########定点机构查询 - 等级查询 用例执行############'
date = {
"funid": "N07.08.09.01",
"data": {
"wdjbbh": "02"
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
print '##########定点机构查询 - 等级查询 - 详细查询 用例执行############'
date_01 = {
"funid": "N07.08.09.01",
"data": {
"wdjbbh": "02",
"fwwdmc": "厦门弘爱医院"
}
}
headers = {"Content-Type": "application/json"}
r_01 = requests.post(url=self.url, json=date_01, headers=headers)
print r_01.text
flags_01 = json.loads(r_01.text).get('flag')
print 'flags_01:{0}'.format(flags)
print(r_01.status_code, r_01.reason)
self.assertEqual(flags_01, u'1')
self.assertEqual(r_01.status_code, 200)
print '##########定点机构查询 - 等级查询 - 模糊查询 用例执行############'
date_02 = {
"funid": "N07.08.09.01",
"data": {
"wdjbbh": "02",
"fwwdmc": "弘爱"
}
}
headers = {"Content-Type": "application/json"}
r_02 = requests.post(url=self.url, json=date_02, headers=headers)
print r_02.text
flags_02 = json.loads(r_02.text).get('flag')
print 'flags_01:{0}'.format(flags)
print(r_02.status_code, r_02.reason)
self.assertEqual(flags_02, u'1')
self.assertEqual(r_02.status_code, 200)
def test_fixed_point_drugstore(self):
print '##########定点药店查询 用例执行############'
date = {
"funid": "N07.08.09.02",
"data": {
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
print '##########定点药店查询 - 精确查询 用例执行############'
date_01 = {
"funid": "N07.08.09.02",
"data": {
"fwwdmc": "福建国大药房连锁有限公司厦门湖里店"
}
}
headers = {"Content-Type": "application/json"}
r_01 = requests.post(url=self.url, json=date_01, headers=headers)
print r_01.text
flags_01 = json.loads(r_01.text).get('flag')
print 'flags_01:{0}'.format(flags)
print(r_01.status_code, r_01.reason)
self.assertEqual(flags_01, u'1')
self.assertEqual(r_01.status_code, 200)
print '##########定点药店查询 - 模糊查询 用例执行############'
date_02 = {
"funid": "N07.08.09.02",
"data": {
"fwwdmc": "国大"
}
}
headers = {"Content-Type": "application/json"}
r_02 = requests.post(url=self.url, json=date_02, headers=headers)
print r_02.text
flags_02 = json.loads(r_02.text).get('flag')
print 'flags_01:{0}'.format(flags)
print(r_02.status_code, r_02.reason)
self.assertEqual(flags_02, u'1')
self.assertEqual(r_02.status_code, 200)
def test_provincial_network_information(self):
print '##########全省联网机构查询用例执行############'
date = {
"funid": "N07.08.09.03",
"data": {
"wdjbbh": "01"
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url_area, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
def test_drug_and_medical_information(self):
print '##########药品和诊疗项目查询用例执行############'
date = {
"funid": "N07.08.09.06",
"data": {
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url_area, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
def test_medical_examination_agency_information(self):
print '##########体检定点机构查询用例执行############'
date = {
"funid": "N07.08.09.04",
"data": {
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url_area, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
print '##########体检定点机构查询 - 精确查询 用例执行############'
date_01 = {
"funid": "N07.08.09.04",
"data": {
"tjddbz": "02",
"fwwdmc": "厦门市同安区新民卫生院"
}
}
headers = {"Content-Type": "application/json"}
r_01 = requests.post(url=self.url_area, json=date_01, headers=headers)
print r_01.text
flags_01 = json.loads(r_01.text).get('flag')
print 'flags_01:{0}'.format(flags)
print(r_01.status_code, r_01.reason)
self.assertEqual(flags_01, u'1')
self.assertEqual(r_01.status_code, 200)
def test_drug_system_and_zero_point_medical_information(self):
print '##########执行基本药物制度及零差价定点医疗机构用例执行############'
date = {
"funid": "N07.08.09.05",
"data": {
"page": "1",
"rows": "50"
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url_area, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
class QuanzhouPublicServiceTest(unittest.TestCase):
def setUp(self):
print '##########泉州公共服务接口测试############'
self.url = "https://open.fjylbz.gov.cn/api/gafe/rest?zyregion=350500"
self.url_area = "http://qzyb.quanzhou.gov.cn/api/gafe/rest"
self.url_ip = "http://172.23.1.96/api/gafe/rest"
def test_personal_information(self):
print '##########个人基本信息用例执行############'
date = {
"funid": "N07.08.03.03",
"data": {
"ybid": "2898110"
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
# datas = json.loads(r.text.encode('utf-8')).get('data')
# print('datas{0}:'.format(datas))
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
def test_insurance_information(self):
print '##########参保信息用例执行############'
date = {
"funid": "N07.08.03.01",
"data": {
"ybid": "2898110"
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
def test_get_insurance_information(self):
print '##########获取参保号用例执行############'
date = {
"funid": "N07.08.03.02",
"data": {
"id_card": "350500197101304564",
"name": "杨红梅",
"cardno": "CB7239433"
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url_ip, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
def test_payment_information(self):
print '##########缴费查询用例执行############'
date = {
"funid": "N07.08.04.01",
"data": {
"start_time": "201801",
"end_time": "201909",
"page": "1",
"rows": "50",
"ybid": "2898110"
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
def test_consume_information(self):
print '##########消费查询用例执行############'
date = {
"funid": "N07.08.05.01",
"data": {
"consultation_type": "",
"start_time": "201701",
"end_time": "201909",
"page": "1",
"rows": "50",
"ybid": "2898110"
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
def test_list_fees(self):
print '##########费用清单用例执行############'
date = {
"funid": "N07.08.05.02",
"data": {
"consultation_type": "2",
"serial_no": "258383751"
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
def test_billing_details(self):
print '##########结算明细用例执行############'
date = {
"funid": "N07.08.05.03",
"data": {
"consultation_type": "2",
"serial_no": "258383751"
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
def test_rank_number_query(self):
print '##########公共查询 - 等级编号查询 用例执行############'
date = {
"funid": "N07.08.09.08",
"data": {
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
def test_fixed_point_organization_information(self):
print '##########定点机构查询 - 等级查询 用例执行############'
date = {
"funid": "N07.08.09.01",
"data": {
"wdjbbh": "02"
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
print '##########定点机构查询 - 等级查询 - 详细查询 用例执行############'
date_01 = {
"funid": "N07.08.09.01",
"data": {
"wdjbbh": "02",
"fwwdmc": "泉州洛江万鸿医院"
}
}
headers = {"Content-Type": "application/json"}
r_01 = requests.post(url=self.url, json=date_01, headers=headers)
print r_01.text
flags_01 = json.loads(r_01.text).get('flag')
print 'flags_01:{0}'.format(flags)
print(r_01.status_code, r_01.reason)
self.assertEqual(flags_01, u'1')
self.assertEqual(r_01.status_code, 200)
print '##########定点机构查询 - 等级查询 - 模糊查询 用例执行############'
date_02 = {
"funid": "N07.08.09.01",
"data": {
"wdjbbh": "02",
"fwwdmc": "洛江"
}
}
headers = {"Content-Type": "application/json"}
r_02 = requests.post(url=self.url, json=date_02, headers=headers)
print r_02.text
flags_02 = json.loads(r_02.text).get('flag')
print 'flags_01:{0}'.format(flags)
print(r_02.status_code, r_02.reason)
self.assertEqual(flags_02, u'1')
self.assertEqual(r_02.status_code, 200)
def test_fixed_point_drugstore(self):
print '##########定点药店查询 用例执行############'
date = {
"funid": "N07.08.09.02",
"data": {
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
print '##########定点药店查询 - 精确查询 用例执行############'
date_01 = {
"funid": "N07.08.09.02",
"data": {
"fwwdmc": "福建省燕煌医药连锁有限公司阳山分店"
}
}
headers = {"Content-Type": "application/json"}
r_01 = requests.post(url=self.url, json=date_01, headers=headers)
print r_01.text
flags_01 = json.loads(r_01.text).get('flag')
print 'flags_01:{0}'.format(flags)
print(r_01.status_code, r_01.reason)
self.assertEqual(flags_01, u'1')
self.assertEqual(r_01.status_code, 200)
print '##########定点药店查询 - 模糊查询 用例执行############'
date_02 = {
"funid": "N07.08.09.02",
"data": {
"fwwdmc": "燕煌医药"
}
}
headers = {"Content-Type": "application/json"}
r_02 = requests.post(url=self.url, json=date_02, headers=headers)
print r_02.text
flags_02 = json.loads(r_02.text).get('flag')
print 'flags_01:{0}'.format(flags)
print(r_02.status_code, r_02.reason)
self.assertEqual(flags_02, u'1')
self.assertEqual(r_02.status_code, 200)
def test_drug_and_medical_information(self):
print '##########药品和诊疗项目查询用例执行############'
date = {
"funid": "N07.08.09.06",
"data": {
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
class FuzhouPublicServiceTest(unittest.TestCase):
def setUp(self):
print '##########福州公共服务接口测试############'
self.url = "https://open.fjylbz.gov.cn/api/gafe/rest?zyregion=350100"
self.url_area = "http://wx3.fzybzx.com.cn/fzyb/api/gafe/rest"
def test_personal_information(self):
print '##########个人基本信息用例执行############'
date = {
"funid": "N07.08.03.03",
"data": {
"ybid": "15163103"
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
# datas = json.loads(r.text.encode('utf-8')).get('data')
# print('datas{0}:'.format(datas))
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
def test_insurance_information(self):
print '##########参保信息用例执行############'
date = {
"funid": "N07.08.03.01",
"data": {
"ybid": "15163103"
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
def test_get_insurance_information(self):
print '##########获取参保号用例执行############'
date = {
"funid": "N07.08.03.02",
"data": {
"id_card": "350102196105110827",
"name": "吴素平",
"cardno": "A99943596"
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url_area, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
def test_payment_information(self):
print '##########缴费查询用例执行############'
date = {
"funid": "N07.08.04.01",
"data": {
"start_time": "201801",
"end_time": "201909",
"page": "1",
"rows": "50",
"ybid": "15163103"
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
def test_consume_information(self):
print '##########消费查询用例执行############'
date = {
"funid": "N07.08.05.01",
"data": {
"consultation_type": "",
"start_time": "201701",
"end_time": "201909",
"page": "1",
"rows": "50",
"ybid": "15163103"
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
def test_list_fees(self):
print '##########费用清单用例执行############'
date = {
"funid": "N07.08.05.02",
"data": {
"consultation_type": "0",
"serial_no": "10080944891"
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
def test_billing_details(self):
print '##########结算明细用例执行############'
date = {
"funid": "N07.08.05.03",
"data": {
"consultation_type": "0",
"serial_no": "10080944891"
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
def test_rank_number_query(self):
print '##########公共查询 - 等级编号查询 用例执行############'
date = {
"funid": "N07.08.09.08",
"data": {
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
def test_fixed_point_organization_information(self):
print '##########定点机构查询 - 等级查询 用例执行############'
date = {
"funid": "N07.08.09.01",
"data": {
"wdjbbh": "01"
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
print '##########定点机构查询 - 等级查询 - 详细查询 用例执行############'
date_01 = {
"funid": "N07.08.09.01",
"data": {
"wdjbbh": "01",
"fwwdmc": "福清红卫门诊部"
}
}
headers = {"Content-Type": "application/json"}
r_01 = requests.post(url=self.url, json=date_01, headers=headers)
print r_01.text
flags_01 = json.loads(r_01.text).get('flag')
print 'flags_01:{0}'.format(flags)
print(r_01.status_code, r_01.reason)
self.assertEqual(flags_01, u'1')
self.assertEqual(r_01.status_code, 200)
print '##########定点机构查询 - 等级查询 - 模糊查询 用例执行############'
date_02 = {
"funid": "N07.08.09.01",
"data": {
"wdjbbh": "01",
"fwwdmc": "福清红"
}
}
headers = {"Content-Type": "application/json"}
r_02 = requests.post(url=self.url, json=date_02, headers=headers)
print r_02.text
flags_02 = json.loads(r_02.text).get('flag')
print 'flags_01:{0}'.format(flags)
print(r_02.status_code, r_02.reason)
self.assertEqual(flags_02, u'1')
self.assertEqual(r_02.status_code, 200)
def test_fixed_point_drugstore(self):
print '##########定点药店查询 用例执行############'
date = {
"funid": "N07.08.09.02",
"data": {
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
print '##########定点药店查询 - 精确查询 用例执行############'
date_01 = {
"funid": "N07.08.09.02",
"data": {
"fwwdmc": "福建康佰家大药房连锁一一一店"
}
}
headers = {"Content-Type": "application/json"}
r_01 = requests.post(url=self.url, json=date_01, headers=headers)
print r_01.text
flags_01 = json.loads(r_01.text).get('flag')
print 'flags_01:{0}'.format(flags)
print(r_01.status_code, r_01.reason)
self.assertEqual(flags_01, u'1')
self.assertEqual(r_01.status_code, 200)
print '##########定点药店查询 - 模糊查询 用例执行############'
date_02 = {
"funid": "N07.08.09.02",
"data": {
"fwwdmc": "康佰家"
}
}
headers = {"Content-Type": "application/json"}
r_02 = requests.post(url=self.url, json=date_02, headers=headers)
print r_02.text
flags_02 = json.loads(r_02.text).get('flag')
print 'flags_01:{0}'.format(flags)
print(r_02.status_code, r_02.reason)
self.assertEqual(flags_02, u'1')
self.assertEqual(r_02.status_code, 200)
def test_drug_and_medical_information(self):
print '##########药品和诊疗项目查询用例执行############'
date = {
"funid": "N07.08.09.06",
"data": {
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url_area, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
class NingdePublicServiceTest(unittest.TestCase):
def setUp(self):
print '##########宁德公共服务接口测试############'
self.url = "https://open.fjylbz.gov.cn/api/gafe/rest?zyregion=350900"
self.url_area = "http://wx.ybj.ningde.gov.cn:7777/api/gafe/rest"
def test_personal_information(self):
print '##########个人基本信息用例执行############'
date = {
"funid": "N07.08.03.03",
"data": {
"ybid": "35222119651012003X "
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
# datas = json.loads(r.text.encode('utf-8')).get('data')
# print('datas{0}:'.format(datas))
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
def test_insurance_information(self):
print '##########参保信息用例执行############'
date = {
"funid": "N07.08.03.01",
"data": {
"ybid": "35222119651012003X "
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
def test_get_insurance_information(self):
print '##########获取参保号用例执行############'
date = {
"funid": "N07.08.03.02",
"data": {
"id_card": "35222119651012003X",
"name": "毛瑾琳",
"cardno": "J01916107"
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url_area, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
def test_payment_information(self):
print '##########缴费查询用例执行############'
date = {
"funid": "N07.08.04.01",
"data": {
"start_time": "201801",
"end_time": "201909",
"page": "1",
"rows": "50",
"ybid": "35222119651012003X "
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
def test_consume_information(self):
print '##########消费查询用例执行############'
date = {
"funid": "N07.08.05.01",
"data": {
"consultation_type": "",
"start_time": "201701",
"end_time": "201909",
"page": "1",
"rows": "50",
"ybid": "35222119651012003X "
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
def test_list_fees(self):
print '##########费用清单用例执行############'
date = {
"funid": "N07.08.05.02",
"data": {
"consultation_type": "2",
"serial_no": "68413547 "
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
def test_billing_details(self):
print '##########结算明细用例执行############'
date = {
"funid": "N07.08.05.03",
"data": {
"consultation_type": "2",
"serial_no": "68413547 "
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
def test_rank_number_query(self):
print '##########公共查询 - 等级编号查询 用例执行############'
date = {
"funid": "N07.08.09.08",
"data": {
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
def test_fixed_point_organization_information(self):
print '##########定点机构查询 - 等级查询 用例执行############'
date = {
"funid": "N07.08.09.01",
"data": {
"wdjbbh": "05"
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
print '##########定点机构查询 - 等级查询 - 详细查询 用例执行############'
date_01 = {
"funid": "N07.08.09.01",
"data": {
"wdjbbh": "05",
"fwwdmc": "宁德市中医院"
}
}
headers = {"Content-Type": "application/json"}
r_01 = requests.post(url=self.url, json=date_01, headers=headers)
print r_01.text
flags_01 = json.loads(r_01.text).get('flag')
print 'flags_01:{0}'.format(flags)
print(r_01.status_code, r_01.reason)
self.assertEqual(flags_01, u'1')
self.assertEqual(r_01.status_code, 200)
print '##########定点机构查询 - 等级查询 - 模糊查询 用例执行############'
date_02 = {
"funid": "N07.08.09.01",
"data": {
"wdjbbh": "01",
"fwwdmc": "中医院"
}
}
headers = {"Content-Type": "application/json"}
r_02 = requests.post(url=self.url, json=date_02, headers=headers)
print r_02.text
flags_02 = json.loads(r_02.text).get('flag')
print 'flags_01:{0}'.format(flags)
print(r_02.status_code, r_02.reason)
self.assertEqual(flags_02, u'1')
self.assertEqual(r_02.status_code, 200)
def test_fixed_point_drugstore(self):
print '##########定点药店查询 用例执行############'
date = {
"funid": "N07.08.09.02",
"data": {
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
print '##########定点药店查询 - 精确查询 用例执行############'
date_01 = {
"funid": "N07.08.09.02",
"data": {
"fwwdmc": "福建康佰家大药房连锁有限公司宁德市八一五店"
}
}
headers = {"Content-Type": "application/json"}
r_01 = requests.post(url=self.url, json=date_01, headers=headers)
print r_01.text
flags_01 = json.loads(r_01.text).get('flag')
print 'flags_01:{0}'.format(flags)
print(r_01.status_code, r_01.reason)
self.assertEqual(flags_01, u'1')
self.assertEqual(r_01.status_code, 200)
print '##########定点药店查询 - 模糊查询 用例执行############'
date_02 = {
"funid": "N07.08.09.02",
"data": {
"fwwdmc": "康佰家"
}
}
headers = {"Content-Type": "application/json"}
r_02 = requests.post(url=self.url, json=date_02, headers=headers)
print r_02.text
flags_02 = json.loads(r_02.text).get('flag')
print 'flags_01:{0}'.format(flags)
print(r_02.status_code, r_02.reason)
self.assertEqual(flags_02, u'1')
self.assertEqual(r_02.status_code, 200)
def test_drug_and_medical_information(self):
print '##########药品和诊疗项目查询用例执行############'
date = {
"funid": "N07.08.09.06",
"data": {
}
}
headers = {"Content-Type": "application/json"}
r = requests.post(url=self.url_area, json=date, headers=headers)
print r.text
flags = json.loads(r.text).get('flag')
print 'flags:{0}'.format(flags)
print(r.status_code, r.reason)
self.assertEqual(flags, u'1')
self.assertEqual(r.status_code, 200)
'''
if __name__ == '__main__':
unittest.main()
| 35.1516
| 78
| 0.481399
| 6,564
| 62,605
| 4.457343
| 0.059263
| 0.029941
| 0.035546
| 0.057147
| 0.91592
| 0.897874
| 0.885296
| 0.881673
| 0.874154
| 0.870087
| 0
| 0.068566
| 0.34748
| 62,605
| 1,780
| 79
| 35.171348
| 0.647646
| 0.004872
| 0
| 0.702174
| 0
| 0
| 0.276157
| 0.061916
| 0
| 0
| 0
| 0
| 0.032609
| 0
| null | null | 0
| 0.015217
| null | null | 0.152174
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
a8fefb8fbb7891aede2b564753cff200d10465c6
| 12,390
|
py
|
Python
|
Chapter8_PitchDetection/Pitch.py
|
SeventeenChen/Python_Speech_SZY
|
0074ad1d519387a75d5eca42c77f4d6966eb0a0e
|
[
"MIT"
] | 7
|
2020-11-23T11:03:43.000Z
|
2021-10-24T01:26:21.000Z
|
Chapter8_PitchDetection/Pitch.py
|
SeventeenChen/Python_Speech_SZY
|
0074ad1d519387a75d5eca42c77f4d6966eb0a0e
|
[
"MIT"
] | null | null | null |
Chapter8_PitchDetection/Pitch.py
|
SeventeenChen/Python_Speech_SZY
|
0074ad1d519387a75d5eca42c77f4d6966eb0a0e
|
[
"MIT"
] | 2
|
2021-06-23T14:26:13.000Z
|
2021-06-30T10:39:08.000Z
|
# Class Pitch Detection
from pywt import dwt, upcoef
from spectrum import xcorr
from VAD import *
class Pitch:
def linsmoothm(self, x, n=3):
"""
linear smoothing
:param x:
:param n: default = 3
:return:
"""
win = np.hanning(n) # hanning window
win = win / np.sum(win) # normalized
x = x.reshape(-1, 1) # --> column vector
length = len(x)
y = np.zeros(length) # initialization
# complement before and after the output to ensure the length is the same as x
x = x.squeeze()
if n % 2 == 0:
L = int(n / 2)
x = np.concatenate([np.ones(1) * x[0], x, np.ones(L) * x[L]]).T
else:
L = int((n - 1) / 2)
x = np.concatenate([np.ones(1) * x[0], x, np.ones(L + 1) * x[L]]).T
for k in range(length):
y[k] = np.dot(win.T, x[k: k + n])
return y
def pitfilterm1(self, x, vseg, vsl):
"""
smoothing fundamental frequency T0
:param x:
:param vseg: voice segment
:param vsl: voice sgement length
:return y: linear smoothing T0
"""
y = np.zeros(x.shape) # initialization
for i in range(vsl): # data segment
ixb = vseg['begin'][i]
ixe = vseg['end'][i]
u0 = x[ixb: ixe] # one segment data
y0 = VAD().multimidfilter(u0, 5) # 5 point medfilter
v0 = self.linsmoothm(y0, 5) # linear smoothing
y[ixb: ixe] = v0
return y
def ACF_corr(self, y, fn, vseg, vsl, lmax, lmin):
"""
Auto correlation function Pitch detection
:param y: enframe matrix (size: window length * frame number)
:param fn: frame number
:param vseg: vad
:param vsl: vad
:param lmax: min pitch period
:param lmin: max pitch period
:return period: pitch period
"""
pn = y.shape[1]
if pn != fn:
y = y.T
wlen = y.shape[0] # frame length
period = np.zeros(fn) # pitch period
for i in range(vsl): # only for voice segment
ixb = vseg['begin'][i] # segment begin index
ixe = vseg['end'][i] # segment end index
ixd = ixe - ixb + 1 # segment duration
for k in range(ixd):
u = y[:, k + ixb - 1] # one frame data
ru, _ = xcorr(u, norm='coeff')
ru = ru[wlen: 2 * wlen - 1]
tloc = np.argmax(ru[lmin: lmax]) # find max in [lmin : lmax]
period[k + ixb - 1] = lmin + tloc - 1
return period
def ACF_clip(self, y, fn, vseg, vsl, lmax, lmin):
"""
Auto correlation & clip function Pitch detection
:param y: enframe matrix (size: window length * frame number)
:param fn: frame number
:param vseg: vad
:param vsl: vad
:param lmax: min pitch period
:param lmin: max pitch period
:return period: pitch period
"""
pn = y.shape[1]
if pn != fn:
y = y.T
wlen = y.shape[0] # frame length
period = np.zeros(fn) # pitch period
for i in range(vsl): # only for voice segment
ixb = vseg['begin'][i] # segment begin index
ixe = vseg['end'][i] # segment end index
ixd = ixe - ixb + 1 # segment duration
for k in range(ixd):
u = y[:, k + ixb - 1] # one frame data
rate = 0.7 # clip parameter
CL = np.max(u) * rate # threshold
for j in range(wlen):
if u[j] > CL:
u[j] = u[j] - CL
elif u[j] <= (-CL):
u[j] = u[j] + CL
else:
u[j] =0
u = u / np.max(u) # normalization
ru, _ = xcorr(u, norm='coeff')
ru = ru[wlen: 2 * wlen - 1]
tloc = np.argmax(ru[lmin: lmax]) # find max in [lmin : lmax]
period[k + ixb - 1] = lmin + tloc - 1
return period
def ACF_threelevel(self, y, fn, vseg, vsl, lmax, lmin):
"""
Auto correlation & three level clip function Pitch detection
:param y: enframe matrix (size: window length * frame number)
:param fn: frame number
:param vseg: vad
:param vsl: vad
:param lmax: min pitch period
:param lmin: max pitch period
:return period: pitch period
"""
pn = y.shape[1]
if pn != fn:
y = y.T
wlen = y.shape[0] # frame length
period = np.zeros(fn) # pitch period
for i in range(vsl): # only for voice segment
ixb = vseg['begin'][i] # segment begin index
ixe = vseg['end'][i] # segment end index
ixd = ixe - ixb + 1 # segment duration
for k in range(ixd):
u = y[:, k + ixb - 1] # one frame data
px1 = u[0 : 100] # first 100 points
px2 = u[wlen - 100 : wlen] # last 100 points
CLm = min(max(px1), max(px2))
CL = CLm * 0.68 # threshold
ThreeLevel = np.zeros(wlen) # initialization
for j in range(wlen):
if u[j] > CL:
u[j] = u[j] - CL
ThreeLevel[j] = 1
elif u[j] <= (-CL):
u[j] = u[j] + CL
ThreeLevel[j] = -1
else:
u[j] = 0
ThreeLevel[j] = 0
u = u / np.max(u) # normalization
ru, _ = xcorr(ThreeLevel, u, norm='coeff')
ru = ru[wlen: 2 * wlen - 1]
tloc = np.argmax(ru[lmin: lmax]) # find max in [lmin : lmax]
period[k + ixb - 1] = lmin + tloc - 1
return period
def AMDF_1(self, y, fn, vseg, vsl, lmax, lmin):
"""
average magnitude difference function --> pitch detection
:param y: enframe matrix (size: window length * frame number)
:param fn: frame number
:param vseg: vad
:param vsl: vad
:param lmax: min pitch period
:param lmin: max pitch period
:return period: pitch period
"""
pn = y.shape[1]
if pn != fn:
y = y.T
wlen = y.shape[0] # frame length
period = np.zeros(fn) # pitch period
for i in range(vsl): # only for voice segment
ixb = vseg['begin'][i] # segment begin index
ixe = vseg['end'][i] # segment end index
ixd = ixe - ixb + 1 # segment duration
R0 = np.zeros(wlen) # average magnitude difference
for k in range(ixd):
u = y[:, k + ixb - 1] # one frame data
for m in range(wlen):
R0[m] = np.sum(np.abs(u[m: wlen - 1] - u[0: wlen - m - 1])) # AMDF
Rmax = max(R0)
Rth = 0.6 * Rmax # threshold
Rm = np.where(R0[lmin: lmax] <= Rth) # find range < threshold in [Pmin, Pmax]
Rm = Rm[0]
if Rm.size == 0:
T0 = 0
else:
m11 = Rm[0]
m22 = lmax
T = np.argmin(R0[m11:m22])
if not T:
T0 = 0
else:
T0 = T + m11 - 1 # valley point in min
period[k + ixb - 1] = T0
return period
def AMDF_mod(self, y, fn, vseg, vsl, lmax, lmin):
"""
modified average magnitude difference function --> pitch detection
:param y: enframe matrix (size: window length * frame number)
:param fn: frame number
:param vseg: vad
:param vsl: vad
:param lmax: min pitch period
:param lmin: max pitch period
:return period: pitch period
"""
pn = y.shape[1]
if pn != fn:
y = y.T
wlen = y.shape[0] # frame length
period = np.zeros(fn) # pitch period
for i in range(vsl): # only for voice segment
ixb = vseg['begin'][i] # segment begin index
ixe = vseg['end'][i] # segment end index
ixd = ixe - ixb + 1 # segment duration
R0 = np.zeros(wlen) # average magnitude difference
R = np.zeros(wlen) # linear transformation
for k in range(ixd):
u = y[:, k + ixb - 1] # one frame data
for m in range(wlen):
R0[m] = np.sum(np.abs(u[m : wlen - 1] - u[0 : wlen - m - 1]))
Rmax = max(R0)
Nmax = np.argmax(R0)
for j in range(wlen):
R[j] = Rmax * (wlen - j) / (wlen - Nmax) - R0[j]
T = np.argmax(R[lmin: lmax]) # find max in [lmin : lmax]
T0 = T + lmin - 1
period[k + ixb - 1] = T0
return period
def CAMDF(self, y, fn, vseg, vsl, lmax, lmin):
"""
circular average magnitude difference function --> pitch detection
:param y: enframe matrix (size: window length * frame number)
:param fn: frame number
:param vseg: vad
:param vsl: vad
:param lmax: min pitch period
:param lmin: max pitch period
:return period: pitch period
"""
pn = y.shape[1]
if pn != fn:
y = y.T
wlen = y.shape[0] # frame length
period = np.zeros(fn) # pitch period
for i in range(vsl): # only for voice segment
ixb = vseg['begin'][i] # segment begin index
ixe = vseg['end'][i] # segment end index
ixd = ixe - ixb + 1 # segment duration
R = np.zeros(wlen) # circular average magnitude difference
for k in range(ixd):
u = y[:, k + ixb - 1] # one frame data
for m in range(wlen - 1):
R[m + 1] = 0
for n in range(wlen - 1): # circular average magnitude difference
R[m + 1] = R[m + 1] + np.abs(u[(m + n) % wlen] - u[n + 1])
Rmax = max(R[0 : lmin])
Rth = 0.6 * Rmax # threshold
Rm = np.where(R[lmin: lmax] <= Rth) # find range < threshold in [Pmin, Pmax]
Rm = Rm[0]
if Rm.size == 0:
T0 = 0
else:
m11 = Rm[0]
m22 = lmax
T = np.argmin(R[m11:m22])
if not T:
T0 = 0
else:
T0 = T + m11 - 1 # valley point in min
period[k + ixb - 1] = T0
return period
def CAMDF_mod(self, y, fn, vseg, vsl, lmax, lmin):
"""
modified circular average magnitude difference function --> pitch detection
:param y: enframe matrix (size: window length * frame number)
:param fn: frame number
:param vseg: vad
:param vsl: vad
:param lmax: min pitch period
:param lmin: max pitch period
:return period: pitch period
"""
pn = y.shape[1]
if pn != fn:
y = y.T
wlen = y.shape[0] # frame length
period = np.zeros(fn) # pitch period
for i in range(vsl): # only for voice segment
ixb = vseg['begin'][i] # segment begin index
ixe = vseg['end'][i] # segment end index
ixd = ixe - ixb + 1 # segment duration
R0 = np.zeros(wlen) # circular average magnitude difference
R = np.zeros(wlen)
for k in range(ixd):
u = y[:, k + ixb - 1] # one frame data
for m in range(wlen - 1):
R0[m + 1] = 0
for n in range(wlen - 1): # circular average magnitude difference
R0[m + 1] = R0[m + 1] + np.abs(u[(m + n) % wlen] - u[n + 1])
Rmax = max(R0)
Nmax = np.argmax(R0)
for j in range(wlen):
R[j] = Rmax * (wlen - j) / (wlen - Nmax) - R0[j]
T = np.argmax(R[lmin: lmax]) # find max in [lmin : lmax]
T0 = T + lmin - 1
period[k + ixb - 1] = T0
return period
def ACFAMDF_corr(self, y, fn, vseg, vsl, lmax, lmin):
"""
auto correlation function (ACF)
-------------------------------------------- >>> pitch detection
average magnitude difference function (AMDF)
:param y: enframe matrix (size: window length * frame number)
:param fn: frame number
:param vseg: vad
:param vsl: vad
:param lmax: min pitch period
:param lmin: max pitch period
:return period: pitch period
"""
pn = y.shape[1]
if pn != fn:
y = y.T
wlen = y.shape[0] # frame length
period = np.zeros(fn) # pitch period
Acm = np.zeros(wlen) # ACF/AMDF
for i in range(vsl): # only for voice segment
ixb = vseg['begin'][i] # segment begin index
ixe = vseg['end'][i] # segment end index
ixd = ixe - ixb + 1 # segment duration
for k in range(ixd):
u = y[:, k + ixb - 1] # one frame data
ru, _ = xcorr(u, norm='coeff') # auto correlation
ru = ru[wlen: 2 * wlen - 1]
R = np.zeros(wlen) # average magnitude difference
for m in range(wlen):
R[m] = np.sum(np.abs(u[m : wlen - 1] - u[0 : wlen - m - 1])) # AMDF
R = R[0 : ru.size] # the same length as ru
Rindex = np.where(R)
Acm[Rindex] = ru[Rindex] / R[Rindex] # ACF/AMDF
tloc = np.argmax(Acm[lmin: lmax]) # find max in [lmin : lmax]
period[k + ixb - 1] = lmin + tloc - 1
return period
def Wavelet_corrm1(self, y, fn, vseg, vsl, lmax, lmin):
"""
Pitch detection based on autocorrelation of
low frequency components of discrete wavelet transform
:param y: enframe matrix (size: window length * frame number)
:param fn: frame number
:param vseg: vad
:param vsl: vad
:param lmax: min pitch period
:param lmin: max pitch period
:return period: pitch period
"""
pn = y.shape[1]
if pn != fn:
y = y.T # frame number * frame length
period = np.zeros(fn) # pitch period
for i in range(vsl):
ixb = vseg['begin'][i] # segment begin index
ixe = vseg['end'][i] # segment end index
ixd = ixe - ixb + 1 # segment duration
for k in range(ixd):
u = y[:, k + ixb - 1] # one frame
ca1, cd1 = dwt(u, 'db4') # wavelet
a1 = upcoef('a', ca1, 'db4', 1) # reconstruction with low frequency parameter
ru, _ = xcorr(a1, norm = 'coeff') # normalizaed correlation coefficient
aL = len(a1)
ru = ru[aL:]
tloc = np.argmax(ru[lmin : lmax])
period[k + ixb] = lmin + tloc - 1
return period
| 29.927536
| 81
| 0.578935
| 1,950
| 12,390
| 3.671795
| 0.094872
| 0.055307
| 0.040223
| 0.015363
| 0.803911
| 0.793017
| 0.787989
| 0.76243
| 0.754888
| 0.731425
| 0
| 0.023807
| 0.281275
| 12,390
| 414
| 82
| 29.927536
| 0.780236
| 0.39096
| 0
| 0.753788
| 0
| 0
| 0.015627
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.041667
| false
| 0
| 0.011364
| 0
| 0.098485
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
d10b51a3d712291562833ca5c53f01255742445e
| 601
|
py
|
Python
|
Codewars/8kyu/find-maximum-and-minimum-values-of-a-list/Python/test.py
|
RevansChen/online-judge
|
ad1b07fee7bd3c49418becccda904e17505f3018
|
[
"MIT"
] | 7
|
2017-09-20T16:40:39.000Z
|
2021-08-31T18:15:08.000Z
|
Codewars/8kyu/find-maximum-and-minimum-values-of-a-list/Python/test.py
|
RevansChen/online-judge
|
ad1b07fee7bd3c49418becccda904e17505f3018
|
[
"MIT"
] | null | null | null |
Codewars/8kyu/find-maximum-and-minimum-values-of-a-list/Python/test.py
|
RevansChen/online-judge
|
ad1b07fee7bd3c49418becccda904e17505f3018
|
[
"MIT"
] | null | null | null |
# Python - 3.6.0
Test.describe('Basic tests')
Test.it('Fixed Min')
Test.assert_equals(min([-52, 56, 30, 29, -54, 0, -110]), -110)
Test.assert_equals(min([42, 54, 65, 87, 0]), 0)
Test.assert_equals(min([1, 2, 3, 4, 5, 10]), 1)
Test.assert_equals(min([-1, -2, -3, -4, -5, -10]), -10)
Test.assert_equals(min([9]), 9)
Test.it('Fixed Max')
Test.assert_equals(max([-52, 56, 30, 29, -54, 0, -110]), 56)
Test.assert_equals(max([4, 6, 2, 1, 9, 63, -134, 566]), 566)
Test.assert_equals(max([5]), 5)
Test.assert_equals(max([534, 43, 2, 1, 3, 4, 5, 5, 443, 443, 555, 555]), 555)
Test.assert_equals(max([9]), 9)
| 35.352941
| 77
| 0.610649
| 120
| 601
| 2.975
| 0.3
| 0.280112
| 0.448179
| 0.266106
| 0.22409
| 0.22409
| 0.22409
| 0.145658
| 0.145658
| 0.145658
| 0
| 0.211429
| 0.126456
| 601
| 16
| 78
| 37.5625
| 0.468571
| 0.023295
| 0
| 0
| 0
| 0
| 0.049573
| 0
| 0
| 0
| 0
| 0
| 0.769231
| 1
| 0
| true
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
d10ce1e57bb03b7e0de1b83777505ea1f7689205
| 101
|
py
|
Python
|
tools/onnx2ln/__init__.py
|
SiyuanMa0316/LightNet
|
931479d28695f3e871ba5eeae60a8ef4d84de72d
|
[
"MIT"
] | null | null | null |
tools/onnx2ln/__init__.py
|
SiyuanMa0316/LightNet
|
931479d28695f3e871ba5eeae60a8ef4d84de72d
|
[
"MIT"
] | 1
|
2019-03-08T13:18:36.000Z
|
2019-03-08T13:18:36.000Z
|
tools/onnx2ln/__init__.py
|
SiyuanMa0316/LightNet
|
931479d28695f3e871ba5eeae60a8ef4d84de72d
|
[
"MIT"
] | null | null | null |
from backend import get_model
def onnx_get_model(onnx_graph):
return onnx_get_model(onnx_graph)
| 20.2
| 37
| 0.821782
| 17
| 101
| 4.470588
| 0.529412
| 0.315789
| 0.315789
| 0.421053
| 0.552632
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.128713
| 101
| 4
| 38
| 25.25
| 0.863636
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0.333333
| 0.333333
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 1
| 1
| 0
|
0
| 9
|
66f8939b7b80b8c5c3ee203ac3088fbd1e62ef42
| 25,561
|
py
|
Python
|
models/coattention/nie_coattention.py
|
Minys233/GCN-BMP
|
21b64a3c8cc9bc33718ae09c65aa917e575132eb
|
[
"MIT"
] | null | null | null |
models/coattention/nie_coattention.py
|
Minys233/GCN-BMP
|
21b64a3c8cc9bc33718ae09c65aa917e575132eb
|
[
"MIT"
] | null | null | null |
models/coattention/nie_coattention.py
|
Minys233/GCN-BMP
|
21b64a3c8cc9bc33718ae09c65aa917e575132eb
|
[
"MIT"
] | null | null | null |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 5/5/2019 7:40 PM
# @Author : chinshin
# @FileName: vqa_parallel_coattention.py
import chainer
from chainer import functions as F
from chainer import functions
from chainer import links
from chainer_chemistry.links import GraphLinear
class DeepNieFineCoattention(chainer.Chain):
"""
TODO
"""
def __init__(self, hidden_dim, out_dim, head, activation=functions.identity):
"""
:param hidden_dim: dimension of atom representation
:param out_dim: dimension of molecular representation
:param head: number of heads in attention mechanism
"""
super(DeepNieFineCoattention, self).__init__()
with self.init_scope():
self.energy_layer = links.Bilinear(hidden_dim, hidden_dim, 1)
self.attention_layer_1 = GraphLinear(head, 1, nobias=True)
self.attention_layer_2 = GraphLinear(head, 1, nobias=True)
self.prev_lt_layer_1 = GraphLinear(hidden_dim, hidden_dim, nobias=False)
self.prev_lt_layer_2 = GraphLinear(hidden_dim, hidden_dim, nobias=False)
self.lt_layer_1 = GraphLinear(hidden_dim, head, nobias=True)
self.lt_layer_2 = GraphLinear(hidden_dim, head, nobias=True)
self.j_layer = GraphLinear(hidden_dim, out_dim)
self.hidden_dim = hidden_dim
self.out_dim = out_dim
self.head = head
self.activation = activation
def __call__(self, atoms_1, g_1, atoms_2, g_2):
"""
:param atoms_1: atomic representation of molecule 1, with shape of (mb, N_1, hidden_dim)
:param g_1: molecular representation of molecule 1, with shape of (mb, out_dim)
:param atoms_2: atomic representation of molecule 2, with shape of (mb, N_2, hidden_dim)
:param g_2: molecular representation of molecule 2, with shape of (mb, out_dim)
:return:
"""
# C: (mb, N_2, N_1)
C = self.compute_attention(query=atoms_2, key=atoms_1)
# L_2: (mb, N_2, N_1)
L_2 = functions.softmax(C, axis=1)
# L_1: (mb, N_1, N_2)
L_1 = functions.softmax(functions.transpose(C, (0, 2, 1)), axis=1)
# lt_atoms_1: (mb, N_1, hidden_dim) -> (mb, N_1, head)
atoms_1 = self.prev_lt_layer_1(atoms_1)
lt_atoms_1 = self.lt_layer_1(atoms_1)
# lt_atoms_2: (mb, N_2, hidden_dim) -> (mb, N_2, head)
atoms_2 = self.prev_lt_layer_2(atoms_2)
lt_atoms_2 = self.lt_layer_2(atoms_2)
# L_1: (mb, N_1, N_2), lt_atoms_2: (mb, N_2, head) -> (mb, N_1, head)
lt_atoms_2_C = functions.matmul(L_1, lt_atoms_2)
# H_1: (mb, N_1, head)
H_1 = functions.tanh(functions.add(lt_atoms_1, lt_atoms_2_C))
# L_2: (mb, N_2, N_1), lt_atoms_1: (mb, N_1, head)
# lt_atoms_1_C: (mb, N_2, head)
lt_atoms_1_C = functions.matmul(L_2, lt_atoms_1)
H_2 = functions.tanh(functions.add(lt_atoms_2, lt_atoms_1_C))
# attn_1: (mb, N_1, 1)
attn_1 = functions.softmax(self.attention_layer_1(H_1))
# attn_2: (mb, N_2, 1)
attn_2 = functions.softmax(self.attention_layer_2(H_2))
compact_1 = functions.sum(functions.tile(attn_1, reps=(1, 1, self.out_dim)) * self.j_layer(atoms_1), axis=1)
compact_2 = functions.sum(functions.tile(attn_2, reps=(1, 1, self.out_dim)) * self.j_layer(atoms_2), axis=1)
return compact_1, compact_2
def compute_attention(self, query, key):
"""
:param query: with shape of (mb, N_1, hidden_dim)
:param key: with shape of (mb, N_2, hidden_dim)
:param focus: indicate the focused molecule
:return: attn: attention weights (mb, N_1, N_2)
"""
energy_layer = self.energy_layer
mb, N_1, hidden_dim = query.shape
N_2 = key.shape[1]
# query: (mb, N_1, 1, hidden_dim)
query = functions.expand_dims(query, axis=2)
# query: (mb, N_1, N_2, hidden_dim)
query = functions.tile(query, reps=(1, 1, N_2, 1))
# query: (mb * N_1 * N_2, hidden_dim)
query = functions.reshape(query, (mb * N_1 * N_2, hidden_dim))
# key: (mb, 1, N_2, hidden_dim)
key = functions.expand_dims(key, axis=1)
# key: (mb, N_1, N_2, hidden_dim)
key = functions.tile(key, reps=(1, N_1, 1, 1))
# key: (mb * N_1 * N_2, hidden_dim)
key = functions.reshape(key, (mb * N_1 * N_2, hidden_dim))
# energy: (mb * N_1 * N_2, 1)
energy = self.activation(energy_layer(key, query))
energy = functions.reshape(energy, (mb, N_1, N_2))
return energy
class VeryDeepNieFineCoattention(chainer.Chain):
"""
TODO
"""
def __init__(self, hidden_dim, out_dim, head, activation=functions.identity):
"""
:param hidden_dim: dimension of atom representation
:param out_dim: dimension of molecular representation
:param head: number of heads in attention mechanism
"""
super(VeryDeepNieFineCoattention, self).__init__()
self.n_lt_layers = 2
with self.init_scope():
self.energy_layer = links.Bilinear(hidden_dim, hidden_dim, 1)
self.attention_layer_1 = GraphLinear(head, 1, nobias=True)
self.attention_layer_2 = GraphLinear(head, 1, nobias=True)
# self.prev_lt_layer_1 = GraphLinear(hidden_dim, hidden_dim, nobias=False)
self.prev_lt_layers_1 = chainer.ChainList(
*[GraphLinear(hidden_dim, hidden_dim, nobias=False) for _ in range(self.n_lt_layers)]
)
# self.prev_lt_layer_2 = GraphLinear(hidden_dim, hidden_dim, nobias=False)
self.prev_lt_layers_2 = chainer.ChainList(
*[GraphLinear(hidden_dim, hidden_dim, nobias=False) for _ in range(self.n_lt_layers)]
)
self.lt_layer_1 = GraphLinear(hidden_dim, head, nobias=True)
self.lt_layer_2 = GraphLinear(hidden_dim, head, nobias=True)
self.j_layer = GraphLinear(hidden_dim, out_dim)
self.hidden_dim = hidden_dim
self.out_dim = out_dim
self.head = head
self.activation = activation
def __call__(self, atoms_1, g_1, atoms_2, g_2):
"""
:param atoms_1: atomic representation of molecule 1, with shape of (mb, N_1, hidden_dim)
:param g_1: molecular representation of molecule 1, with shape of (mb, out_dim)
:param atoms_2: atomic representation of molecule 2, with shape of (mb, N_2, hidden_dim)
:param g_2: molecular representation of molecule 2, with shape of (mb, out_dim)
:return:
"""
# C: (mb, N_2, N_1)
C = self.compute_attention(query=atoms_2, key=atoms_1)
# L_2: (mb, N_2, N_1)
L_2 = functions.softmax(C, axis=1)
# L_1: (mb, N_1, N_2)
L_1 = functions.softmax(functions.transpose(C, (0, 2, 1)), axis=1)
# lt_atoms_1: (mb, N_1, hidden_dim) -> (mb, N_1, head)
for layer in self.prev_lt_layers_1:
atoms_1 = layer(atoms_1)
# atoms_1 = self.prev_lt_layer_1(atoms_1)
lt_atoms_1 = self.lt_layer_1(atoms_1)
# lt_atoms_2: (mb, N_2, hidden_dim) -> (mb, N_2, head)
for layer in self.prev_lt_layers_2:
atoms_2 = layer(atoms_2)
# atoms_2 = self.prev_lt_layer_2(atoms_2)
lt_atoms_2 = self.lt_layer_2(atoms_2)
# L_1: (mb, N_1, N_2), lt_atoms_2: (mb, N_2, head) -> (mb, N_1, head)
lt_atoms_2_C = functions.matmul(L_1, lt_atoms_2)
# H_1: (mb, N_1, head)
H_1 = functions.tanh(functions.add(lt_atoms_1, lt_atoms_2_C))
# L_2: (mb, N_2, N_1), lt_atoms_1: (mb, N_1, head)
# lt_atoms_1_C: (mb, N_2, head)
lt_atoms_1_C = functions.matmul(L_2, lt_atoms_1)
H_2 = functions.tanh(functions.add(lt_atoms_2, lt_atoms_1_C))
# attn_1: (mb, N_1, 1)
attn_1 = functions.softmax(self.attention_layer_1(H_1))
# attn_2: (mb, N_2, 1)
attn_2 = functions.softmax(self.attention_layer_2(H_2))
compact_1 = functions.sum(functions.tile(attn_1, reps=(1, 1, self.out_dim)) * self.j_layer(atoms_1), axis=1)
compact_2 = functions.sum(functions.tile(attn_2, reps=(1, 1, self.out_dim)) * self.j_layer(atoms_2), axis=1)
return compact_1, compact_2
def compute_attention(self, query, key):
"""
:param query: with shape of (mb, N_1, hidden_dim)
:param key: with shape of (mb, N_2, hidden_dim)
:param focus: indicate the focused molecule
:return: attn: attention weights (mb, N_1, N_2)
"""
energy_layer = self.energy_layer
mb, N_1, hidden_dim = query.shape
N_2 = key.shape[1]
# query: (mb, N_1, 1, hidden_dim)
query = functions.expand_dims(query, axis=2)
# query: (mb, N_1, N_2, hidden_dim)
query = functions.tile(query, reps=(1, 1, N_2, 1))
# query: (mb * N_1 * N_2, hidden_dim)
query = functions.reshape(query, (mb * N_1 * N_2, hidden_dim))
# key: (mb, 1, N_2, hidden_dim)
key = functions.expand_dims(key, axis=1)
# key: (mb, N_1, N_2, hidden_dim)
key = functions.tile(key, reps=(1, N_1, 1, 1))
# key: (mb * N_1 * N_2, hidden_dim)
key = functions.reshape(key, (mb * N_1 * N_2, hidden_dim))
# energy: (mb * N_1 * N_2, 1)
energy = self.activation(energy_layer(key, query))
energy = functions.reshape(energy, (mb, N_1, N_2))
return energy
class ExtremeDeepNieFineCoattention(chainer.Chain):
"""
TODO
"""
def __init__(self, hidden_dim, out_dim, head, activation=functions.identity):
"""
:param hidden_dim: dimension of atom representation
:param out_dim: dimension of molecular representation
:param head: number of heads in attention mechanism
"""
super(ExtremeDeepNieFineCoattention, self).__init__()
self.n_lt_layers = 3
with self.init_scope():
self.energy_layer = links.Bilinear(hidden_dim, hidden_dim, 1)
self.attention_layer_1 = GraphLinear(head, 1, nobias=True)
self.attention_layer_2 = GraphLinear(head, 1, nobias=True)
# self.prev_lt_layer_1 = GraphLinear(hidden_dim, hidden_dim, nobias=False)
self.prev_lt_layers_1 = chainer.ChainList(
*[GraphLinear(hidden_dim, hidden_dim, nobias=False) for _ in range(self.n_lt_layers)]
)
# self.prev_lt_layer_2 = GraphLinear(hidden_dim, hidden_dim, nobias=False)
self.prev_lt_layers_2 = chainer.ChainList(
*[GraphLinear(hidden_dim, hidden_dim, nobias=False) for _ in range(self.n_lt_layers)]
)
self.lt_layer_1 = GraphLinear(hidden_dim, head, nobias=True)
self.lt_layer_2 = GraphLinear(hidden_dim, head, nobias=True)
self.j_layer = GraphLinear(hidden_dim, out_dim)
# modification for concat
self.hidden_dim = hidden_dim
self.out_dim = out_dim
self.head = head
self.activation = activation
def __call__(self, atoms_1, g_1, atoms_2, g_2):
"""
:param atoms_1: atomic representation of molecule 1, with shape of (mb, N_1, hidden_dim)
:param g_1: molecular representation of molecule 1, with shape of (mb, out_dim)
:param atoms_2: atomic representation of molecule 2, with shape of (mb, N_2, hidden_dim)
:param g_2: molecular representation of molecule 2, with shape of (mb, out_dim)
:return:
"""
# C: (mb, N_2, N_1)
C = self.compute_attention(query=atoms_2, key=atoms_1)
# L_2: (mb, N_2, N_1)
L_2 = functions.softmax(C, axis=1)
# L_1: (mb, N_1, N_2)
L_1 = functions.softmax(functions.transpose(C, (0, 2, 1)), axis=1)
# lt_atoms_1: (mb, N_1, hidden_dim) -> (mb, N_1, head)
for layer in self.prev_lt_layers_1:
atoms_1 = layer(atoms_1)
# atoms_1 = self.prev_lt_layer_1(atoms_1)
lt_atoms_1 = self.lt_layer_1(atoms_1)
# lt_atoms_2: (mb, N_2, hidden_dim) -> (mb, N_2, head)
for layer in self.prev_lt_layers_2:
atoms_2 = layer(atoms_2)
# atoms_2 = self.prev_lt_layer_2(atoms_2)
lt_atoms_2 = self.lt_layer_2(atoms_2)
# L_1: (mb, N_1, N_2), lt_atoms_2: (mb, N_2, head) -> (mb, N_1, head)
lt_atoms_2_C = functions.matmul(L_1, lt_atoms_2)
# H_1: (mb, N_1, head)
H_1 = functions.tanh(functions.add(lt_atoms_1, lt_atoms_2_C))
# L_2: (mb, N_2, N_1), lt_atoms_1: (mb, N_1, head)
# lt_atoms_1_C: (mb, N_2, head)
lt_atoms_1_C = functions.matmul(L_2, lt_atoms_1)
H_2 = functions.tanh(functions.add(lt_atoms_2, lt_atoms_1_C))
# attn_1: (mb, N_1, 1)
attn_1 = functions.softmax(self.attention_layer_1(H_1))
# attn_2: (mb, N_2, 1)
attn_2 = functions.softmax(self.attention_layer_2(H_2))
compact_1 = functions.sum(functions.tile(attn_1, reps=(1, 1, self.out_dim)) * self.j_layer(atoms_1), axis=1)
compact_2 = functions.sum(functions.tile(attn_2, reps=(1, 1, self.out_dim)) * self.j_layer(atoms_2), axis=1)
return compact_1, compact_2
def compute_attention(self, query, key):
"""
:param query: with shape of (mb, N_1, hidden_dim)
:param key: with shape of (mb, N_2, hidden_dim)
:param focus: indicate the focused molecule
:return: attn: attention weights (mb, N_1, N_2)
"""
energy_layer = self.energy_layer
mb, N_1, hidden_dim = query.shape
N_2 = key.shape[1]
# query: (mb, N_1, 1, hidden_dim)
query = functions.expand_dims(query, axis=2)
# query: (mb, N_1, N_2, hidden_dim)
query = functions.tile(query, reps=(1, 1, N_2, 1))
# query: (mb * N_1 * N_2, hidden_dim)
query = functions.reshape(query, (mb * N_1 * N_2, hidden_dim))
# key: (mb, 1, N_2, hidden_dim)
key = functions.expand_dims(key, axis=1)
# key: (mb, N_1, N_2, hidden_dim)
key = functions.tile(key, reps=(1, N_1, 1, 1))
# key: (mb * N_1 * N_2, hidden_dim)
key = functions.reshape(key, (mb * N_1 * N_2, hidden_dim))
# energy: (mb * N_1 * N_2, 1)
energy = self.activation(energy_layer(key, query))
energy = functions.reshape(energy, (mb, N_1, N_2))
return energy
class NieFineCoattention(chainer.Chain):
"""
TODO
"""
def __init__(self, hidden_dim, out_dim, head, activation=functions.identity):
"""
:param hidden_dim: dimension of atom representation
:param out_dim: dimension of molecular representation
:param head: number of heads in attention mechanism
"""
super(NieFineCoattention, self).__init__()
with self.init_scope():
self.energy_layer = links.Bilinear(hidden_dim, hidden_dim, 1)
self.attention_layer_1 = GraphLinear(head, 1, nobias=True)
self.attention_layer_2 = GraphLinear(head, 1, nobias=True)
self.lt_layer_1 = GraphLinear(hidden_dim, head, nobias=True)
self.lt_layer_2 = GraphLinear(hidden_dim, head, nobias=True)
self.j_layer = GraphLinear(hidden_dim, out_dim)
self.hidden_dim = hidden_dim
self.out_dim = out_dim
self.head = head
self.activation = activation
def __call__(self, atoms_1, g_1, atoms_2, g_2):
"""
:param atoms_1: atomic representation of molecule 1, with shape of (mb, N_1, hidden_dim)
:param g_1: molecular representation of molecule 1, with shape of (mb, out_dim)
:param atoms_2: atomic representation of molecule 2, with shape of (mb, N_2, hidden_dim)
:param g_2: molecular representation of molecule 2, with shape of (mb, out_dim)
:return:
"""
# C: (mb, N_2, N_1)
C = self.compute_attention(query=atoms_2, key=atoms_1)
# L_2: (mb, N_2, N_1)
L_2 = functions.softmax(C, axis=1)
# L_1: (mb, N_1, N_2)
L_1 = functions.softmax(functions.transpose(C, (0, 2, 1)), axis=1)
# lt_atoms_1: (mb, N_1, hidden_dim) -> (mb, N_1, head)
lt_atoms_1 = self.lt_layer_1(atoms_1)
# lt_atoms_2: (mb, N_2, hidden_dim) -> (mb, N_2, head)
lt_atoms_2 = self.lt_layer_2(atoms_2)
# L_1: (mb, N_1, N_2), lt_atoms_2: (mb, N_2, head) -> (mb, N_1, head)
lt_atoms_2_C = functions.matmul(L_1, lt_atoms_2)
# H_1: (mb, N_1, head)
H_1 = functions.tanh(functions.add(lt_atoms_1, lt_atoms_2_C))
# L_2: (mb, N_2, N_1), lt_atoms_1: (mb, N_1, head)
# lt_atoms_1_C: (mb, N_2, head)
lt_atoms_1_C = functions.matmul(L_2, lt_atoms_1)
H_2 = functions.tanh(functions.add(lt_atoms_2, lt_atoms_1_C))
# attn_1: (mb, N_1, 1)
attn_1 = functions.softmax(self.attention_layer_1(H_1))
# attn_2: (mb, N_2, 1)
attn_2 = functions.softmax(self.attention_layer_2(H_2))
compact_1 = functions.sum(functions.tile(attn_1, reps=(1, 1, self.out_dim)) * self.j_layer(atoms_1), axis=1)
compact_2 = functions.sum(functions.tile(attn_2, reps=(1, 1, self.out_dim)) * self.j_layer(atoms_2), axis=1)
return compact_1, compact_2
def compute_attention(self, query, key):
"""
:param query: with shape of (mb, N_1, hidden_dim)
:param key: with shape of (mb, N_2, hidden_dim)
:return: attn: attention weights (mb, N_1, N_2)
"""
energy_layer = self.energy_layer
mb, N_1, hidden_dim = query.shape
N_2 = key.shape[1]
# query: (mb, N_1, 1, hidden_dim)
query = functions.expand_dims(query, axis=2)
# query: (mb, N_1, N_2, hidden_dim)
query = functions.tile(query, reps=(1, 1, N_2, 1))
# query: (mb * N_1 * N_2, hidden_dim)
query = functions.reshape(query, (mb * N_1 * N_2, hidden_dim))
# key: (mb, 1, N_2, hidden_dim)
key = functions.expand_dims(key, axis=1)
# key: (mb, N_1, N_2, hidden_dim)
key = functions.tile(key, reps=(1, N_1, 1, 1))
# key: (mb * N_1 * N_2, hidden_dim)
key = functions.reshape(key, (mb * N_1 * N_2, hidden_dim))
# energy: (mb * N_1 * N_2, 1)
energy = self.activation(energy_layer(key, query))
energy = functions.reshape(energy, (mb, N_1, N_2))
return energy
class FourierFineCoattention(chainer.Chain):
"""
TODO
"""
def __init__(self, hidden_dim, out_dim, head, activation=functions.identity):
"""
:param hidden_dim: dimension of atom representation
:param out_dim: dimension of molecular representation
:param head: number of heads in attention mechanism
"""
super(FourierFineCoattention, self).__init__()
with self.init_scope():
self.energy_layer = links.Bilinear(hidden_dim, hidden_dim, 1)
self.attention_layer_1 = GraphLinear(head, 1, nobias=True)
self.attention_layer_2 = GraphLinear(head, 1, nobias=True)
self.lt_layer_1 = GraphLinear(hidden_dim, head, nobias=True)
self.lt_layer_2 = GraphLinear(hidden_dim, head, nobias=True)
self.j_layer = GraphLinear(hidden_dim, out_dim)
self.hidden_dim = hidden_dim
self.out_dim = out_dim
self.head = head
self.activation = activation
def __call__(self, atoms_1, g_1, atoms_2, g_2):
"""
:param atoms_1: atomic representation of molecule 1, with shape of (mb, N_1, hidden_dim)
:param g_1: molecular representation of molecule 1, with shape of (mb, out_dim)
:param atoms_2: atomic representation of molecule 2, with shape of (mb, N_2, hidden_dim)
:param g_2: molecular representation of molecule 2, with shape of (mb, out_dim)
:return:
"""
# C: (mb, N_2, N_1)
C = self.compute_attention(query=atoms_2, key=atoms_1)
# L_2: (mb, N_2, N_1)
L_2 = functions.softmax(C, axis=1)
# L_1: (mb, N_1, N_2)
L_1 = functions.softmax(functions.transpose(C, (0, 2, 1)), axis=1)
# lt_atoms_1: (mb, N_1, hidden_dim) -> (mb, N_1, head)
lt_atoms_1 = self.lt_layer_1(atoms_1)
# lt_atoms_2: (mb, N_2, hidden_dim) -> (mb, N_2, head)
lt_atoms_2 = self.lt_layer_2(atoms_2)
# L_1: (mb, N_1, N_2), lt_atoms_2: (mb, N_2, head) -> (mb, N_1, head)
lt_atoms_2_C = functions.matmul(L_1, lt_atoms_2)
# H_1: (mb, N_1, head)
H_1 = functions.tanh(functions.add(lt_atoms_1, lt_atoms_2_C))
# L_2: (mb, N_2, N_1), lt_atoms_1: (mb, N_1, head)
# lt_atoms_1_C: (mb, N_2, head)
lt_atoms_1_C = functions.matmul(L_2, lt_atoms_1)
H_2 = functions.tanh(functions.add(lt_atoms_2, lt_atoms_1_C))
# attn_1: (mb, N_1, 1)
attn_1 = functions.softmax(self.attention_layer_1(H_1))
# attn_2: (mb, N_2, 1)
attn_2 = functions.softmax(self.attention_layer_2(H_2))
compact_1 = functions.sum(functions.tile(attn_1, reps=(1, 1, self.out_dim)) * self.j_layer(atoms_1), axis=1)
compact_2 = functions.sum(functions.tile(attn_2, reps=(1, 1, self.out_dim)) * self.j_layer(atoms_2), axis=1)
return compact_1, compact_2
def compute_attention(self, query, key):
"""
:param query: with shape of (mb, N_1, hidden_dim)
:param key: with shape of (mb, N_2, hidden_dim)
:return: attn: attention weights (mb, N_1, N_2)
"""
energy_layer = self.energy_layer
mb, N_1, hidden_dim = query.shape
N_2 = key.shape[1]
# # query: (mb, N_1, 1, hidden_dim)
# query = functions.expand_dims(query, axis=2)
# # query: (mb, N_1, N_2, hidden_dim)
# query = functions.tile(query, reps=(1, 1, N_2, 1))
# # query: (mb * N_1 * N_2, hidden_dim)
# query = functions.reshape(query, (mb * N_1 * N_2, hidden_dim))
# query: (mb * N_1 hidden_dim)
# # key: (mb, 1, N_2, hidden_dim)
# key = functions.expand_dims(key, axis=1)
# # key: (mb, N_1, N_2, hidden_dim)
# key = functions.tile(key, reps=(1, N_1, 1, 1))
# # key: (mb * N_1 * N_2, hidden_dim)
# key = functions.reshape(key, (mb * N_1 * N_2, hidden_dim))
# key: (mb * N_2, hidden_dim)
# energy: (mb * N_1 * N_2, 1)
# energy = self.activation(energy_layer(key, query))
query_real, query_imag = self.fourier_transform(query)
key_real, key_imag = self.fourier_transform(key)
query_real = functions.reshape(
functions.tile(functions.expand_dims(query_real, axis=2), reps=(1, 1, N_2, 1)),
shape=(mb * N_1 * N_2, hidden_dim))
query_imag = functions.reshape(
functions.tile(functions.expand_dims(query_imag, axis=2), reps=(1, 1, N_2, 1)),
shape=(mb * N_1 * N_2, hidden_dim))
key_real = functions.reshape(
functions.tile(functions.expand_dims(key_real, axis=1), reps=(1, N_1, 1, 1)),
shape=(mb * N_1 * N_2, hidden_dim))
key_imag = functions.reshape(
functions.tile(functions.expand_dims(key_imag, axis=1), reps=(1, N_1, 1, 1)),
shape=(mb * N_1 * N_2, hidden_dim))
energy = self.activation(energy_layer(key_real, query_real) + energy_layer(key_imag, query_imag))
energy = functions.reshape(energy, (mb, N_1, N_2))
return energy
def fourier_transform(self, x):
"""
:param x: (mb, N, hidden_dim)
:return: tuple of x_fft_real and x_fft_imag, (mb, N, hidden_dim)
"""
x_real = x
x_imag = chainer.as_variable(self.xp.zeros_like(x_real, dtype=self.xp.float32))
x_fft_real, x_fft_imag = functions.fft((x_real, x_imag))
return x_fft_real, x_fft_imag
# def circular_correlation(self, left_x, right_x):
# """
# Computes the circular correlation of two vectors a and b via their fast fourier transforms
# In python code, ifft(np.conj(fft(a)) * fft(b)).real
# :param left_x:
# :param right_x:
#
# (a - j * b) * (c + j * d) = (ac + bd) + j * (ad - bc)
# :return:
# """
# left_x_real = left_x
# left_x_imag = chainer.as_variable(self.xp.zeros_like(left_x_real, dtype=self.xp.float32))
# left_x_fft_real, left_x_fft_imag = functions.fft((left_x_real, left_x_imag))
#
# right_x_real = right_x
# right_x_imag = chainer.as_variable(self.xp.zeros_like(right_x_real, dtype=self.xp.float32))
# right_x_fft_real, right_x_fft_imag = functions.fft((right_x_real, right_x_imag))
#
# prod_fft_real = left_x_fft_real * right_x_fft_real + left_x_fft_imag * right_x_fft_imag
# prod_fft_imag = left_x_fft_real * right_x_fft_imag - left_x_fft_imag * right_x_fft_real
#
# ifft_real, _ = functions.ifft((prod_fft_real, prod_fft_imag))
# return ifft_real
| 47.423006
| 117
| 0.604476
| 3,893
| 25,561
| 3.652196
| 0.038531
| 0.034393
| 0.030947
| 0.020748
| 0.927838
| 0.91982
| 0.907793
| 0.898439
| 0.88191
| 0.8734
| 0
| 0.042923
| 0.277219
| 25,561
| 539
| 118
| 47.423006
| 0.726658
| 0.333985
| 0
| 0.838583
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.009276
| 0
| 1
| 0.062992
| false
| 0
| 0.019685
| 0
| 0.145669
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
0f1e5b81b4bb675f356ee6d93e4ecc191ac24db9
| 8,448
|
py
|
Python
|
src/hcb/codes/surface/memory_test.py
|
Strilanc/honeycomb-boundaries
|
cc33baac44c7831bd643db81d0053f8ec6eae9d8
|
[
"Apache-2.0"
] | null | null | null |
src/hcb/codes/surface/memory_test.py
|
Strilanc/honeycomb-boundaries
|
cc33baac44c7831bd643db81d0053f8ec6eae9d8
|
[
"Apache-2.0"
] | 2
|
2022-02-25T22:28:24.000Z
|
2022-03-23T21:09:04.000Z
|
src/hcb/codes/surface/memory_test.py
|
Strilanc/honeycomb-boundaries
|
cc33baac44c7831bd643db81d0053f8ec6eae9d8
|
[
"Apache-2.0"
] | null | null | null |
import stim
from hcb.codes import generate_surface_code_memory_problem
from hcb.tools.analysis.collecting import DecodingProblemDesc
def test_generate_surface_code_memory_problem_transversal_Z():
problem = generate_surface_code_memory_problem(
distance=3,
rounds=12,
noise=0.001,
basis="transversal_Z",
decoder='pymatching',
)
assert len(problem.all_layouts) == 1
assert problem.decoding_problem.desc == DecodingProblemDesc(
data_width=3,
data_height=3,
code_distance=3,
num_qubits=17,
rounds=12,
noise=0.001,
circuit_style='surface_code_memory',
preserved_observable='transversal_Z',
decoder='pymatching',
)
assert problem.graphlike_code_distance() == 3
assert 900 < problem.sample_correct_count(1000) < 1000
def test_generate_surface_code_memory_problem_transversal_X():
problem = generate_surface_code_memory_problem(
distance=3,
rounds=12,
noise=0.001,
basis="transversal_X",
decoder='pymatching',
)
assert len(problem.all_layouts) == 1
assert problem.decoding_problem.desc == DecodingProblemDesc(
data_width=3,
data_height=3,
code_distance=3,
num_qubits=17,
rounds=12,
noise=0.001,
circuit_style='surface_code_memory',
preserved_observable='transversal_X',
decoder='pymatching',
)
assert 900 < problem.sample_correct_count(1000) < 1000
def test_generate_surface_code_memory_problem_frayed_EPR_XX_ZZ():
problem = generate_surface_code_memory_problem(
distance=3,
rounds=12,
noise=0.001,
basis="frayed_EPR_XX_ZZ",
decoder='pymatching',
)
assert len(problem.all_layouts) == 1
assert len(problem.noisy_circuit.detector_error_model(decompose_errors=True).shortest_graphlike_error()) == 3
assert problem.decoding_problem.desc == DecodingProblemDesc(
data_width=3,
data_height=3,
code_distance=3,
num_qubits=18,
rounds=12,
noise=0.001,
circuit_style='surface_code_memory',
preserved_observable='frayed_EPR_XX_ZZ',
decoder='pymatching',
)
assert 900 < problem.sample_correct_count(1000) < 1000
def test_generate_surface_code_memory_problem_frayed_Y():
problem = generate_surface_code_memory_problem(
distance=3,
rounds=12,
noise=0.001,
basis="frayed_Y",
decoder='pymatching',
)
assert len(problem.all_layouts) == 1
assert problem.decoding_problem.desc == DecodingProblemDesc(
data_width=3,
data_height=3,
code_distance=3,
num_qubits=17,
rounds=12,
noise=0.001,
circuit_style='surface_code_memory',
preserved_observable='frayed_Y',
decoder='pymatching',
)
assert 900 < problem.sample_correct_count(1000) < 1000
def test_generate_memory_exact_circuit():
assert generate_surface_code_memory_problem(
distance=3,
rounds=12,
noise=0.001,
basis="transversal_Z",
decoder='pymatching',
).noisy_circuit == stim.Circuit("""
QUBIT_COORDS(0, 0) 0
QUBIT_COORDS(0, 1) 1
QUBIT_COORDS(0, 2) 2
QUBIT_COORDS(1, 0) 3
QUBIT_COORDS(1, 1) 4
QUBIT_COORDS(1, 2) 5
QUBIT_COORDS(2, 0) 6
QUBIT_COORDS(2, 1) 7
QUBIT_COORDS(2, 2) 8
QUBIT_COORDS(-0.5, 1.5) 9
QUBIT_COORDS(0.5, -0.5) 10
QUBIT_COORDS(0.5, 0.5) 11
QUBIT_COORDS(0.5, 1.5) 12
QUBIT_COORDS(1.5, 0.5) 13
QUBIT_COORDS(1.5, 1.5) 14
QUBIT_COORDS(1.5, 2.5) 15
QUBIT_COORDS(2.5, 0.5) 16
R 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
X_ERROR(0.001) 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
TICK
H 10 12 13 15
DEPOLARIZE1(0.001) 10 12 13 15 0 1 2 3 4 5 6 7 8 9 11 14 16
TICK
CX 0 11 4 14 6 16 12 1 13 3 15 5
DEPOLARIZE2(0.001) 0 11 4 14 6 16 12 1 13 3 15 5
DEPOLARIZE1(0.001) 2 7 8 9 10
TICK
CX 1 11 5 14 7 16 12 4 13 6 15 8
DEPOLARIZE2(0.001) 1 11 5 14 7 16 12 4 13 6 15 8
DEPOLARIZE1(0.001) 0 2 3 9 10
TICK
CX 1 9 3 11 7 14 10 0 12 2 13 4
DEPOLARIZE2(0.001) 1 9 3 11 7 14 10 0 12 2 13 4
DEPOLARIZE1(0.001) 5 6 8 15 16
TICK
CX 2 9 4 11 8 14 10 3 12 5 13 7
DEPOLARIZE2(0.001) 2 9 4 11 8 14 10 3 12 5 13 7
DEPOLARIZE1(0.001) 0 1 6 15 16
TICK
H 10 12 13 15
DEPOLARIZE1(0.001) 10 12 13 15 0 1 2 3 4 5 6 7 8 9 11 14 16
TICK
X_ERROR(0.001) 9 10 11 12 13 14 15 16
M 9 10 11 12 13 14 15 16
DETECTOR(-0.5, 1.5, 0) rec[-8]
DETECTOR(0.5, 0.5, 0) rec[-6]
DETECTOR(1.5, 1.5, 0) rec[-3]
DETECTOR(2.5, 0.5, 0) rec[-1]
SHIFT_COORDS(0, 0, 1)
DEPOLARIZE1(0.001) 0 1 2 3 4 5 6 7 8
REPEAT 10 {
TICK
R 9 10 11 12 13 14 15 16
X_ERROR(0.001) 9 10 11 12 13 14 15 16
DEPOLARIZE1(0.001) 0 1 2 3 4 5 6 7 8
TICK
H 10 12 13 15
DEPOLARIZE1(0.001) 10 12 13 15 0 1 2 3 4 5 6 7 8 9 11 14 16
TICK
CX 0 11 4 14 6 16 12 1 13 3 15 5
DEPOLARIZE2(0.001) 0 11 4 14 6 16 12 1 13 3 15 5
DEPOLARIZE1(0.001) 2 7 8 9 10
TICK
CX 1 11 5 14 7 16 12 4 13 6 15 8
DEPOLARIZE2(0.001) 1 11 5 14 7 16 12 4 13 6 15 8
DEPOLARIZE1(0.001) 0 2 3 9 10
TICK
CX 1 9 3 11 7 14 10 0 12 2 13 4
DEPOLARIZE2(0.001) 1 9 3 11 7 14 10 0 12 2 13 4
DEPOLARIZE1(0.001) 5 6 8 15 16
TICK
CX 2 9 4 11 8 14 10 3 12 5 13 7
DEPOLARIZE2(0.001) 2 9 4 11 8 14 10 3 12 5 13 7
DEPOLARIZE1(0.001) 0 1 6 15 16
TICK
H 10 12 13 15
DEPOLARIZE1(0.001) 10 12 13 15 0 1 2 3 4 5 6 7 8 9 11 14 16
TICK
X_ERROR(0.001) 9 10 11 12 13 14 15 16
M 9 10 11 12 13 14 15 16
DETECTOR(-0.5, 1.5, 0) rec[-16] rec[-8]
DETECTOR(0.5, -0.5, 0) rec[-15] rec[-7]
DETECTOR(0.5, 0.5, 0) rec[-14] rec[-6]
DETECTOR(0.5, 1.5, 0) rec[-13] rec[-5]
DETECTOR(1.5, 0.5, 0) rec[-12] rec[-4]
DETECTOR(1.5, 1.5, 0) rec[-11] rec[-3]
DETECTOR(1.5, 2.5, 0) rec[-10] rec[-2]
DETECTOR(2.5, 0.5, 0) rec[-9] rec[-1]
SHIFT_COORDS(0, 0, 1)
DEPOLARIZE1(0.001) 0 1 2 3 4 5 6 7 8
}
R 9 10 11 12 13 14 15 16
X_ERROR(0.001) 9 10 11 12 13 14 15 16
DEPOLARIZE1(0.001) 0 1 2 3 4 5 6 7 8
TICK
H 10 12 13 15
DEPOLARIZE1(0.001) 10 12 13 15 0 1 2 3 4 5 6 7 8 9 11 14 16
TICK
CX 0 11 4 14 6 16 12 1 13 3 15 5
DEPOLARIZE2(0.001) 0 11 4 14 6 16 12 1 13 3 15 5
DEPOLARIZE1(0.001) 2 7 8 9 10
TICK
CX 1 11 5 14 7 16 12 4 13 6 15 8
DEPOLARIZE2(0.001) 1 11 5 14 7 16 12 4 13 6 15 8
DEPOLARIZE1(0.001) 0 2 3 9 10
TICK
CX 1 9 3 11 7 14 10 0 12 2 13 4
DEPOLARIZE2(0.001) 1 9 3 11 7 14 10 0 12 2 13 4
DEPOLARIZE1(0.001) 5 6 8 15 16
TICK
CX 2 9 4 11 8 14 10 3 12 5 13 7
DEPOLARIZE2(0.001) 2 9 4 11 8 14 10 3 12 5 13 7
DEPOLARIZE1(0.001) 0 1 6 15 16
TICK
H 10 12 13 15
DEPOLARIZE1(0.001) 10 12 13 15 0 1 2 3 4 5 6 7 8 9 11 14 16
TICK
X_ERROR(0.001) 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
M 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
DETECTOR(-0.5, 1.5, 0) rec[-25] rec[-8]
DETECTOR(0.5, -0.5, 0) rec[-24] rec[-7]
DETECTOR(0.5, 0.5, 0) rec[-23] rec[-6]
DETECTOR(0.5, 1.5, 0) rec[-22] rec[-5]
DETECTOR(1.5, 0.5, 0) rec[-21] rec[-4]
DETECTOR(1.5, 1.5, 0) rec[-20] rec[-3]
DETECTOR(1.5, 2.5, 0) rec[-19] rec[-2]
DETECTOR(2.5, 0.5, 0) rec[-18] rec[-1]
SHIFT_COORDS(0, 0, 1)
DETECTOR(-0.5, 1.5, 0) rec[-16] rec[-15] rec[-8]
DETECTOR(0.5, 0.5, 0) rec[-17] rec[-16] rec[-14] rec[-13] rec[-6]
DETECTOR(1.5, 1.5, 0) rec[-13] rec[-12] rec[-10] rec[-9] rec[-3]
DETECTOR(2.5, 0.5, 0) rec[-11] rec[-10] rec[-1]
OBSERVABLE_INCLUDE(0) rec[-17] rec[-14] rec[-11]
""")
| 34.202429
| 113
| 0.55599
| 1,562
| 8,448
| 2.907811
| 0.06402
| 0.043153
| 0.02642
| 0.012329
| 0.876486
| 0.861735
| 0.848525
| 0.839938
| 0.826508
| 0.724791
| 0
| 0.281805
| 0.346828
| 8,448
| 246
| 114
| 34.341463
| 0.541319
| 0
| 0
| 0.675325
| 1
| 0.060606
| 0.650687
| 0.002486
| 0
| 0
| 0
| 0
| 0.064935
| 1
| 0.021645
| false
| 0
| 0.012987
| 0
| 0.034632
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 9
|
0f4df397c1a5bbb04c0dc8adcf70be689cd6bf0f
| 32,247
|
py
|
Python
|
project/exact_distributions_correlation/exact_distributions_correlation_plot.py
|
juanhenao21/exact_distributions_financial
|
02eb058e5f963fbccb9029aae3fb6e15def7a93a
|
[
"MIT"
] | 2
|
2021-03-20T18:24:22.000Z
|
2021-04-15T07:25:50.000Z
|
project/exact_distributions_correlation/exact_distributions_correlation_plot.py
|
juanhenao21/exact_distributions_financial
|
02eb058e5f963fbccb9029aae3fb6e15def7a93a
|
[
"MIT"
] | null | null | null |
project/exact_distributions_correlation/exact_distributions_correlation_plot.py
|
juanhenao21/exact_distributions_financial
|
02eb058e5f963fbccb9029aae3fb6e15def7a93a
|
[
"MIT"
] | null | null | null |
"""Exact distributions correlation plot module.
The functions in the module plot the data obtained in the
exact_distributions_correlation_analysis module.
This script requires the following modules:
* gc
* pickle
* typing
* matplotlib
* numpy
* pandas
* seaborn
* exact_distributions_correlation_tools
The module contains the following functions:
* returns_plot - plots the returns of five stocks.
* aggregated_dist_returns_market_plot - plots the aggregated distribution
of returns for a market.
* main - the main function of the script.
.. moduleauthor:: Juan Camilo Henao Londono <www.github.com/juanhenao21>
"""
# -----------------------------------------------------------------------------
# Modules
import gc
import pickle
from typing import List
from matplotlib import pyplot as plt # type: ignore
import numpy as np # type: ignore
import pandas as pd # type: ignore
import seaborn as sns # type: ignore
import exact_distributions_correlation_tools
# -----------------------------------------------------------------------------
def returns_plot(dates: List[str], time_step: str) -> None:
"""Plots the returns of five stocks.
:param dates: List of the interval of dates to be analyzed
(i.e. ['1980-01', '2020-12']).
:param time_step: time step of the data (i.e. '1m', '2m', '5m', ...).
:return: None -- The function saves the plot in a file and does not return
a value.
"""
function_name: str = returns_plot.__name__
exact_distributions_correlation_tools.function_header_print_plot(
function_name, dates, time_step
)
try:
# Load data
returns_data: pd.DataFrame = pickle.load(
open(
f"../data/exact_distributions_correlation/returns_data"
+ f"_{dates[0]}_{dates[1]}_step_{time_step}.pickle",
"rb",
)
).iloc[:, :5]
plot: np.ndarray = returns_data.plot(
subplots=True, sharex=True, figsize=(16, 16), grid=True, sort_columns=True
)
_ = [ax.set_ylabel("Returns", fontsize=20) for ax in plot]
_ = [plot.legend(loc=1, fontsize=20) for plot in plt.gcf().axes]
plt.xlabel(f"Date - {time_step}", fontsize=20)
plt.tight_layout(pad=0.5)
figure: plt.Figure = plot[0].get_figure()
# Plotting
exact_distributions_correlation_tools.save_plot(
figure, function_name, dates, time_step
)
plt.close()
del returns_data
del figure
gc.collect()
except FileNotFoundError as error:
print("No data")
print(error)
print()
# -----------------------------------------------------------------------------
def aggregated_dist_returns_market_plot(dates: List[str], time_step: str) -> None:
"""Plots the aggregated distribution of returns for a market.
:param dates: List of the interval of dates to be analyzed
(i.e. ['1980-01', '2020-12']).
:param time_step: time step of the data (i.e. '1m', '2m', '5m', ...).
:return: None -- The function saves the plot in a file and does not return
a value.
"""
function_name: str = aggregated_dist_returns_market_plot.__name__
exact_distributions_correlation_tools.function_header_print_plot(
function_name, dates, time_step
)
try:
# Load data
agg_returns_data: pd.Series = pickle.load(
open(
"../data/exact_distributions_correlation/aggregated_dist_returns"
+ f"_market_data_{dates[0]}_{dates[1]}_step_{time_step}.pickle",
"rb",
)
)
agg_returns_data = agg_returns_data.rename("Agg. returns")
x_gauss: np.ndarray = np.arange(-10, 10, 0.1)
gaussian: np.ndarray = (
exact_distributions_correlation_tools.gaussian_distribution(0, 1, x_gauss)
)
# Log plot
plot_log = agg_returns_data.plot(
kind="density", style="-", logy=True, figsize=(16, 9), legend=True, lw=3
)
plt.semilogy(x_gauss, gaussian, "o", lw=3, label="Gaussian")
plt.legend(fontsize=20)
plt.title(
f"Aggregated distribution returns from {dates[0]} to"
+ f" {dates[1]} - {time_step}",
fontsize=30,
)
plt.xlabel("Aggregated returns", fontsize=25)
plt.ylabel("PDF", fontsize=25)
plt.xticks(fontsize=15)
plt.yticks(fontsize=15)
plt.xlim(-10, 10)
plt.ylim(10 ** -9, 1)
plt.grid(True)
plt.tight_layout()
figure_log: plt.Figure = plot_log.get_figure()
left, bottom, width, height = [0.36, 0.13, 0.35, 0.3]
ax2 = figure_log.add_axes([left, bottom, width, height])
agg_returns_data.plot(kind="density", style="-", legend=False, lw=3)
ax2.plot(x_gauss, gaussian, "o")
plt.xlim(-2, 2)
plt.ylim(0, 0.6)
plt.grid(True)
# Plotting
exact_distributions_correlation_tools.save_plot(
figure_log, function_name + "_log", dates, time_step
)
plt.close()
del agg_returns_data
del figure_log
del plot_log
gc.collect()
except FileNotFoundError as error:
print("No data")
print(error)
print()
# -----------------------------------------------------------------------------
def pdf_gg_plot(dates: List[str], time_step: str) -> None:
"""Plots the Gaussian-Gaussian PDF and compares with agg. returns of a
market.
:param dates: List of the interval of dates to be analyzed
(i.e. ['1980-01', '2020-12']).
:param time_step: time step of the data (i.e. '1m', '2m', '5m', ...).
:return: None -- The function saves the plot in a file and does not return
a value.
"""
function_name: str = pdf_gg_plot.__name__
exact_distributions_correlation_tools.function_header_print_plot(
function_name, dates, time_step
)
try:
# Load data
agg_returns_data: pd.Series = pickle.load(
open(
"../data/exact_distributions_correlation/aggregated_dist_returns"
+ f"_market_data_{dates[0]}_{dates[1]}_step_{time_step}.pickle",
"rb",
)
)
agg_returns_data = agg_returns_data.rename("Agg. returns")
x_val: np.ndarray = np.arange(-10, 10, 0.1)
# Log plot
plot_log = agg_returns_data.plot(
kind="density", style="-", logy=True, figsize=(16, 9), legend=True, lw=3
)
if dates[0] == "1972-01":
N = 5.5
elif dates[0] == "1992-01":
N = 5
else:
N = 7
gg_distribution: np.ndarray = (
exact_distributions_correlation_tools.pdf_gaussian_gaussian(x_val, N, 1)
)
plt.semilogy(x_val, gg_distribution, "o", lw=3, label=f"GG - N = {N}")
plt.legend(fontsize=20)
plt.title(
f"Aggregated distribution returns from {dates[0]} to"
+ f" {dates[1]} - {time_step}",
fontsize=30,
)
plt.xlabel("Aggregated returns", fontsize=25)
plt.ylabel("PDF", fontsize=25)
plt.xticks(fontsize=15)
plt.yticks(fontsize=15)
plt.xlim(-10, 10)
plt.ylim(10 ** -9, 1)
plt.grid(True)
plt.tight_layout()
figure_log: plt.Figure = plot_log.get_figure()
left, bottom, width, height = [0.36, 0.13, 0.35, 0.3]
ax2 = figure_log.add_axes([left, bottom, width, height])
agg_returns_data.plot(kind="density", style="-", legend=False, lw=3)
ax2.plot(x_val, gg_distribution, "o")
plt.xlim(-2, 2)
plt.ylim(0, 0.6)
plt.grid(True)
# Plotting
exact_distributions_correlation_tools.save_plot(
figure_log, function_name, dates, time_step
)
plt.close()
del agg_returns_data
del figure_log
del plot_log
gc.collect()
except FileNotFoundError as error:
print("No data")
print(error)
print()
# -----------------------------------------------------------------------------
def pdf_ga_plot(dates: List[str], time_step: str) -> None:
"""Plots the Gaussian-Algebraic PDF and compares with agg. returns of a
market.
:param dates: List of the interval of dates to be analyzed
(i.e. ['1980-01', '2020-12']).
:param time_step: time step of the data (i.e. '1m', '2m', '5m', ...).
:return: None -- The function saves the plot in a file and does not return
a value.
"""
function_name: str = pdf_ga_plot.__name__
exact_distributions_correlation_tools.function_header_print_plot(
function_name, dates, time_step
)
try:
# Load data
agg_returns_data: pd.Series = pickle.load(
open(
"../data/exact_distributions_correlation/aggregated_dist_returns"
+ f"_market_data_{dates[0]}_{dates[1]}_step_{time_step}.pickle",
"rb",
)
)
agg_returns_data = agg_returns_data.rename("Agg. returns")
x_val: np.ndarray = np.arange(-10, 10, 0.1)
# Log plot
plot_log = agg_returns_data.plot(
kind="density", style="-", logy=True, figsize=(16, 9), legend=True, lw=3
)
if dates[0] == "1972-01":
N = 5.5
K = 23
L = 55
elif dates[0] == "1992-01":
N = 6
K = 277
L = 150
else:
N = 7
K = 461
L = 280
ga_distribution: np.ndarray = (
exact_distributions_correlation_tools.pdf_gaussian_algebraic(
x_val, K, L, N, 1
)
)
plt.semilogy(
x_val, ga_distribution, "o", lw=3, label=f"GA - N = {N} - K = {K} - L = {L}"
)
plt.legend(fontsize=20)
plt.title(
f"Aggregated distribution returns from {dates[0]} to"
+ f" {dates[1]} - {time_step}",
fontsize=30,
)
plt.xlabel("Aggregated returns", fontsize=25)
plt.ylabel("PDF", fontsize=25)
plt.xticks(fontsize=15)
plt.yticks(fontsize=15)
plt.xlim(-10, 10)
plt.ylim(10 ** -9, 1)
plt.grid(True)
plt.tight_layout()
figure_log: plt.Figure = plot_log.get_figure()
left, bottom, width, height = [0.36, 0.13, 0.35, 0.3]
ax2 = figure_log.add_axes([left, bottom, width, height])
agg_returns_data.plot(kind="density", style="-", legend=False, lw=3)
ax2.plot(x_val, ga_distribution, "o")
plt.xlim(-2, 2)
plt.ylim(0, 0.6)
plt.grid(True)
# Plotting
exact_distributions_correlation_tools.save_plot(
figure_log, function_name, dates, time_step
)
plt.close()
del agg_returns_data
del figure_log
del plot_log
gc.collect()
except FileNotFoundError as error:
print("No data")
print(error)
print()
# -----------------------------------------------------------------------------
def pdf_ag_plot(dates: List[str], time_step: str) -> None:
"""Plots the Algebraic-Gaussian PDF and compares with agg. returns of a
market.
:param dates: List of the interval of dates to be analyzed
(i.e. ['1980-01', '2020-12']).
:param time_step: time step of the data (i.e. '1m', '2m', '5m', ...).
:return: None -- The function saves the plot in a file and does not return
a value.
"""
function_name: str = pdf_ag_plot.__name__
exact_distributions_correlation_tools.function_header_print_plot(
function_name, dates, time_step
)
try:
# Load data
agg_returns_data: pd.Series = pickle.load(
open(
"../data/exact_distributions_correlation/aggregated_dist_returns"
+ f"_market_data_{dates[0]}_{dates[1]}_step_{time_step}.pickle",
"rb",
)
)
agg_returns_data = agg_returns_data.rename("Agg. returns")
x_val: np.ndarray = np.arange(-10, 10, 0.1)
# Log plot
plot_log = agg_returns_data.plot(
kind="density", style="-", logy=True, figsize=(16, 9), legend=True, lw=3
)
if dates[0] == "1972-01":
N = 5.5
K = 23
l = 55
elif dates[0] == "1992-01":
N = 6
K = 277
l = 150
else:
N = 7
K = 461
l = 280
ag_distribution: np.ndarray = (
exact_distributions_correlation_tools.pdf_algebraic_gaussian(
x_val, K, l, N, 1
)
)
plt.semilogy(
x_val, ag_distribution, "o", lw=3, label=f"AG - N = {N} - K = {K} - l = {l}"
)
plt.legend(fontsize=20)
plt.title(
f"Aggregated distribution returns from {dates[0]} to"
+ f" {dates[1]} - {time_step}",
fontsize=30,
)
plt.xlabel("Aggregated returns", fontsize=25)
plt.ylabel("PDF", fontsize=25)
plt.xticks(fontsize=15)
plt.yticks(fontsize=15)
plt.xlim(-10, 10)
plt.ylim(10 ** -9, 1)
plt.grid(True)
plt.tight_layout()
figure_log: plt.Figure = plot_log.get_figure()
left, bottom, width, height = [0.36, 0.13, 0.35, 0.3]
ax2 = figure_log.add_axes([left, bottom, width, height])
agg_returns_data.plot(kind="density", style="-", legend=False, lw=3)
ax2.plot(x_val, ag_distribution, "o")
plt.xlim(-2, 2)
plt.ylim(0, 0.6)
plt.grid(True)
# Plotting
exact_distributions_correlation_tools.save_plot(
figure_log, function_name, dates, time_step
)
plt.close()
del agg_returns_data
del figure_log
del plot_log
gc.collect()
except FileNotFoundError as error:
print("No data")
print(error)
print()
# -----------------------------------------------------------------------------
def pdf_aa_plot(dates: List[str], time_step: str) -> None:
"""Plots the Algebraic-Algebraic PDF and compares with agg. returns of a
market.
:param dates: List of the interval of dates to be analyzed
(i.e. ['1980-01', '2020-12']).
:param time_step: time step of the data (i.e. '1m', '2m', '5m', ...).
:return: None -- The function saves the plot in a file and does not return
a value.
"""
function_name: str = pdf_aa_plot.__name__
exact_distributions_correlation_tools.function_header_print_plot(
function_name, dates, time_step
)
try:
# Load data
agg_returns_data: pd.Series = pickle.load(
open(
"../data/exact_distributions_correlation/aggregated_dist_returns"
+ f"_market_data_{dates[0]}_{dates[1]}_step_{time_step}.pickle",
"rb",
)
)
agg_returns_data = agg_returns_data.rename("Agg. returns")
x_val: np.ndarray = np.arange(-10, 10, 0.1)
# Log plot
plot_log = agg_returns_data.plot(
kind="density", style="-", logy=True, figsize=(16, 9), legend=True, lw=3
)
if dates[0] == "1972-01":
N = 6
K = 23
L = 55
l = 55
elif dates[0] == "1992-01":
N = 9
K = 277
L = 150
l = 150
else:
N = 8
K = 461
L = 280
l = 280
aa_distribution: np.ndarray = (
exact_distributions_correlation_tools.pdf_algebraic_algebraic(
x_val, K, L, l, N, 1
)
)
plt.semilogy(
x_val,
aa_distribution,
"o",
lw=3,
label=f"AA - N = {N} - K = {K} - L = {L}" + f" - l = {l}",
)
plt.legend(loc="upper right", fontsize=20)
plt.title(
f"Aggregated distribution returns from {dates[0]} to"
+ f" {dates[1]} - {time_step}",
fontsize=30,
)
plt.xlabel("Aggregated returns", fontsize=25)
plt.ylabel("PDF", fontsize=25)
plt.xticks(fontsize=15)
plt.yticks(fontsize=15)
plt.xlim(-10, 10)
plt.ylim(10 ** -9, 1)
plt.grid(True)
plt.tight_layout()
figure_log: plt.Figure = plot_log.get_figure()
left, bottom, width, height = [0.36, 0.13, 0.35, 0.3]
ax2 = figure_log.add_axes([left, bottom, width, height])
agg_returns_data.plot(kind="density", style="-", legend=False, lw=3)
ax2.plot(x_val, aa_distribution, "o")
plt.xlim(-2, 2)
plt.ylim(0, 0.6)
plt.grid(True)
# Plotting
exact_distributions_correlation_tools.save_plot(
figure_log, function_name, dates, time_step
)
plt.close()
del agg_returns_data
del figure_log
del plot_log
gc.collect()
except FileNotFoundError as error:
print("No data")
print(error)
print()
# -----------------------------------------------------------------------------
def pdf_lin_all_distributions_plot(dates: List[str], time_step: str) -> None:
"""Plots all the distributions and compares with agg. returns of a market.
:param dates: List of the interval of dates to be analyzed
(i.e. ['1980-01', '2020-12']).
:param time_step: time step of the data (i.e. '1m', '2m', '5m', ...).
:return: None -- The function saves the plot in a file and does not return
a value.
"""
function_name: str = pdf_lin_all_distributions_plot.__name__
exact_distributions_correlation_tools.function_header_print_plot(
function_name, dates, time_step
)
try:
# Load data
agg_returns_data: pd.Series = pickle.load(
open(
"../data/exact_distributions_correlation/aggregated_dist_returns"
+ f"_market_data_{dates[0]}_{dates[1]}_step_{time_step}.pickle",
"rb",
)
)
agg_returns_data = agg_returns_data.rename("Agg. returns")
x_val: np.ndarray = np.arange(-10, 10, 0.1)
# Lin plot
plot_lin = agg_returns_data.plot(
kind="density", style="-", figsize=(16, 9), legend=True, lw=3
)
if dates[0] == "1972-01":
N = 5.5
N_aa = 6
K = 23
L = 55
l = 55
gg_distribution: np.ndarray = (
exact_distributions_correlation_tools.pdf_gaussian_gaussian(x_val, N, 1)
)
plt.plot(x_val, gg_distribution, "o", lw=3, label=f"GG - N = {N}")
ga_distribution: np.ndarray = (
exact_distributions_correlation_tools.pdf_gaussian_algebraic(
x_val, K, L, N, 1
)
)
plt.plot(
x_val,
ga_distribution,
"o",
lw=3,
label=f"GA - N = {N} - K = {K} - L = {L}",
)
ag_distribution: np.ndarray = (
exact_distributions_correlation_tools.pdf_algebraic_gaussian(
x_val, K, l, N, 1
)
)
plt.plot(
x_val,
ag_distribution,
"o",
lw=3,
label=f"AG - N = {N} - K = {K} - l = {l}",
)
aa_distribution: np.ndarray = (
exact_distributions_correlation_tools.pdf_algebraic_algebraic(
x_val, K, L, l, N_aa, 1
)
)
plt.plot(
x_val,
aa_distribution,
"o",
lw=3,
label=f"AA - N = {N_aa} - K = {K} - L = {L}" + f" - l = {l}",
)
elif dates[0] == "1992-01":
N = 6
N_gg = 5
N_aa = 9
K = 277
L = 150
l = 150
gg_distribution: np.ndarray = (
exact_distributions_correlation_tools.pdf_gaussian_gaussian(
x_val, N_gg, 1
)
)
plt.plot(x_val, gg_distribution, "o", lw=3, label=f"GG - N = {N_gg}")
ga_distribution: np.ndarray = (
exact_distributions_correlation_tools.pdf_gaussian_algebraic(
x_val, K, L, N, 1
)
)
plt.plot(
x_val,
ga_distribution,
"o",
lw=3,
label=f"GA - N = {N} - K = {K} - L = {L}",
)
ag_distribution: np.ndarray = (
exact_distributions_correlation_tools.pdf_algebraic_gaussian(
x_val, K, l, N, 1
)
)
plt.plot(
x_val,
ag_distribution,
"o",
lw=3,
label=f"AG - N = {N} - K = {K} - l = {l}",
)
aa_distribution: np.ndarray = (
exact_distributions_correlation_tools.pdf_algebraic_algebraic(
x_val, K, L, l, N_aa, 1
)
)
plt.plot(
x_val,
aa_distribution,
"o",
lw=3,
label=f"AA - N = {N_aa} - K = {K} - L = {L}" + f" - l = {l}",
)
else:
N = 7
N_aa = 8
K = 461
L = 280
l = 280
gg_distribution: np.ndarray = (
exact_distributions_correlation_tools.pdf_gaussian_gaussian(x_val, N, 1)
)
plt.plot(x_val, gg_distribution, "o", lw=3, label=f"GG - N = {N}")
ga_distribution: np.ndarray = (
exact_distributions_correlation_tools.pdf_gaussian_algebraic(
x_val, K, L, N, 1
)
)
plt.plot(
x_val,
ga_distribution,
"o",
lw=3,
label=f"GA - N = {N} - K = {K} - L = {L}",
)
ag_distribution: np.ndarray = (
exact_distributions_correlation_tools.pdf_algebraic_gaussian(
x_val, K, l, N, 1
)
)
plt.plot(
x_val,
ag_distribution,
"o",
lw=3,
label=f"AG - N = {N} - K = {K} - l = {l}",
)
aa_distribution: np.ndarray = (
exact_distributions_correlation_tools.pdf_algebraic_algebraic(
x_val, K, L, l, N_aa, 1
)
)
plt.plot(
x_val,
aa_distribution,
"o",
lw=3,
label=f"AA - N = {N_aa} - K = {K} - L = {L}" + f" - l = {l}",
)
plt.legend(fontsize=20)
plt.title(
f"Aggregated distribution returns from {dates[0]} to"
+ f" {dates[1]} - {time_step}",
fontsize=30,
)
plt.xlabel("Aggregated returns", fontsize=25)
plt.ylabel("PDF", fontsize=25)
plt.xticks(fontsize=15)
plt.yticks(fontsize=15)
plt.xlim(-2, 2)
plt.ylim(0, 0.6)
plt.grid(True)
plt.tight_layout()
figure_lin: plt.Figure = plot_lin.get_figure()
# Plotting
exact_distributions_correlation_tools.save_plot(
figure_lin, function_name, dates, time_step
)
plt.close()
del agg_returns_data
del figure_lin
del plot_lin
gc.collect()
except FileNotFoundError as error:
print("No data")
print(error)
print()
# -----------------------------------------------------------------------------
def pdf_log_all_distributions_plot(dates: List[str], time_step: str) -> None:
"""Plots all the distributions and compares with agg. returns of a market.
:param dates: List of the interval of dates to be analyzed
(i.e. ['1980-01', '2020-12']).
:param time_step: time step of the data (i.e. '1m', '2m', '5m', ...).
:return: None -- The function saves the plot in a file and does not return
a value.
"""
function_name: str = pdf_log_all_distributions_plot.__name__
exact_distributions_correlation_tools.function_header_print_plot(
function_name, dates, time_step
)
try:
# Load data
agg_returns_data: pd.Series = pickle.load(
open(
"../data/exact_distributions_correlation/aggregated_dist_returns"
+ f"_market_data_{dates[0]}_{dates[1]}_step_{time_step}.pickle",
"rb",
)
)
agg_returns_data = agg_returns_data.rename("Agg. returns")
x_val: np.ndarray = np.arange(-10, 10, 0.1)
# Log plot
plot_log = agg_returns_data.plot(
kind="density", style="-", logy=True, figsize=(16, 9), legend=True, lw=3
)
if dates[0] == "1972-01":
N = 5.5
N_aa = 6
K = 23
L = 55
l = 55
gg_distribution: np.ndarray = (
exact_distributions_correlation_tools.pdf_gaussian_gaussian(x_val, N, 1)
)
plt.semilogy(x_val, gg_distribution, "o", lw=3, label=f"GG - N = {N}")
ga_distribution: np.ndarray = (
exact_distributions_correlation_tools.pdf_gaussian_algebraic(
x_val, K, L, N, 1
)
)
plt.semilogy(
x_val,
ga_distribution,
"o",
lw=3,
label=f"GA - N = {N} - K = {K} - L = {L}",
)
ag_distribution: np.ndarray = (
exact_distributions_correlation_tools.pdf_algebraic_gaussian(
x_val, K, l, N, 1
)
)
plt.semilogy(
x_val,
ag_distribution,
"o",
lw=3,
label=f"AG - N = {N} - K = {K} - l = {l}",
)
aa_distribution: np.ndarray = (
exact_distributions_correlation_tools.pdf_algebraic_algebraic(
x_val, K, L, l, N_aa, 1
)
)
plt.semilogy(
x_val,
aa_distribution,
"o",
lw=3,
label=f"AA - N = {N_aa} - K = {K} - L = {L}" + f" - l = {l}",
)
elif dates[0] == "1992-01":
N = 6
N_gg = 5
N_aa = 9
K = 277
L = 150
l = 150
gg_distribution: np.ndarray = (
exact_distributions_correlation_tools.pdf_gaussian_gaussian(
x_val, N_gg, 1
)
)
plt.semilogy(x_val, gg_distribution, "o", lw=3, label=f"GG - N = {N_gg}")
ga_distribution: np.ndarray = (
exact_distributions_correlation_tools.pdf_gaussian_algebraic(
x_val, K, L, N, 1
)
)
plt.semilogy(
x_val,
ga_distribution,
"o",
lw=3,
label=f"GA - N = {N} - K = {K} - L = {L}",
)
ag_distribution: np.ndarray = (
exact_distributions_correlation_tools.pdf_algebraic_gaussian(
x_val, K, l, N, 1
)
)
plt.semilogy(
x_val,
ag_distribution,
"o",
lw=3,
label=f"AG - N = {N} - K = {K} - l = {l}",
)
aa_distribution: np.ndarray = (
exact_distributions_correlation_tools.pdf_algebraic_algebraic(
x_val, K, L, l, N_aa, 1
)
)
plt.semilogy(
x_val,
aa_distribution,
"o",
lw=3,
label=f"AA - N = {N_aa} - K = {K} - L = {L}" + f" - l = {l}",
)
else:
N = 7
N_aa = 8
K = 461
L = 280
l = 280
gg_distribution: np.ndarray = (
exact_distributions_correlation_tools.pdf_gaussian_gaussian(x_val, N, 1)
)
plt.semilogy(x_val, gg_distribution, "o", lw=3, label=f"GG - N = {N}")
ga_distribution: np.ndarray = (
exact_distributions_correlation_tools.pdf_gaussian_algebraic(
x_val, K, L, N, 1
)
)
plt.semilogy(
x_val,
ga_distribution,
"o",
lw=3,
label=f"GA - N = {N} - K = {K} - L = {L}",
)
ag_distribution: np.ndarray = (
exact_distributions_correlation_tools.pdf_algebraic_gaussian(
x_val, K, l, N, 1
)
)
plt.semilogy(
x_val,
ag_distribution,
"o",
lw=3,
label=f"AG - N = {N} - K = {K} - l = {l}",
)
aa_distribution: np.ndarray = (
exact_distributions_correlation_tools.pdf_algebraic_algebraic(
x_val, K, L, l, N_aa, 1
)
)
plt.semilogy(
x_val,
aa_distribution,
"o",
lw=3,
label=f"AA - N = {N_aa} - K = {K} - L = {L}" + f" - l = {l}",
)
plt.legend(fontsize=20)
plt.title(
f"Aggregated distribution returns from {dates[0]} to"
+ f" {dates[1]} - {time_step}",
fontsize=30,
)
plt.xlabel("Aggregated returns", fontsize=25)
plt.ylabel("PDF", fontsize=25)
plt.xticks(fontsize=15)
plt.yticks(fontsize=15)
plt.xlim(-10, 10)
plt.ylim(10 ** -9, 1)
plt.grid(True)
plt.tight_layout()
figure_log: plt.Figure = plot_log.get_figure()
# Plotting
exact_distributions_correlation_tools.save_plot(
figure_log, function_name, dates, time_step
)
plt.close()
del agg_returns_data
del figure_log
del plot_log
gc.collect()
except FileNotFoundError as error:
print("No data")
print(error)
print()
# -----------------------------------------------------------------------------
def main() -> None:
"""The main function of the script.
The main function is used to test the functions in the script.
:return: None.
"""
dates_1 = ["1972-01", "1992-12"]
dates_2 = ["1992-01", "2012-12"]
dates_3 = ["2012-01", "2020-12"]
pdf_gg_plot(dates_1, "1d")
pdf_gg_plot(dates_2, "1d")
pdf_gg_plot(dates_3, "1d")
pdf_ga_plot(dates_1, "1d")
pdf_ga_plot(dates_2, "1d")
pdf_ga_plot(dates_3, "1d")
pdf_ag_plot(dates_1, "1d")
pdf_ag_plot(dates_2, "1d")
pdf_ag_plot(dates_3, "1d")
pdf_aa_plot(dates_1, "1d")
pdf_aa_plot(dates_2, "1d")
pdf_aa_plot(dates_3, "1d")
pdf_log_all_distributions_plot(dates_1, "1d")
pdf_log_all_distributions_plot(dates_2, "1d")
pdf_log_all_distributions_plot(dates_3, "1d")
pdf_lin_all_distributions_plot(dates_1, "1d")
pdf_lin_all_distributions_plot(dates_2, "1d")
pdf_lin_all_distributions_plot(dates_3, "1d")
# -----------------------------------------------------------------------------
if __name__ == "__main__":
main()
| 29.803142
| 88
| 0.499612
| 3,786
| 32,247
| 4.031432
| 0.054147
| 0.017297
| 0.108301
| 0.104698
| 0.918103
| 0.899233
| 0.887702
| 0.868768
| 0.863592
| 0.855009
| 0
| 0.040043
| 0.363414
| 32,247
| 1,081
| 89
| 29.830712
| 0.703478
| 0.137749
| 0
| 0.733591
| 0
| 0
| 0.108091
| 0.034381
| 0
| 0
| 0
| 0
| 0
| 1
| 0.011583
| false
| 0
| 0.010296
| 0
| 0.021879
| 0.041184
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
0f8789c03bdb1903240d6014e63679ce1542cc07
| 121
|
py
|
Python
|
stattools/mixture/__init__.py
|
artemmavrin/SLTools
|
04525b5d6777be3ccdc6ad44e4cbfe24a8875933
|
[
"MIT"
] | 2
|
2018-07-10T22:16:23.000Z
|
2019-10-08T00:12:44.000Z
|
stattools/mixture/__init__.py
|
artemmavrin/SLTools
|
04525b5d6777be3ccdc6ad44e4cbfe24a8875933
|
[
"MIT"
] | null | null | null |
stattools/mixture/__init__.py
|
artemmavrin/SLTools
|
04525b5d6777be3ccdc6ad44e4cbfe24a8875933
|
[
"MIT"
] | 4
|
2019-05-17T23:06:07.000Z
|
2021-03-22T14:04:24.000Z
|
"""Estimation for mixture models."""
from .gaussian import GaussianMixture
from .gaussian import GaussianMixtureDensity
| 24.2
| 44
| 0.818182
| 12
| 121
| 8.25
| 0.75
| 0.242424
| 0.363636
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.107438
| 121
| 4
| 45
| 30.25
| 0.916667
| 0.247934
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
0f8c1a7c3af0a62ff95ffc6895089b7c467f33c9
| 9,562
|
py
|
Python
|
web2py-appliances-master/FacebookConnectExample/languages/ru-ru.py
|
wantsomechocolate/WantsomeBeanstalk
|
8c8a0a80490d04ea52661a3114fd3db8de65a01e
|
[
"BSD-3-Clause"
] | 1
|
2017-03-28T21:31:51.000Z
|
2017-03-28T21:31:51.000Z
|
applications/init/languages/ru-ru.py
|
murray3/augmi-a
|
9f8cff457fa3966d67d3752ccd86876b08bb19b1
|
[
"BSD-3-Clause"
] | null | null | null |
applications/init/languages/ru-ru.py
|
murray3/augmi-a
|
9f8cff457fa3966d67d3752ccd86876b08bb19b1
|
[
"BSD-3-Clause"
] | null | null | null |
{
'"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"\xd0\x98\xd0\xb7\xd0\xbc\xd0\xb5\xd0\xbd\xd0\xb8\xd1\x82\xd1\x8c" - \xd0\xbd\xd0\xb5\xd0\xbe\xd0\xb1\xd1\x8f\xd0\xb7\xd0\xb0\xd1\x82\xd0\xb5\xd0\xbb\xd1\x8c\xd0\xbd\xd0\xbe\xd0\xb5 \xd0\xb2\xd1\x8b\xd1\x80\xd0\xb0\xd0\xb6\xd0\xb5\xd0\xbd\xd0\xb8\xd0\xb5 \xd0\xb2\xd0\xb8\xd0\xb4\xd0\xb0 "field1=\'\xd0\xbd\xd0\xbe\xd0\xb2\xd0\xbe\xd0\xb5 \xd0\xb7\xd0\xbd\xd0\xb0\xd1\x87\xd0\xb5\xd0\xbd\xd0\xb8\xd0\xb5\'". \xd0\xa0\xd0\xb5\xd0\xb7\xd1\x83\xd0\xbb\xd1\x8c\xd1\x82\xd0\xb0\xd1\x82\xd1\x8b \xd0\xbe\xd0\xbf\xd0\xb5\xd1\x80\xd0\xb0\xd1\x86\xd0\xb8\xd0\xb8 JOIN \xd0\xbd\xd0\xb5\xd0\xbb\xd1\x8c\xd0\xb7\xd1\x8f \xd0\xb8\xd0\xb7\xd0\xbc\xd0\xb5\xd0\xbd\xd0\xb8\xd1\x82\xd1\x8c \xd0\xb8\xd0\xbb\xd0\xb8 \xd1\x83\xd0\xb4\xd0\xb0\xd0\xbb\xd0\xb8\xd1\x82\xd1\x8c.',
'%Y-%m-%d': '%Y-%m-%d',
'%Y-%m-%d %H:%M:%S': '%Y-%m-%d %H:%M:%S',
'%s rows deleted': '%s \xd1\x81\xd1\x82\xd1\x80\xd0\xbe\xd0\xba \xd1\x83\xd0\xb4\xd0\xb0\xd0\xbb\xd0\xb5\xd0\xbd\xd0\xbe',
'%s rows updated': '%s \xd1\x81\xd1\x82\xd1\x80\xd0\xbe\xd0\xba \xd0\xb8\xd0\xb7\xd0\xbc\xd0\xb5\xd0\xbd\xd0\xb5\xd0\xbd\xd0\xbe',
'Available databases and tables': '\xd0\x91\xd0\xb0\xd0\xb7\xd1\x8b \xd0\xb4\xd0\xb0\xd0\xbd\xd0\xbd\xd1\x8b\xd1\x85 \xd0\xb8 \xd1\x82\xd0\xb0\xd0\xb1\xd0\xbb\xd0\xb8\xd1\x86\xd1\x8b',
'Cannot be empty': '\xd0\x9f\xd1\x83\xd1\x81\xd1\x82\xd0\xbe\xd0\xb5 \xd0\xb7\xd0\xbd\xd0\xb0\xd1\x87\xd0\xb5\xd0\xbd\xd0\xb8\xd0\xb5 \xd0\xbd\xd0\xb5\xd0\xb4\xd0\xbe\xd0\xbf\xd1\x83\xd1\x81\xd1\x82\xd0\xb8\xd0\xbc\xd0\xbe',
'Change Password': '\xd0\xa1\xd0\xbc\xd0\xb5\xd0\xbd\xd0\xb8\xd1\x82\xd0\xb5 \xd0\xbf\xd0\xb0\xd1\x80\xd0\xbe\xd0\xbb\xd1\x8c',
'Check to delete': '\xd0\xa3\xd0\xb4\xd0\xb0\xd0\xbb\xd0\xb8\xd1\x82\xd1\x8c',
'Check to delete:': '\xd0\xa3\xd0\xb4\xd0\xb0\xd0\xbb\xd0\xb8\xd1\x82\xd1\x8c:',
'Current request': '\xd0\xa2\xd0\xb5\xd0\xba\xd1\x83\xd1\x89\xd0\xb8\xd0\xb9 \xd0\xb7\xd0\xb0\xd0\xbf\xd1\x80\xd0\xbe\xd1\x81',
'Current response': '\xd0\xa2\xd0\xb5\xd0\xba\xd1\x83\xd1\x89\xd0\xb8\xd0\xb9 \xd0\xbe\xd1\x82\xd0\xb2\xd0\xb5\xd1\x82',
'Current session': '\xd0\xa2\xd0\xb5\xd0\xba\xd1\x83\xd1\x89\xd0\xb0\xd1\x8f \xd1\x81\xd0\xb5\xd1\x81\xd1\x81\xd0\xb8\xd1\x8f',
'Delete:': '\xd0\xa3\xd0\xb4\xd0\xb0\xd0\xbb\xd0\xb8\xd1\x82\xd1\x8c:',
'Edit Profile': '\xd0\xa0\xd0\xb5\xd0\xb4\xd0\xb0\xd0\xba\xd1\x82\xd0\xb8\xd1\x80\xd0\xbe\xd0\xb2\xd0\xb0\xd1\x82\xd1\x8c \xd0\xbf\xd1\x80\xd0\xbe\xd1\x84\xd0\xb0\xd0\xb9\xd0\xbb',
'Edit current record': '\xd0\xa0\xd0\xb5\xd0\xb4\xd0\xb0\xd0\xba\xd1\x82\xd0\xb8\xd1\x80\xd0\xbe\xd0\xb2\xd0\xb0\xd1\x82\xd1\x8c \xd1\x82\xd0\xb5\xd0\xba\xd1\x83\xd1\x89\xd1\x83\xd1\x8e \xd0\xb7\xd0\xb0\xd0\xbf\xd0\xb8\xd1\x81\xd1\x8c',
'Hello World': '\xd0\x97\xd0\xb0\xd1\x80\xd0\xb0\xd0\xb1\xd0\xbe\xd1\x82\xd0\xb0\xd0\xbb\xd0\xbe!',
'Import/Export': '\xd0\x98\xd0\xbc\xd0\xbf\xd0\xbe\xd1\x80\xd1\x82/\xd1\x8d\xd0\xba\xd1\x81\xd0\xbf\xd0\xbe\xd1\x80\xd1\x82',
'Internal State': '\xd0\x92\xd0\xbd\xd1\x83\xd1\x82\xd1\x80\xd0\xb5\xd0\xbd\xd0\xbd\xd0\xb5 \xd1\x81\xd0\xbe\xd1\x81\xd1\x82\xd0\xbe\xd1\x8f\xd0\xbd\xd0\xb8\xd0\xb5',
'Invalid Query': '\xd0\x9d\xd0\xb5\xd0\xb2\xd0\xb5\xd1\x80\xd0\xbd\xd1\x8b\xd0\xb9 \xd0\xb7\xd0\xb0\xd0\xbf\xd1\x80\xd0\xbe\xd1\x81',
'Invalid email': '\xd0\x9d\xd0\xb5\xd0\xb2\xd0\xb5\xd1\x80\xd0\xbd\xd1\x8b\xd0\xb9 email',
'Login': '\xd0\x92\xd1\x85\xd0\xbe\xd0\xb4',
'Logout': '\xd0\x92\xd1\x8b\xd1\x85\xd0\xbe\xd0\xb4',
'Lost Password': '\xd0\x97\xd0\xb0\xd0\xb1\xd1\x8b\xd0\xbb\xd0\xb8 \xd0\xbf\xd0\xb0\xd1\x80\xd0\xbe\xd0\xbb\xd1\x8c?',
'New Record': '\xd0\x9d\xd0\xbe\xd0\xb2\xd0\xb0\xd1\x8f \xd0\xb7\xd0\xb0\xd0\xbf\xd0\xb8\xd1\x81\xd1\x8c',
'No databases in this application': '\xd0\x92 \xd0\xbf\xd1\x80\xd0\xb8\xd0\xbb\xd0\xbe\xd0\xb6\xd0\xb5\xd0\xbd\xd0\xb8\xd0\xb8 \xd0\xbd\xd0\xb5\xd1\x82 \xd0\xb1\xd0\xb0\xd0\xb7 \xd0\xb4\xd0\xb0\xd0\xbd\xd0\xbd\xd1\x8b\xd1\x85',
"Password fields don't match": '\xd0\x9f\xd0\xb0\xd1\x80\xd0\xbe\xd0\xbb\xd0\xb8 \xd0\xbd\xd0\xb5 \xd1\x81\xd0\xbe\xd0\xb2\xd0\xbf\xd0\xb0\xd0\xb4\xd0\xb0\xd1\x8e\xd1\x82',
'Query:': '\xd0\x97\xd0\xb0\xd0\xbf\xd1\x80\xd0\xbe\xd1\x81:',
'Register': '\xd0\x97\xd0\xb0\xd1\x80\xd0\xb5\xd0\xb3\xd0\xb8\xd1\x81\xd1\x82\xd1\x80\xd0\xb8\xd1\x80\xd0\xbe\xd0\xb2\xd0\xb0\xd1\x82\xd1\x8c\xd1\x81\xd1\x8f',
'Rows in table': '\xd0\xa1\xd1\x82\xd1\x80\xd0\xbe\xd0\xba \xd0\xb2 \xd1\x82\xd0\xb0\xd0\xb1\xd0\xbb\xd0\xb8\xd1\x86\xd0\xb5',
'Rows selected': '\xd0\x92\xd1\x8b\xd0\xb4\xd0\xb5\xd0\xbb\xd0\xb5\xd0\xbd\xd0\xbe \xd1\x81\xd1\x82\xd1\x80\xd0\xbe\xd0\xba',
'Submit': '\xd0\x9e\xd1\x82\xd0\xbf\xd1\x80\xd0\xb0\xd0\xb2\xd0\xb8\xd1\x82\xd1\x8c',
'Sure you want to delete this object?': '\xd0\x9f\xd0\xbe\xd0\xb4\xd1\x82\xd0\xb2\xd0\xb5\xd1\x80\xd0\xb4\xd0\xb8\xd1\x82\xd0\xb5 \xd1\x83\xd0\xb4\xd0\xb0\xd0\xbb\xd0\xb5\xd0\xbd\xd0\xb8\xd0\xb5 \xd0\xbe\xd0\xb1\xd1\x8a\xd0\xb5\xd0\xba\xd1\x82\xd0\xb0',
'The "query" is a condition like "db.table1.field1==\'value\'". Something like "db.table1.field1==db.table2.field2" results in a SQL JOIN.': '"\xd0\x97\xd0\xb0\xd0\xbf\xd1\x80\xd0\xbe\xd1\x81" - \xd1\x8d\xd1\x82\xd0\xbe \xd1\x83\xd1\x81\xd0\xbb\xd0\xbe\xd0\xb2\xd0\xb8\xd0\xb5 \xd0\xb2\xd0\xb8\xd0\xb4\xd0\xb0 "db.table1.field1==\'\xd0\xb7\xd0\xbd\xd0\xb0\xd1\x87\xd0\xb5\xd0\xbd\xd0\xb8\xd0\xb5\'". \xd0\x92\xd1\x8b\xd1\x80\xd0\xb0\xd0\xb6\xd0\xb5\xd0\xbd\xd0\xb8\xd0\xb5 \xd0\xb2\xd0\xb8\xd0\xb4\xd0\xb0 "db.table1.field1==db.table2.field2" \xd1\x84\xd0\xbe\xd1\x80\xd0\xbc\xd0\xb8\xd1\x80\xd1\x83\xd0\xb5\xd1\x82 SQL JOIN.',
'Update:': '\xd0\x98\xd0\xb7\xd0\xbc\xd0\xb5\xd0\xbd\xd0\xb8\xd1\x82\xd1\x8c:',
'Use (...)&(...) for AND, (...)|(...) for OR, and ~(...) for NOT to build more complex queries.': '\xd0\x94\xd0\xbb\xd1\x8f \xd0\xbf\xd0\xbe\xd1\x81\xd1\x82\xd1\x80\xd0\xbe\xd0\xb5\xd0\xbd\xd0\xb8\xd0\xb5 \xd1\x81\xd0\xbb\xd0\xbe\xd0\xb6\xd0\xbd\xd1\x8b\xd1\x85 \xd0\xb7\xd0\xb0\xd0\xbf\xd1\x80\xd0\xbe\xd1\x81\xd0\xbe\xd0\xb2 \xd0\xb8\xd1\x81\xd0\xbf\xd0\xbe\xd0\xbb\xd1\x8c\xd0\xb7\xd1\x83\xd0\xb9\xd1\x82\xd0\xb5 \xd0\xbe\xd0\xbf\xd0\xb5\xd1\x80\xd0\xb0\xd1\x82\xd0\xbe\xd1\x80\xd1\x8b "\xd0\x98": (...)&(...), "\xd0\x98\xd0\x9b\xd0\x98": (...)|(...), "\xd0\x9d\xd0\x95": ~(...).',
'User %(id)s Registered': '\xd0\x9f\xd0\xbe\xd0\xbb\xd1\x8c\xd0\xb7\xd0\xbe\xd0\xb2\xd0\xb0\xd1\x82\xd0\xb5\xd0\xbb\xd1\x8c %(id)s \xd0\xb7\xd0\xb0\xd1\x80\xd0\xb5\xd0\xb3\xd0\xb8\xd1\x81\xd1\x82\xd1\x80\xd0\xb8\xd1\x80\xd0\xbe\xd0\xb2\xd0\xb0\xd0\xbd',
'Verify Password': '\xd0\x9f\xd0\xbe\xd0\xb2\xd1\x82\xd0\xbe\xd1\x80\xd0\xb8\xd1\x82\xd0\xb5 \xd0\xbf\xd0\xb0\xd1\x80\xd0\xbe\xd0\xbb\xd1\x8c',
'Welcome to web2py': '\xd0\x94\xd0\xbe\xd0\xb1\xd1\x80\xd0\xbe \xd0\xbf\xd0\xbe\xd0\xb6\xd0\xb0\xd0\xbb\xd0\xbe\xd0\xb2\xd0\xb0\xd1\x82\xd1\x8c \xd0\xb2 web2py',
'click here for online examples': '\xd0\xbf\xd1\x80\xd0\xb8\xd0\xbc\xd0\xb5\xd1\x80\xd1\x8b \xd0\xbe\xd0\xbd-\xd0\xbb\xd0\xb0\xd0\xb9\xd0\xbd',
'click here for the administrative interface': '\xd0\xb0\xd0\xb4\xd0\xbc\xd0\xb8\xd0\xbd\xd0\xb8\xd1\x81\xd1\x82\xd1\x80\xd0\xb0\xd1\x82\xd0\xb8\xd0\xb2\xd0\xbd\xd1\x8b\xd0\xb9 \xd0\xb8\xd0\xbd\xd1\x82\xd0\xb5\xd1\x80\xd1\x84\xd0\xb5\xd0\xb9\xd1\x81',
'customize me!': '\xd0\xbd\xd0\xb0\xd1\x81\xd1\x82\xd1\x80\xd0\xbe\xd0\xb9\xd1\x82\xd0\xb5 \xd0\xb2\xd0\xbd\xd0\xb5\xd1\x88\xd0\xbd\xd0\xb8\xd0\xb9 \xd0\xb2\xd0\xb8\xd0\xb4!',
'data uploaded': '\xd0\xb4\xd0\xb0\xd0\xbd\xd0\xbd\xd1\x8b\xd0\xb5 \xd0\xb7\xd0\xb0\xd0\xb3\xd1\x80\xd1\x83\xd0\xb6\xd0\xb5\xd0\xbd\xd1\x8b',
'database': '\xd0\xb1\xd0\xb0\xd0\xb7\xd0\xb0 \xd0\xb4\xd0\xb0\xd0\xbd\xd0\xbd\xd1\x8b\xd1\x85',
'database %s select': '\xd0\xb2\xd1\x8b\xd0\xb1\xd0\xbe\xd1\x80 \xd0\xb1\xd0\xb0\xd0\xb7\xd1\x8b \xd0\xb4\xd0\xb0\xd0\xbd\xd0\xbd\xd1\x8b\xd1\x85 %s',
'db': '\xd0\x91\xd0\x94',
'design': '\xd0\xb4\xd0\xb8\xd0\xb7\xd0\xb0\xd0\xb9\xd0\xbd',
'done!': '\xd0\xb3\xd0\xbe\xd1\x82\xd0\xbe\xd0\xb2\xd0\xbe!',
'export as csv file': '\xd1\x8d\xd0\xba\xd1\x81\xd0\xbf\xd0\xbe\xd1\x80\xd1\x82 \xd0\xb2 csv-\xd1\x84\xd0\xb0\xd0\xb9\xd0\xbb',
'insert new': '\xd0\xb4\xd0\xbe\xd0\xb1\xd0\xb0\xd0\xb2\xd0\xb8\xd1\x82\xd1\x8c',
'insert new %s': '\xd0\xb4\xd0\xbe\xd0\xb1\xd0\xb0\xd0\xb2\xd0\xb8\xd1\x82\xd1\x8c %s',
'invalid request': '\xd0\xbd\xd0\xb5\xd0\xb2\xd0\xb5\xd1\x80\xd0\xbd\xd1\x8b\xd0\xb9 \xd0\xb7\xd0\xb0\xd0\xbf\xd1\x80\xd0\xbe\xd1\x81',
'new record inserted': '\xd0\xbd\xd0\xbe\xd0\xb2\xd0\xb0\xd1\x8f \xd0\xb7\xd0\xb0\xd0\xbf\xd0\xb8\xd1\x81\xd1\x8c \xd0\xb4\xd0\xbe\xd0\xb1\xd0\xb0\xd0\xb2\xd0\xbb\xd0\xb5\xd0\xbd\xd0\xb0',
'next 100 rows': '\xd1\x81\xd0\xbb\xd0\xb5\xd0\xb4\xd1\x83\xd1\x8e\xd1\x89\xd0\xb8\xd0\xb5 100 \xd1\x81\xd1\x82\xd1\x80\xd0\xbe\xd0\xba',
'or import from csv file': '\xd0\xb8\xd0\xbb\xd0\xb8 \xd0\xb8\xd0\xbc\xd0\xbf\xd0\xbe\xd1\x80\xd1\x82 \xd0\xb8\xd0\xb7 csv-\xd1\x84\xd0\xb0\xd0\xb9\xd0\xbb\xd0\xb0',
'previous 100 rows': '\xd0\xbf\xd1\x80\xd0\xb5\xd0\xb4\xd1\x8b\xd0\xb4\xd1\x83\xd1\x89\xd0\xb8\xd0\xb5 100 \xd1\x81\xd1\x82\xd1\x80\xd0\xbe\xd0\xba',
'record does not exist': '\xd0\xb7\xd0\xb0\xd0\xbf\xd0\xb8\xd1\x81\xd1\x8c \xd0\xbd\xd0\xb5 \xd0\xbd\xd0\xb0\xd0\xb9\xd0\xb4\xd0\xb5\xd0\xbd\xd0\xb0',
'record id': 'id \xd0\xb7\xd0\xb0\xd0\xbf\xd0\xb8\xd1\x81\xd0\xb8',
'selected': '\xd0\xb2\xd1\x8b\xd0\xb1\xd1\x80\xd0\xb0\xd0\xbd\xd0\xbe',
'state': '\xd1\x81\xd0\xbe\xd1\x81\xd1\x82\xd0\xbe\xd1\x8f\xd0\xbd\xd0\xb8\xd0\xb5',
'table': '\xd1\x82\xd0\xb0\xd0\xb1\xd0\xbb\xd0\xb8\xd1\x86\xd0\xb0',
'unable to parse csv file': '\xd0\xbd\xd0\xb5\xd1\x87\xd0\xb8\xd1\x82\xd0\xb0\xd0\xb5\xd0\xbc\xd1\x8b\xd0\xb9 csv-\xd1\x84\xd0\xb0\xd0\xb9\xd0\xbb',
}
| 147.107692
| 874
| 0.704978
| 2,128
| 9,562
| 3.167763
| 0.078008
| 0.078327
| 0.078772
| 0.042724
| 0.789794
| 0.680314
| 0.620679
| 0.531672
| 0.500519
| 0.468922
| 0
| 0.206998
| 0.037544
| 9,562
| 64
| 875
| 149.40625
| 0.525481
| 0
| 0
| 0
| 0
| 0.9375
| 0.927421
| 0.767831
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| true
| 0.0625
| 0.03125
| 0
| 0.03125
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| null | 1
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
|
0
| 8
|
0e20d0114846b1ddbc3a1669faaa1a9b0009168e
| 9,800
|
py
|
Python
|
tests/test_ogl_cameras.py
|
dnnspark/bulletwrapper
|
3d034ee27ccf1613e84bd0beaae345eb4cbb9f91
|
[
"MIT"
] | null | null | null |
tests/test_ogl_cameras.py
|
dnnspark/bulletwrapper
|
3d034ee27ccf1613e84bd0beaae345eb4cbb9f91
|
[
"MIT"
] | 4
|
2018-10-09T21:33:05.000Z
|
2018-10-16T07:07:18.000Z
|
tests/test_ogl_cameras.py
|
dnnspark/bulletwrapper
|
3d034ee27ccf1613e84bd0beaae345eb4cbb9f91
|
[
"MIT"
] | null | null | null |
import numpy as np
import os
import pybullet as pb
import pybullet_data
from bulletwrapper import BulletSimulator
from bulletwrapper.hooks import GroundPlaneHook, BasicOBJHook
from bulletwrapper.hooks.ogl_cameras import StaticOGLCameraHook, RandomStaticCameraHook
CONNECT_MODE = pb.DIRECT
# CONNECT_MODE = pb.GUI
DUCK_OBJ_PATH = os.path.join(pybullet_data.getDataPath(), 'duck.obj')
def maybe_collect_images(step_out):
images = []
for key in step_out.output.keys():
if 'static_ogl_camera' in key or 'random_static_camera' in key:
I, D, L = step_out.output[key]
images.append(I)
return images
def test_static_opengl_cameras():
'''
Based on test_obj_adder.test_obj_adder_multiple_in_sequence().
Take the first picture upon reset (start=0.),
and then take pictures every 0.1 seconds until time is up.
'''
# copy-and-paste
ground_plane = GroundPlaneHook()
height = 3.
duck_1 = BasicOBJHook(
category_name = 'rubber_duck',
path_to_obj = DUCK_OBJ_PATH,
position = np.array([0,0,height]),
time_to_create = 0.,
)
duck_2 = BasicOBJHook(
category_name = 'rubber_duck',
path_to_obj = DUCK_OBJ_PATH,
position = np.array([0,0,height]),
time_to_create = 1.,
)
duck_3 = BasicOBJHook(
category_name = 'rubber_duck',
path_to_obj = DUCK_OBJ_PATH,
position = np.array([0,0,height]),
time_to_create = 2.,
)
camera_1 = StaticOGLCameraHook(
K = [1075.65091572, 0.0, 210.06888344, 0.0, 1073.90347929, 174.72159802, 0.0, 0.0, 1.0],
img_shape = (400,400),
position = np.array([10., 10., 7.]),
lookat = np.array([0., 0., 0.]),
up = 'up',
start = 0.,
# interval = .5,
interval = .1,
)
camera_2 = StaticOGLCameraHook(
K = [1075.65091572, 0.0, 210.06888344, 0.0, 1073.90347929, 174.72159802, 0.0, 0.0, 1.0],
img_shape = (400,400),
position = np.array([-10., -10., 6.]),
lookat = np.array([0., 0., 0.]),
up = 'up',
start = 0.,
# interval = .5,
interval = .1,
)
sim = BulletSimulator(
mode=CONNECT_MODE,
max_time=5.,
hooks=[
ground_plane,
duck_1,
duck_2,
duck_3,
camera_1,
camera_2,
],
)
for _ in range(2):
out = sim.reset()
num_images = 0
images = maybe_collect_images(out)
for I in images:
assert I.shape == (400,400,4)
num_images += len(images)
while sim.running:
out = sim.step()
images = maybe_collect_images(out)
for I in images:
assert I.shape == (400,400,4)
num_images += len(images)
assert num_images == 100
sim.close()
def test_static_opengl_cameras_one_final_shot():
'''
Identical to above, but take only one pictures before simulation terminates (start=np.inf).
'''
ground_plane = GroundPlaneHook()
height = 3.
duck_1 = BasicOBJHook(
category_name = 'rubber_duck',
path_to_obj = DUCK_OBJ_PATH,
position = np.array([0,0,height]),
time_to_create = 0.,
)
duck_2 = BasicOBJHook(
category_name = 'rubber_duck',
path_to_obj = DUCK_OBJ_PATH,
position = np.array([0,0,height]),
time_to_create = 1.,
)
duck_3 = BasicOBJHook(
category_name = 'rubber_duck',
path_to_obj = DUCK_OBJ_PATH,
position = np.array([0,0,height]),
time_to_create = 2.,
)
camera_1 = StaticOGLCameraHook(
K = [1075.65091572, 0.0, 210.06888344, 0.0, 1073.90347929, 174.72159802, 0.0, 0.0, 1.0],
img_shape = (400,400),
position = np.array([10., 10., 7.]),
lookat = np.array([0., 0., 0.]),
up = 'up',
start = np.inf,
)
camera_2 = StaticOGLCameraHook(
K = [1075.65091572, 0.0, 210.06888344, 0.0, 1073.90347929, 174.72159802, 0.0, 0.0, 1.0],
img_shape = (400,400),
position = np.array([-10., -10., 6.]),
lookat = np.array([0., 0., 0.]),
up = 'up',
start = np.inf,
)
sim = BulletSimulator(
mode=CONNECT_MODE,
max_time=5.,
hooks=[
ground_plane,
duck_1,
duck_2,
duck_3,
camera_1,
camera_2,
],
)
for _ in range(2):
out = sim.reset()
num_images = 0
images = maybe_collect_images(out)
assert len(images) == 0
while sim.running:
out = sim.step()
images = maybe_collect_images(out)
if len(images) > 0:
assert len(images) == 2
assert sim.terminated
for I in images:
assert I.shape == (400,400,4)
sim.close()
def test_static_opengl_cameras_one_shot_at_2s():
'''
Identical to above, but take only one pictures at t=2s
'''
ground_plane = GroundPlaneHook()
height = 3.
duck_1 = BasicOBJHook(
category_name = 'rubber_duck',
path_to_obj = DUCK_OBJ_PATH,
position = np.array([0,0,height]),
time_to_create = 0.,
)
duck_2 = BasicOBJHook(
category_name = 'rubber_duck',
path_to_obj = DUCK_OBJ_PATH,
position = np.array([0,0,height]),
time_to_create = 1.,
)
duck_3 = BasicOBJHook(
category_name = 'rubber_duck',
path_to_obj = DUCK_OBJ_PATH,
position = np.array([0,0,height]),
time_to_create = 2.,
)
camera_1 = StaticOGLCameraHook(
K = [1075.65091572, 0.0, 210.06888344, 0.0, 1073.90347929, 174.72159802, 0.0, 0.0, 1.0],
img_shape = (400,400),
position = np.array([10., 10., 7.]),
lookat = np.array([0., 0., 0.]),
up = 'up',
start = 2.,
)
camera_2 = StaticOGLCameraHook(
K = [1075.65091572, 0.0, 210.06888344, 0.0, 1073.90347929, 174.72159802, 0.0, 0.0, 1.0],
img_shape = (400,400),
position = np.array([-10., -10., 6.]),
lookat = np.array([0., 0., 0.]),
up = 'up',
start = 2.,
)
sim = BulletSimulator(
mode=CONNECT_MODE,
max_time=5.,
hooks=[
ground_plane,
duck_1,
duck_2,
duck_3,
camera_1,
camera_2,
],
)
images_in_all_rollouts = []
for _ in range(2):
out = sim.reset()
images = maybe_collect_images(out)
assert len(images) == 0
# num_images = 0
images_in_rollout = []
while sim.running:
out = sim.step()
images = maybe_collect_images(out)
if len(images) > 0:
images_in_rollout.extend(images)
images_in_all_rollouts.append(images_in_rollout)
sim.close()
# images across different rollout should be same.
assert np.allclose(images_in_all_rollouts[0][0], images_in_all_rollouts[1][0])
assert np.allclose(images_in_all_rollouts[0][1], images_in_all_rollouts[1][1])
def test_random_static_cameras_one_shot_at_2s():
'''
Identical to above, but take only one pictures at t=2s
'''
ground_plane = GroundPlaneHook()
height = 3.
duck_1 = BasicOBJHook(
category_name = 'rubber_duck',
path_to_obj = DUCK_OBJ_PATH,
position = np.array([0,0,height]),
time_to_create = 0.,
)
duck_2 = BasicOBJHook(
category_name = 'rubber_duck',
path_to_obj = DUCK_OBJ_PATH,
position = np.array([0,0,height]),
time_to_create = 1.,
)
duck_3 = BasicOBJHook(
category_name = 'rubber_duck',
path_to_obj = DUCK_OBJ_PATH,
position = np.array([0,0,height]),
time_to_create = 2.,
)
camera_1 = RandomStaticCameraHook(
K = [1075.65091572, 0.0, 210.06888344, 0.0, 1073.90347929, 174.72159802, 0.0, 0.0, 1.0],
img_shape = (400,400),
# position = np.array([10., 10., 7.]),
# lookat = np.array([0., 0., 0.]),
position = [(-10., 10.), (-10., 10.), 7],
lookat = [(-0.2, 0.2), (-0.2, 0.2), (0, 0.1)],
up = 'up',
start = 2.,
light_src = [(-1,1), (-1,1), 1],
)
camera_2 = RandomStaticCameraHook(
K = [1075.65091572, 0.0, 210.06888344, 0.0, 1073.90347929, 174.72159802, 0.0, 0.0, 1.0],
img_shape = (400,400),
position = [(-10., 10.), (-10., 10.), 6],
lookat = [(-0.2, 0.2), (-0.2, 0.2), (0, 0.1)],
up = 'up',
start = 2.,
)
sim = BulletSimulator(
mode=CONNECT_MODE,
max_time=5.,
hooks=[
ground_plane,
duck_1,
duck_2,
duck_3,
camera_1,
camera_2,
],
)
images_in_all_rollouts = []
for _ in range(2):
out = sim.reset()
images = maybe_collect_images(out)
assert len(images) == 0
# num_images = 0
images_in_rollout = []
while sim.running:
out = sim.step()
images = maybe_collect_images(out)
if len(images) > 0:
images_in_rollout.extend(images)
images_in_all_rollouts.append(images_in_rollout)
sim.close()
# images across different rollout should be different.
assert not np.allclose(images_in_all_rollouts[0][0], images_in_all_rollouts[1][0])
assert not np.allclose(images_in_all_rollouts[0][1], images_in_all_rollouts[1][1])
| 25.925926
| 96
| 0.541837
| 1,247
| 9,800
| 4.032077
| 0.115477
| 0.027844
| 0.013723
| 0.03401
| 0.848846
| 0.838902
| 0.838902
| 0.838902
| 0.817422
| 0.811854
| 0
| 0.114682
| 0.33
| 9,800
| 377
| 97
| 25.994695
| 0.651081
| 0.065306
| 0
| 0.79562
| 0
| 0
| 0.021253
| 0
| 0
| 0
| 0
| 0
| 0.047445
| 1
| 0.018248
| false
| 0
| 0.025547
| 0
| 0.047445
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
0e70483b6e5702fba346c0702f7d9cca8d833d7a
| 27,500
|
py
|
Python
|
idem_azurerm/exec/azurerm/resource/management_lock.py
|
eitrtechnologies/idem_provider_azurerm
|
7922ea1dbe3ca411754cdbf12cd9fda397be6681
|
[
"Apache-2.0"
] | 6
|
2019-10-31T16:01:39.000Z
|
2020-01-30T01:13:45.000Z
|
idem_azurerm/exec/azurerm/resource/management_lock.py
|
tompscanlan/idem-azurerm
|
7922ea1dbe3ca411754cdbf12cd9fda397be6681
|
[
"Apache-2.0"
] | 69
|
2020-05-05T02:49:25.000Z
|
2021-09-20T01:21:34.000Z
|
idem_azurerm/exec/azurerm/resource/management_lock.py
|
tompscanlan/idem-azurerm
|
7922ea1dbe3ca411754cdbf12cd9fda397be6681
|
[
"Apache-2.0"
] | 3
|
2020-06-01T19:35:15.000Z
|
2021-04-21T19:37:57.000Z
|
# -*- coding: utf-8 -*-
"""
Azure Resource Manager (ARM) Management Lock Execution Module
.. versionadded:: 1.0.0
:maintainer: <devops@eitr.tech>
:configuration: This module requires Azure Resource Manager credentials to be passed as keyword arguments
to every function or via acct in order to work properly.
Required provider parameters:
if using username and password:
* ``subscription_id``
* ``username``
* ``password``
if using a service principal:
* ``subscription_id``
* ``tenant``
* ``client_id``
* ``secret``
Optional provider parameters:
**cloud_environment**: Used to point the cloud driver to different API endpoints, such as Azure GovCloud.
Possible values:
* ``AZURE_PUBLIC_CLOUD`` (default)
* ``AZURE_CHINA_CLOUD``
* ``AZURE_US_GOV_CLOUD``
* ``AZURE_GERMAN_CLOUD``
"""
# Python libs
from __future__ import absolute_import
import logging
# Azure libs
HAS_LIBS = False
try:
import azure.mgmt.resource.resources.models # pylint: disable=unused-import
from msrest.exceptions import SerializationError
from msrestazure.azure_exceptions import CloudError
HAS_LIBS = True
except ImportError:
pass
log = logging.getLogger(__name__)
async def create_or_update_at_resource_group_level(
hub, ctx, name, resource_group, lock_level, notes=None, owners=None, **kwargs
):
"""
.. versionadded:: 1.0.0
Creates or updates a management lock at the resource group level. When you apply a lock at a parent scope,
all child resources inherit the same lock. To create management locks, you must have access to
Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions.
:param name: The name of the lock. The lock name can be a maximum of 260 characters. It cannot contain <, > %, &,
:, ?, /, or any control characters.
:param resource_group: The name of the resource group.
:param lock_level: The level of the lock. Possible values are: 'NotSpecified', 'CanNotDelete', & 'ReadOnly'.
CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means
authorized users can only read from a resource, but they can't modify or delete it.
:param notes: An optional string representing notes about the lock. Maximum of 512 characters.
:param owners: An optional list of strings representing owners of the lock. Each string represents the application
id of the lock owner.
CLI Example:
.. code-block:: bash
azurerm.resource.management_lock.create_or_update_at_resource_group_level test_name test_group test_level
"""
result = {}
lckconn = await hub.exec.azurerm.utils.get_client(ctx, "managementlock", **kwargs)
# Converts each application id in the owners list into a dictionary that represents a ManagementLockOwner object
if owners:
lock_owners = [{"application_id": owner} for owner in owners]
else:
lock_owners = []
try:
lockmodel = await hub.exec.azurerm.utils.create_object_model(
"resource.locks",
"ManagementLockObject",
level=lock_level,
notes=notes,
owners=lock_owners,
**kwargs,
)
except TypeError as exc:
result = {
"error": "The object model could not be built. ({0})".format(str(exc))
}
return result
try:
lock = lckconn.management_locks.create_or_update_at_resource_group_level(
resource_group_name=resource_group, lock_name=name, parameters=lockmodel
)
result = lock.as_dict()
except CloudError as exc:
await hub.exec.azurerm.utils.log_cloud_error("resource", str(exc), **kwargs)
result = {"error": str(exc)}
except SerializationError as exc:
result = {
"error": "The object model could not be parsed. ({0})".format(str(exc))
}
return result
async def delete_at_resource_group_level(hub, ctx, name, resource_group, **kwargs):
"""
.. versionadded:: 1.0.0
Deletes a management lock at the resource group level. To delete management locks, you must have access to
Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions.
:param name: The name of the lock to be deleted.
:param resource_group: The name of the resource group.
CLI Example:
.. code-block:: bash
azurerm.resource.management_lock.delete_at_resource_group_level test_name test_group
"""
result = False
lckconn = await hub.exec.azurerm.utils.get_client(ctx, "managementlock", **kwargs)
try:
lock = lckconn.management_locks.delete_at_resource_group_level(
resource_group_name=resource_group, lock_name=name, **kwargs
)
result = True
except CloudError as exc:
await hub.exec.azurerm.utils.log_cloud_error("resource", str(exc), **kwargs)
result = {"error": str(exc)}
return result
async def get_at_resource_group_level(hub, ctx, name, resource_group, **kwargs):
"""
.. versionadded:: 1.0.0
Gets a management lock at the resource group level.
:param name: The name of the lock to get.
:param resource_group: The name of the resource group.
CLI Example:
.. code-block:: bash
azurerm.resource.management_lock.get_at_resource_group_level test_name test_group
"""
result = {}
lckconn = await hub.exec.azurerm.utils.get_client(ctx, "managementlock", **kwargs)
try:
lock = lckconn.management_locks.get_at_resource_group_level(
resource_group_name=resource_group, lock_name=name, **kwargs
)
result = lock.as_dict()
except CloudError as exc:
await hub.exec.azurerm.utils.log_cloud_error("resource", str(exc), **kwargs)
result = {"error": str(exc)}
return result
async def create_or_update_by_scope(
hub, ctx, name, scope, lock_level, notes=None, owners=None, **kwargs
):
"""
.. versionadded:: 1.0.0
Create or update a management lock by scope. When you apply a lock at a parent scope, all child resources inherit
the same lock. To create management locks, you must have access to Microsoft.Authorization/* or
Microsoft.Authorization/locks/* actions.
:param name: The name of the lock. The lock name can be a maximum of 260 characters. It cannot contain <, > %, &,
:, ?, /, or any control characters.
:param scope: The scope for the lock. When providing a scope for the assignment,
use '/subscriptions/{subscriptionId}' for subscriptions,
'/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and
'/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'
for resources.
:param lock_level: The level of the lock. Possible values are: 'NotSpecified', 'CanNotDelete', & 'ReadOnly'.
CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means
authorized users can only read from a resource, but they can't modify or delete it.
:param notes: An optional string representing notes about the lock. Maximum of 512 characters.
:param owners: An optional list of strings representing owners of the lock. Each string represents the application
id of the lock owner.
CLI Example:
.. code-block:: bash
azurerm.resource.management_lock.create_or_update_by_scope test_name test_scope test_level
"""
result = {}
lckconn = await hub.exec.azurerm.utils.get_client(ctx, "managementlock", **kwargs)
# Converts each application id in the owners list into a dictionary that represents a ManagementLockOwner object
if owners:
lock_owners = [{"application_id": owner} for owner in owners]
else:
lock_owners = []
try:
lockmodel = await hub.exec.azurerm.utils.create_object_model(
"resource.locks",
"ManagementLockObject",
level=lock_level,
notes=notes,
owners=lock_owners,
**kwargs,
)
except TypeError as exc:
result = {
"error": "The object model could not be built. ({0})".format(str(exc))
}
return result
try:
lock = lckconn.management_locks.create_or_update_by_scope(
scope=scope, lock_name=name, parameters=lockmodel
)
result = lock.as_dict()
except CloudError as exc:
await hub.exec.azurerm.utils.log_cloud_error("resource", str(exc), **kwargs)
result = {"error": str(exc)}
except SerializationError as exc:
result = {
"error": "The object model could not be parsed. ({0})".format(str(exc))
}
return result
async def delete_by_scope(hub, ctx, name, scope, **kwargs):
"""
.. versionadded:: 1.0.0
Delete a management lock by scope. To delete management locks, you must have access to Microsoft.Authorization/*
or Microsoft.Authorization/locks/* actions.
:param name: The name of the lock to be deleted.
:param scope: The scope for the lock. When providing a scope for the assignment,
use '/subscriptions/{subscriptionId}' for subscriptions,
'/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and
'/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'
for resources.
CLI Example:
.. code-block:: bash
azurerm.resource.management_lock.delete_by_scope test_name test_scope
"""
result = False
lckconn = await hub.exec.azurerm.utils.get_client(ctx, "managementlock", **kwargs)
try:
lock = lckconn.management_locks.delete_by_scope(
scope=scope, lock_name=name, **kwargs
)
result = True
except CloudError as exc:
await hub.exec.azurerm.utils.log_cloud_error("resource", str(exc), **kwargs)
result = {"error": str(exc)}
return result
async def get_by_scope(hub, ctx, name, scope, **kwargs):
"""
.. versionadded:: 1.0.0
Get a management lock by scope.
:param name: The name of the lock to get.
:param scope: The scope for the lock. When providing a scope for the assignment,
use '/subscriptions/{subscriptionId}' for subscriptions,
'/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and
'/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'
for resources.
CLI Example:
.. code-block:: bash
azurerm.resource.management_lock.get_by_scope test_name test_scope
"""
result = {}
lckconn = await hub.exec.azurerm.utils.get_client(ctx, "managementlock", **kwargs)
try:
lock = lckconn.management_locks.get_by_scope(
scope=scope, lock_name=name, **kwargs
)
result = lock.as_dict()
except CloudError as exc:
await hub.exec.azurerm.utils.log_cloud_error("resource", str(exc), **kwargs)
result = {"error": str(exc)}
return result
async def create_or_update_at_resource_level(
hub,
ctx,
name,
lock_level,
resource_group,
resource,
resource_type,
resource_provider_namespace,
parent_resource_path=None,
notes=None,
owners=None,
**kwargs,
):
"""
.. versionadded:: 1.0.0
Creates or updates a management lock at the resource level or any level below the resource. When you apply a lock
at a parent scope, all child resources inherit the same lock. To create management locks, you must have access
to Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions.
:param name: The name of the lock. The lock name can be a maximum of 260 characters. It cannot contain <, > %, &,
:, ?, /, or any control characters.
:param lock_level: The level of the lock. Possible values are: 'NotSpecified', 'CanNotDelete', & 'ReadOnly'.
CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means
authorized users can only read from a resource, but they can't modify or delete it.
:param resource_group: The name of the resource group containing the resource to lock.
:param resource: The name of the resource to lock.
:param resource_type: The resource type of the resource to lock.
:param resource_provider_namespace: The resource provider namespace of the resource to lock.
:param parent_resource_path: The parent resource identity.
:param notes: An optional string representing notes about the lock. Maximum of 512 characters.
:param owners: An optional list of strings representing owners of the lock. Each string represents the application
id of the lock owner.
CLI Example:
.. code-block:: bash
azurerm.resource.management_lock.create_or_update_at_resource_level test_name test_level test_group
test_resource test_type test_namespace
"""
result = {}
lckconn = await hub.exec.azurerm.utils.get_client(ctx, "managementlock", **kwargs)
# Converts each application id in the owners list into a dictionary that represents a ManagementLockOwner object
if owners:
lock_owners = [{"application_id": owner} for owner in owners]
else:
lock_owners = []
try:
lockmodel = await hub.exec.azurerm.utils.create_object_model(
"resource.locks",
"ManagementLockObject",
level=lock_level,
notes=notes,
owners=lock_owners,
**kwargs,
)
except TypeError as exc:
result = {
"error": "The object model could not be built. ({0})".format(str(exc))
}
return result
if parent_resource_path is None:
parent_resource_path = ""
try:
lock = lckconn.management_locks.create_or_update_at_resource_level(
resource_group_name=resource_group,
lock_name=name,
resource_name=resource,
resource_provider_namespace=resource_provider_namespace,
resource_type=resource_type,
parent_resource_path=parent_resource_path,
parameters=lockmodel,
)
result = lock.as_dict()
except CloudError as exc:
await hub.exec.azurerm.utils.log_cloud_error("resource", str(exc), **kwargs)
result = {"error": str(exc)}
except SerializationError as exc:
result = {
"error": "The object model could not be parsed. ({0})".format(str(exc))
}
return result
async def delete_at_resource_level(
hub,
ctx,
name,
resource_group,
resource,
resource_type,
resource_provider_namespace,
parent_resource_path=None,
**kwargs,
):
"""
.. versionadded:: 1.0.0
Deletes the management lock of a resource or any level below the resource. When you apply a lock
at a parent scope, all child resources inherit the same lock. To delete management locks, you must have access
to Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions.
:param name: The name of the lock to delete.
:param resource_group: The name of the resource group containing the resource with the lock to delete.
:param resource: The name of the resource with the lock to delete.
:param resource_type: The resource type of the resource with the lock to delete.
:param resource_provider_namespace: The resource provider namespace of the resource with the lock to delete.
:param parent_resource_path: The parent resource identity.
CLI Example:
.. code-block:: bash
azurerm.resource.management_lock.delete_at_resource_level test_name test_group test_resource
test_type test_namespace
"""
result = False
lckconn = await hub.exec.azurerm.utils.get_client(ctx, "managementlock", **kwargs)
if parent_resource_path is None:
parent_resource_path = ""
try:
lock = lckconn.management_locks.delete_at_resource_level(
lock_name=name,
resource_group_name=resource_group,
resource_name=resource,
resource_provider_namespace=resource_provider_namespace,
resource_type=resource_type,
parent_resource_path=parent_resource_path,
**kwargs,
)
result = True
except CloudError as exc:
await hub.exec.azurerm.utils.log_cloud_error("resource", str(exc), **kwargs)
result = {"error": str(exc)}
return result
async def get_at_resource_level(
hub,
ctx,
name,
resource_group,
resource,
resource_type,
resource_provider_namespace,
parent_resource_path=None,
**kwargs,
):
"""
.. versionadded:: 1.0.0
Get the management lock of a resource or any level below resource.
:param name: The name of the lock.
:param resource_group: The name of the resource group.
:param resource: The name of the resource.
:param resource_type: The type of the resource.
:param resource_provider_namespace: The namespace of the resource provider.
:param parent_resource_path: The parent resource identity.
CLI Example:
.. code-block:: bash
azurerm.resource.management_lock.get_at_resource_level test_name test_group test_resource test_type
test_namespace
"""
result = {}
lckconn = await hub.exec.azurerm.utils.get_client(ctx, "managementlock", **kwargs)
if parent_resource_path is None:
parent_resource_path = ""
try:
lock = lckconn.management_locks.get_at_resource_level(
lock_name=name,
resource_group_name=resource_group,
resource_name=resource,
resource_provider_namespace=resource_provider_namespace,
resource_type=resource_type,
parent_resource_path=parent_resource_path,
**kwargs,
)
result = lock.as_dict()
except CloudError as exc:
await hub.exec.azurerm.utils.log_cloud_error("resource", str(exc), **kwargs)
result = {"error": str(exc)}
return result
async def create_or_update_at_subscription_level(
hub, ctx, name, lock_level, notes=None, owners=None, **kwargs
):
"""
.. versionadded:: 1.0.0
Creates or updates a management lock at the subscription level. When you apply a lock at a parent scope,
all child resources inherit the same lock. To create management locks, you must have access to
Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions.
:param name: The name of the lock. The lock name can be a maximum of 260 characters. It cannot contain <, > %, &,
:, ?, /, or any control characters.
:param lock_level: The level of the lock. Possible values are: 'NotSpecified', 'CanNotDelete', & 'ReadOnly'.
CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means
authorized users can only read from a resource, but they can't modify or delete it.
:param notes: An optional string representing notes about the lock. Maximum of 512 characters.
:param owners: An optional list of strings representing owners of the lock. Each string represents the application
id of the lock owner.
CLI Example:
.. code-block:: bash
azurerm.resource.management_lock.create_or_update_at_subscription_level test_name test_level
"""
result = {}
lckconn = await hub.exec.azurerm.utils.get_client(ctx, "managementlock", **kwargs)
# Converts each application id in the owners list into a dictionary that represents a ManagementLockOwner object
if owners:
lock_owners = [{"application_id": owner} for owner in owners]
else:
lock_owners = []
try:
lockmodel = await hub.exec.azurerm.utils.create_object_model(
"resource.locks",
"ManagementLockObject",
level=lock_level,
notes=notes,
owners=lock_owners,
**kwargs,
)
except TypeError as exc:
result = {
"error": "The object model could not be built. ({0})".format(str(exc))
}
return result
try:
lock = lckconn.management_locks.create_or_update_at_subscription_level(
lock_name=name, parameters=lockmodel
)
result = lock.as_dict()
except CloudError as exc:
await hub.exec.azurerm.utils.log_cloud_error("resource", str(exc), **kwargs)
result = {"error": str(exc)}
except SerializationError as exc:
result = {
"error": "The object model could not be parsed. ({0})".format(str(exc))
}
return result
async def delete_at_subscription_level(hub, ctx, name, **kwargs):
"""
.. versionadded:: 1.0.0
Deletes the management lock at the subscription level. To delete management locks, you must have access to
Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions.
:param name: The name of the lock to be deleted.
CLI Example:
.. code-block:: bash
azurerm.resource.management_lock.delete_at_subscription_level test_name
"""
result = False
lckconn = await hub.exec.azurerm.utils.get_client(ctx, "managementlock", **kwargs)
try:
lock = lckconn.management_locks.delete_at_subscription_level(
lock_name=name, **kwargs
)
result = True
except CloudError as exc:
await hub.exec.azurerm.utils.log_cloud_error("resource", str(exc), **kwargs)
result = {"error": str(exc)}
return result
async def get_at_subscription_level(hub, ctx, name, **kwargs):
"""
.. versionadded:: 1.0.0
Gets a management lock at the subscription level.
:param name: The name of the lock to get.
CLI Example:
.. code-block:: bash
azurerm.resource.management_lock.get_at_subscription_level test_name
"""
result = {}
lckconn = await hub.exec.azurerm.utils.get_client(ctx, "managementlock", **kwargs)
try:
lock = lckconn.management_locks.get_at_subscription_level(
lock_name=name, **kwargs
)
result = lock.as_dict()
except CloudError as exc:
await hub.exec.azurerm.utils.log_cloud_error("resource", str(exc), **kwargs)
result = {"error": str(exc)}
return result
async def list_at_resource_group_level(hub, ctx, resource_group, **kwargs):
"""
.. versionadded:: 1.0.0
Gets all the management locks for a resource group.
:param resource_group: The name of the resource group containing the locks to get.
CLI Example:
.. code-block:: bash
azurerm.resource.management_lock.list_at_resource_group_level test_group
"""
result = {}
lckconn = await hub.exec.azurerm.utils.get_client(ctx, "managementlock", **kwargs)
try:
result = await hub.exec.azurerm.utils.paged_object_to_list(
lckconn.management_locks.list_at_resource_group_level(
resource_group_name=resource_group, filter=kwargs.get("filter")
)
)
except CloudError as exc:
await hub.exec.azurerm.utils.log_cloud_error("resource", str(exc), **kwargs)
result = {"error": str(exc)}
return result
async def list_at_resource_level(
hub,
ctx,
resource_group,
resource,
resource_type,
resource_provider_namespace,
parent_resource_path=None,
**kwargs,
):
"""
.. versionadded:: 1.0.0
Get the management lock of a resource or any level below resource.
:param resource_group: The name of the resource group.
:param resource: The name of the resource.
:param resource_type: The type of the resource.
:param resource_provider_namespace: The namespace of the resource provider.
:param parent_resource_path: The parent resource identity.
CLI Example:
.. code-block:: bash
azurerm.resource.management_lock.list_at_resource_level test_group test_resource test_type test_namespace
"""
result = {}
lckconn = await hub.exec.azurerm.utils.get_client(ctx, "managementlock", **kwargs)
if parent_resource_path is None:
parent_resource_path = ""
try:
result = await hub.exec.azurerm.utils.paged_object_to_list(
lckconn.management_locks.list_at_resource_level(
resource_group_name=resource_group,
resource_name=resource,
resource_provider_namespace=resource_provider_namespace,
resource_type=resource_type,
parent_resource_path=parent_resource_path,
filter=kwargs.get("filter"),
)
)
except CloudError as exc:
await hub.exec.azurerm.utils.log_cloud_error("resource", str(exc), **kwargs)
result = {"error": str(exc)}
return result
async def list_at_subscription_level(hub, ctx, **kwargs):
"""
.. versionadded:: 1.0.0
Gets all the management locks for a subscription.
CLI Example:
.. code-block:: bash
azurerm.resource.management_lock.list_at_subscription_level
"""
result = {}
lckconn = await hub.exec.azurerm.utils.get_client(ctx, "managementlock", **kwargs)
try:
result = await hub.exec.azurerm.utils.paged_object_to_list(
lckconn.management_locks.list_at_subscription_level(
filter=kwargs.get("filter")
)
)
except CloudError as exc:
await hub.exec.azurerm.utils.log_cloud_error("resource", str(exc), **kwargs)
result = {"error": str(exc)}
return result
async def list_by_scope(hub, ctx, scope, **kwargs):
"""
.. versionadded:: 1.0.0
Gets all the management locks for a scope.
:param scope: The scope for the lock. When providing a scope for the assignment,
use '/subscriptions/{subscriptionId}' for subscriptions,
'/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and
'/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'
for resources.
CLI Example:
.. code-block:: bash
azurerm.resource.management_lock.list_by_scope test_scope
"""
result = {}
lckconn = await hub.exec.azurerm.utils.get_client(ctx, "managementlock", **kwargs)
try:
result = await hub.exec.azurerm.utils.paged_object_to_list(
lckconn.management_locks.list_by_scope(
scope=scope, filter=kwargs.get("filter")
)
)
except CloudError as exc:
await hub.exec.azurerm.utils.log_cloud_error("resource", str(exc), **kwargs)
result = {"error": str(exc)}
return result
| 32.239156
| 174
| 0.669527
| 3,373
| 27,500
| 5.30418
| 0.068782
| 0.040691
| 0.026829
| 0.042479
| 0.94528
| 0.938684
| 0.923928
| 0.913756
| 0.903303
| 0.883461
| 0
| 0.004033
| 0.242655
| 27,500
| 852
| 175
| 32.276995
| 0.854996
| 0.049855
| 0
| 0.764706
| 0
| 0
| 0.074824
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0.002674
| 0.016043
| 0
| 0.069519
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
0e73dfaacd20ccae3472784a7876a5f2c60aaa55
| 5,125
|
py
|
Python
|
dynastes/layers/attention_layers.py
|
dynastes-team/dynastes
|
931b6d9ac83862eb39c2f5144c95b952e9efcd8e
|
[
"MIT"
] | 7
|
2020-01-18T14:28:04.000Z
|
2021-11-10T16:46:34.000Z
|
dynastes/layers/attention_layers.py
|
veqtor/dynastes
|
931b6d9ac83862eb39c2f5144c95b952e9efcd8e
|
[
"MIT"
] | null | null | null |
dynastes/layers/attention_layers.py
|
veqtor/dynastes
|
931b6d9ac83862eb39c2f5144c95b952e9efcd8e
|
[
"MIT"
] | null | null | null |
import tensorflow as tf
from dynastes.layers.base_layers import DynastesBaseLayer
from dynastes.ops.localized_attention_nd import localized_attention_1d, localized_attention_2d
@tf.keras.utils.register_keras_serializable(package='Dynastes')
class LocalizedAttentionLayer1D(DynastesBaseLayer):
def __init__(self,
kernel_size=3,
num_heads=1,
strides=1,
dilation_rate=1,
multiquery_attention=False,
padding='same',
preshaped_q=True, **kwargs):
"""
Args:
kernel_size: size of patches to perform localized attention within
num_heads: number of attention heads
strides: the strides of the patch window, strides 2 halves output
dilation_rate: the dilation_rate of the patch window
padding: one of 'same' or 'valid'
preshaped_q: True if q matches strided and padded kv
ex: kv: [B, 4, C]
strides = 2
q must be [B,2,C]
"""
super(LocalizedAttentionLayer1D, self).__init__(**kwargs)
self.kernel_size = kernel_size
self.num_heads = num_heads
self.strides = strides
self.dilation_rate = dilation_rate
self.padding = padding
self.preshaped_q = preshaped_q
self.multiquery_attention = multiquery_attention
def call(self, q, k, v, training=None, mask=None):
if type(q) == list:
if len(q) == 3:
q, k, v = q
else:
raise SyntaxError
return localized_attention_1d(q=q, k=k, v=v,
num_heads=self.num_heads,
strides=self.strides,
dilation_rate=self.dilation_rate,
padding=self.padding,
preshaped_q=self.preshaped_q,
multiquery_attention=self.multiquery_attention), {}
def get_config(self):
config = {'kernel_size': self.kernel_size,
'num_heads': self.num_heads,
'strides': self.strides,
'dilation_rate': self.dilation_rate,
'padding': self.padding,
'preshaped_q': self.preshaped_q,
'multiquery_attention': self.multiquery_attention}
base_config = super(LocalizedAttentionLayer1D, self).get_config()
return {**base_config, **config}
@tf.keras.utils.register_keras_serializable(package='Dynastes')
class LocalizedAttentionLayer2D(DynastesBaseLayer):
def __init__(self,
kernel_size=(3, 3),
num_heads=1,
strides=(1, 1),
dilation_rate=(1, 1),
padding='same',
preshaped_q=True,
multiquery_attention=False,
**kwargs):
"""
Args:
kernel_size: size of patches to perform localized attention within
num_heads: number of attention heads
strides: the strides of the patch window, strides 2 halves output
dilation_rate: the dilation_rate of the patch window
padding: one of 'same' or 'valid'
preshaped_q: True if q matches strided and padded kv
ex: kv: [B, 4, 4, C]
strides = (2,2)
q must be [B,2,2,C]
"""
super(LocalizedAttentionLayer2D, self).__init__(**kwargs)
self.kernel_size = kernel_size
self.num_heads = num_heads
self.strides = strides
self.dilation_rate = dilation_rate
self.padding = padding
self.preshaped_q = preshaped_q
self.multiquery_attention = multiquery_attention
def call(self, q, k, v, training=None, mask=None):
if type(q) == list:
if len(q) == 3:
q, k, v = q
else:
raise SyntaxError
return localized_attention_2d(q=q, k=k, v=v,
num_heads=self.num_heads,
strides=self.strides,
dilation_rate=self.dilation_rate,
padding=self.padding,
preshaped_q=self.preshaped_q,
multiquery_attention=self.multiquery_attention)
def get_config(self):
config = {'kernel_size': self.kernel_size,
'num_heads': self.num_heads,
'strides': self.strides,
'dilation_rate': self.dilation_rate,
'padding': self.padding,
'preshaped_q': self.preshaped_q,
'multiquery_attention': self.multiquery_attention}
base_config = super(LocalizedAttentionLayer2D, self).get_config()
return {**base_config, **config}
| 42.008197
| 94
| 0.532878
| 518
| 5,125
| 5.050193
| 0.167954
| 0.082569
| 0.03211
| 0.024465
| 0.842125
| 0.823012
| 0.801988
| 0.745413
| 0.745413
| 0.701835
| 0
| 0.010866
| 0.389463
| 5,125
| 121
| 95
| 42.355372
| 0.825184
| 0.165463
| 0
| 0.744186
| 0
| 0
| 0.044933
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.069767
| false
| 0
| 0.034884
| 0
| 0.174419
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
7eca21a724fef9a0838b4a57d5bd558a217740b4
| 246
|
py
|
Python
|
tests/decorator_test.py
|
matt-chalmers/remember
|
ba4073c5eecbcd1a13eb577af6100ca572a123de
|
[
"MIT"
] | null | null | null |
tests/decorator_test.py
|
matt-chalmers/remember
|
ba4073c5eecbcd1a13eb577af6100ca572a123de
|
[
"MIT"
] | null | null | null |
tests/decorator_test.py
|
matt-chalmers/remember
|
ba4073c5eecbcd1a13eb577af6100ca572a123de
|
[
"MIT"
] | null | null | null |
from ..remember.decorator import remember
def test_brackets():
@remember()
def testf():
return 42
assert testf() == 42
def test_nobrackets():
@remember
def testf():
return 42
assert testf() == 42
| 11.181818
| 41
| 0.581301
| 27
| 246
| 5.222222
| 0.444444
| 0.234043
| 0.22695
| 0.312057
| 0.524823
| 0.524823
| 0.524823
| 0.524823
| 0
| 0
| 0
| 0.047059
| 0.308943
| 246
| 21
| 42
| 11.714286
| 0.782353
| 0
| 0
| 0.545455
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.181818
| 1
| 0.363636
| true
| 0
| 0.090909
| 0.181818
| 0.636364
| 0
| 1
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 1
| 1
| 0
|
0
| 8
|
7ecd1d2acbd460d7e9e0650d4786a95a966f6151
| 90
|
py
|
Python
|
perceiver/train2/random_image_dataset/__init__.py
|
dwanev/deepmind-research
|
4903788399886725a260790b877307b307bb2e63
|
[
"Apache-2.0"
] | null | null | null |
perceiver/train2/random_image_dataset/__init__.py
|
dwanev/deepmind-research
|
4903788399886725a260790b877307b307bb2e63
|
[
"Apache-2.0"
] | null | null | null |
perceiver/train2/random_image_dataset/__init__.py
|
dwanev/deepmind-research
|
4903788399886725a260790b877307b307bb2e63
|
[
"Apache-2.0"
] | null | null | null |
"""random_image_dataset dataset."""
from .random_image_dataset import RandomImageDataset
| 22.5
| 52
| 0.833333
| 10
| 90
| 7.1
| 0.6
| 0.309859
| 0.507042
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.077778
| 90
| 3
| 53
| 30
| 0.855422
| 0.322222
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
7eeb1a73c9031269eee002ca664852cedd304dc9
| 221
|
py
|
Python
|
jiminy/remotes/__init__.py
|
sibeshkar/jiminy
|
7754f86fb0f246e7d039ea0cbfd9950fcae4adfb
|
[
"MIT"
] | 3
|
2020-03-16T13:50:40.000Z
|
2021-06-09T05:26:13.000Z
|
jiminy/remotes/__init__.py
|
sibeshkar/jiminy
|
7754f86fb0f246e7d039ea0cbfd9950fcae4adfb
|
[
"MIT"
] | null | null | null |
jiminy/remotes/__init__.py
|
sibeshkar/jiminy
|
7754f86fb0f246e7d039ea0cbfd9950fcae4adfb
|
[
"MIT"
] | null | null | null |
from jiminy.remotes.hardcoded_addresses import HardcodedAddresses
from jiminy.remotes.allocator_remote import AllocatorManager
from jiminy.remotes.docker_remote import DockerManager
from jiminy.remotes.build import build
| 44.2
| 65
| 0.891403
| 27
| 221
| 7.185185
| 0.481481
| 0.206186
| 0.350515
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.072398
| 221
| 4
| 66
| 55.25
| 0.946341
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
7d1b3e09d7b4357d16eea87814db58c115c48b8c
| 13,452
|
py
|
Python
|
sdk/python/pulumi_vault/identity/group_alias.py
|
pulumi/pulumi-vault
|
1682875f4a5d7d508f36e166529ad2b8aec34090
|
[
"ECL-2.0",
"Apache-2.0"
] | 10
|
2019-10-07T17:44:18.000Z
|
2022-03-30T20:46:33.000Z
|
sdk/python/pulumi_vault/identity/group_alias.py
|
pulumi/pulumi-vault
|
1682875f4a5d7d508f36e166529ad2b8aec34090
|
[
"ECL-2.0",
"Apache-2.0"
] | 79
|
2019-10-11T18:13:07.000Z
|
2022-03-31T21:09:41.000Z
|
sdk/python/pulumi_vault/identity/group_alias.py
|
pulumi/pulumi-vault
|
1682875f4a5d7d508f36e166529ad2b8aec34090
|
[
"ECL-2.0",
"Apache-2.0"
] | 2
|
2019-10-28T10:08:40.000Z
|
2020-03-17T14:20:55.000Z
|
# coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import _utilities
__all__ = ['GroupAliasArgs', 'GroupAlias']
@pulumi.input_type
class GroupAliasArgs:
def __init__(__self__, *,
canonical_id: pulumi.Input[str],
mount_accessor: pulumi.Input[str],
name: pulumi.Input[str]):
"""
The set of arguments for constructing a GroupAlias resource.
:param pulumi.Input[str] canonical_id: ID of the group to which this is an alias.
:param pulumi.Input[str] mount_accessor: Mount accessor of the authentication backend to which this alias belongs to.
:param pulumi.Input[str] name: Name of the group alias to create.
"""
pulumi.set(__self__, "canonical_id", canonical_id)
pulumi.set(__self__, "mount_accessor", mount_accessor)
pulumi.set(__self__, "name", name)
@property
@pulumi.getter(name="canonicalId")
def canonical_id(self) -> pulumi.Input[str]:
"""
ID of the group to which this is an alias.
"""
return pulumi.get(self, "canonical_id")
@canonical_id.setter
def canonical_id(self, value: pulumi.Input[str]):
pulumi.set(self, "canonical_id", value)
@property
@pulumi.getter(name="mountAccessor")
def mount_accessor(self) -> pulumi.Input[str]:
"""
Mount accessor of the authentication backend to which this alias belongs to.
"""
return pulumi.get(self, "mount_accessor")
@mount_accessor.setter
def mount_accessor(self, value: pulumi.Input[str]):
pulumi.set(self, "mount_accessor", value)
@property
@pulumi.getter
def name(self) -> pulumi.Input[str]:
"""
Name of the group alias to create.
"""
return pulumi.get(self, "name")
@name.setter
def name(self, value: pulumi.Input[str]):
pulumi.set(self, "name", value)
@pulumi.input_type
class _GroupAliasState:
def __init__(__self__, *,
canonical_id: Optional[pulumi.Input[str]] = None,
mount_accessor: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None):
"""
Input properties used for looking up and filtering GroupAlias resources.
:param pulumi.Input[str] canonical_id: ID of the group to which this is an alias.
:param pulumi.Input[str] mount_accessor: Mount accessor of the authentication backend to which this alias belongs to.
:param pulumi.Input[str] name: Name of the group alias to create.
"""
if canonical_id is not None:
pulumi.set(__self__, "canonical_id", canonical_id)
if mount_accessor is not None:
pulumi.set(__self__, "mount_accessor", mount_accessor)
if name is not None:
pulumi.set(__self__, "name", name)
@property
@pulumi.getter(name="canonicalId")
def canonical_id(self) -> Optional[pulumi.Input[str]]:
"""
ID of the group to which this is an alias.
"""
return pulumi.get(self, "canonical_id")
@canonical_id.setter
def canonical_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "canonical_id", value)
@property
@pulumi.getter(name="mountAccessor")
def mount_accessor(self) -> Optional[pulumi.Input[str]]:
"""
Mount accessor of the authentication backend to which this alias belongs to.
"""
return pulumi.get(self, "mount_accessor")
@mount_accessor.setter
def mount_accessor(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "mount_accessor", value)
@property
@pulumi.getter
def name(self) -> Optional[pulumi.Input[str]]:
"""
Name of the group alias to create.
"""
return pulumi.get(self, "name")
@name.setter
def name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "name", value)
class GroupAlias(pulumi.CustomResource):
@overload
def __init__(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
canonical_id: Optional[pulumi.Input[str]] = None,
mount_accessor: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
__props__=None):
"""
Creates an Identity Group Alias for Vault. The [Identity secrets engine](https://www.vaultproject.io/docs/secrets/identity/index.html) is the identity management solution for Vault.
Group aliases allows entity membership in external groups to be managed semi-automatically. External group serves as a mapping to a group that is outside of the identity store. External groups can have one (and only one) alias. This alias should map to a notion of group that is outside of the identity store. For example, groups in LDAP, and teams in GitHub. A username in LDAP, belonging to a group in LDAP, can get its entity ID added as a member of a group in Vault automatically during logins and token renewals. This works only if the group in Vault is an external group and has an alias that maps to the group in LDAP. If the user is removed from the group in LDAP, that change gets reflected in Vault only upon the subsequent login or renewal operation.
## Example Usage
```python
import pulumi
import pulumi_vault as vault
group = vault.identity.Group("group",
type="external",
policies=["test"])
github = vault.AuthBackend("github",
type="github",
path="github")
group_alias = vault.identity.GroupAlias("group-alias",
name="Github_Team_Slug",
mount_accessor=github.accessor,
canonical_id=group.id)
```
## Import
The group alias can be imported with the group alias `id`, for example
```sh
$ pulumi import vault:identity/groupAlias:GroupAlias group-alias id
```
Group aliases can also be imported using the UUID of the alias record, e.g.
```sh
$ pulumi import vault:identity/groupAlias:GroupAlias alias_name 63104e20-88e4-11eb-8d04-cf7ac9d60157
```
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[str] canonical_id: ID of the group to which this is an alias.
:param pulumi.Input[str] mount_accessor: Mount accessor of the authentication backend to which this alias belongs to.
:param pulumi.Input[str] name: Name of the group alias to create.
"""
...
@overload
def __init__(__self__,
resource_name: str,
args: GroupAliasArgs,
opts: Optional[pulumi.ResourceOptions] = None):
"""
Creates an Identity Group Alias for Vault. The [Identity secrets engine](https://www.vaultproject.io/docs/secrets/identity/index.html) is the identity management solution for Vault.
Group aliases allows entity membership in external groups to be managed semi-automatically. External group serves as a mapping to a group that is outside of the identity store. External groups can have one (and only one) alias. This alias should map to a notion of group that is outside of the identity store. For example, groups in LDAP, and teams in GitHub. A username in LDAP, belonging to a group in LDAP, can get its entity ID added as a member of a group in Vault automatically during logins and token renewals. This works only if the group in Vault is an external group and has an alias that maps to the group in LDAP. If the user is removed from the group in LDAP, that change gets reflected in Vault only upon the subsequent login or renewal operation.
## Example Usage
```python
import pulumi
import pulumi_vault as vault
group = vault.identity.Group("group",
type="external",
policies=["test"])
github = vault.AuthBackend("github",
type="github",
path="github")
group_alias = vault.identity.GroupAlias("group-alias",
name="Github_Team_Slug",
mount_accessor=github.accessor,
canonical_id=group.id)
```
## Import
The group alias can be imported with the group alias `id`, for example
```sh
$ pulumi import vault:identity/groupAlias:GroupAlias group-alias id
```
Group aliases can also be imported using the UUID of the alias record, e.g.
```sh
$ pulumi import vault:identity/groupAlias:GroupAlias alias_name 63104e20-88e4-11eb-8d04-cf7ac9d60157
```
:param str resource_name: The name of the resource.
:param GroupAliasArgs args: The arguments to use to populate this resource's properties.
:param pulumi.ResourceOptions opts: Options for the resource.
"""
...
def __init__(__self__, resource_name: str, *args, **kwargs):
resource_args, opts = _utilities.get_resource_args_opts(GroupAliasArgs, pulumi.ResourceOptions, *args, **kwargs)
if resource_args is not None:
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
else:
__self__._internal_init(resource_name, *args, **kwargs)
def _internal_init(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
canonical_id: Optional[pulumi.Input[str]] = None,
mount_accessor: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
__props__=None):
if opts is None:
opts = pulumi.ResourceOptions()
if not isinstance(opts, pulumi.ResourceOptions):
raise TypeError('Expected resource options to be a ResourceOptions instance')
if opts.version is None:
opts.version = _utilities.get_version()
if opts.id is None:
if __props__ is not None:
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
__props__ = GroupAliasArgs.__new__(GroupAliasArgs)
if canonical_id is None and not opts.urn:
raise TypeError("Missing required property 'canonical_id'")
__props__.__dict__["canonical_id"] = canonical_id
if mount_accessor is None and not opts.urn:
raise TypeError("Missing required property 'mount_accessor'")
__props__.__dict__["mount_accessor"] = mount_accessor
if name is None and not opts.urn:
raise TypeError("Missing required property 'name'")
__props__.__dict__["name"] = name
super(GroupAlias, __self__).__init__(
'vault:identity/groupAlias:GroupAlias',
resource_name,
__props__,
opts)
@staticmethod
def get(resource_name: str,
id: pulumi.Input[str],
opts: Optional[pulumi.ResourceOptions] = None,
canonical_id: Optional[pulumi.Input[str]] = None,
mount_accessor: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None) -> 'GroupAlias':
"""
Get an existing GroupAlias resource's state with the given name, id, and optional extra
properties used to qualify the lookup.
:param str resource_name: The unique name of the resulting resource.
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[str] canonical_id: ID of the group to which this is an alias.
:param pulumi.Input[str] mount_accessor: Mount accessor of the authentication backend to which this alias belongs to.
:param pulumi.Input[str] name: Name of the group alias to create.
"""
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
__props__ = _GroupAliasState.__new__(_GroupAliasState)
__props__.__dict__["canonical_id"] = canonical_id
__props__.__dict__["mount_accessor"] = mount_accessor
__props__.__dict__["name"] = name
return GroupAlias(resource_name, opts=opts, __props__=__props__)
@property
@pulumi.getter(name="canonicalId")
def canonical_id(self) -> pulumi.Output[str]:
"""
ID of the group to which this is an alias.
"""
return pulumi.get(self, "canonical_id")
@property
@pulumi.getter(name="mountAccessor")
def mount_accessor(self) -> pulumi.Output[str]:
"""
Mount accessor of the authentication backend to which this alias belongs to.
"""
return pulumi.get(self, "mount_accessor")
@property
@pulumi.getter
def name(self) -> pulumi.Output[str]:
"""
Name of the group alias to create.
"""
return pulumi.get(self, "name")
| 42.977636
| 769
| 0.64771
| 1,676
| 13,452
| 5.022673
| 0.128878
| 0.056189
| 0.068187
| 0.047042
| 0.802922
| 0.776431
| 0.763721
| 0.730221
| 0.709789
| 0.70373
| 0
| 0.004543
| 0.263678
| 13,452
| 312
| 770
| 43.115385
| 0.845331
| 0.435474
| 0
| 0.537415
| 1
| 0
| 0.10194
| 0.005373
| 0
| 0
| 0
| 0
| 0
| 1
| 0.14966
| false
| 0.006803
| 0.034014
| 0
| 0.272109
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
7d23fd5645b85ccd98bb0de6903ec6a85ade208e
| 90
|
py
|
Python
|
project/__init__.py
|
melyxlin/sailor-moon-api
|
cb665a15fb5f13632773a0049cf18fec783a1fcd
|
[
"MIT"
] | null | null | null |
project/__init__.py
|
melyxlin/sailor-moon-api
|
cb665a15fb5f13632773a0049cf18fec783a1fcd
|
[
"MIT"
] | 1
|
2019-08-20T18:42:14.000Z
|
2019-08-20T18:42:14.000Z
|
project/__init__.py
|
melyxlin/sailor-moon-api
|
cb665a15fb5f13632773a0049cf18fec783a1fcd
|
[
"MIT"
] | 1
|
2019-08-20T18:11:48.000Z
|
2019-08-20T18:11:48.000Z
|
from project.api import *
from project.data import *
from project.implementations import *
| 30
| 37
| 0.811111
| 12
| 90
| 6.083333
| 0.5
| 0.452055
| 0.465753
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.122222
| 90
| 3
| 37
| 30
| 0.924051
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
adba1966a2581dfa4bf6efdc39ddeaf89fb9d2dc
| 443,246
|
py
|
Python
|
modules/cbflib/pycbf/pycbf.py
|
jorgediazjr/dials-dev20191018
|
77d66c719b5746f37af51ad593e2941ed6fbba17
|
[
"BSD-3-Clause"
] | null | null | null |
modules/cbflib/pycbf/pycbf.py
|
jorgediazjr/dials-dev20191018
|
77d66c719b5746f37af51ad593e2941ed6fbba17
|
[
"BSD-3-Clause"
] | null | null | null |
modules/cbflib/pycbf/pycbf.py
|
jorgediazjr/dials-dev20191018
|
77d66c719b5746f37af51ad593e2941ed6fbba17
|
[
"BSD-3-Clause"
] | 1
|
2020-02-04T15:39:06.000Z
|
2020-02-04T15:39:06.000Z
|
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.10
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info as _swig_python_version_info
if _swig_python_version_info >= (2, 7, 0):
def swig_import_helper():
import importlib
pkg = __name__.rpartition('.')[0]
mname = '.'.join((pkg, '_pycbf')).lstrip('.')
try:
return importlib.import_module(mname)
except ImportError:
return importlib.import_module('_pycbf')
_pycbf = swig_import_helper()
del swig_import_helper
elif _swig_python_version_info >= (2, 6, 0):
def swig_import_helper():
from os.path import dirname
import imp
fp = None
try:
fp, pathname, description = imp.find_module('_pycbf', [dirname(__file__)])
except ImportError:
import _pycbf
return _pycbf
if fp is not None:
try:
_mod = imp.load_module('_pycbf', fp, pathname, description)
finally:
fp.close()
return _mod
_pycbf = swig_import_helper()
del swig_import_helper
else:
import _pycbf
del _swig_python_version_info
try:
_swig_property = property
except NameError:
pass # Python < 2.2 doesn't have 'property'.
try:
import builtins as __builtin__
except ImportError:
import __builtin__
def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
if (name == "thisown"):
return self.this.own(value)
if (name == "this"):
if type(value).__name__ == 'SwigPyObject':
self.__dict__[name] = value
return
method = class_type.__swig_setmethods__.get(name, None)
if method:
return method(self, value)
if (not static):
if _newclass:
object.__setattr__(self, name, value)
else:
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self, class_type, name, value):
return _swig_setattr_nondynamic(self, class_type, name, value, 0)
def _swig_getattr(self, class_type, name):
if (name == "thisown"):
return self.this.own()
method = class_type.__swig_getmethods__.get(name, None)
if method:
return method(self)
raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))
def _swig_repr(self):
try:
strthis = "proxy of " + self.this.__repr__()
except __builtin__.Exception:
strthis = ""
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
try:
_object = object
_newclass = 1
except __builtin__.Exception:
class _object:
pass
_newclass = 0
__author__ = "Jon Wright <wright@esrf.fr>"
__date__ = "14 Dec 2005"
__version__ = "CBFlib 0.9"
__credits__ = """Paul Ellis and Herbert Bernstein for the excellent CBFlib!"""
__doc__=""" pycbf - python bindings to the CBFlib library
A library for reading and writing ImageCIF and CBF files
which store area detector images for crystallography.
This work is a derivative of the CBFlib version 0.7.7 library
by Paul J. Ellis of Stanford Synchrotron Radiation Laboratory
and Herbert J. Bernstein of Bernstein + Sons
See:
http://www.bernstein-plus-sons.com/software/CBF/
Licensing is GPL based, see:
http://www.bernstein-plus-sons.com/software/CBF/doc/CBFlib_NOTICES.html
These bindings were automatically generated by SWIG, and the
input to SWIG was automatically generated by a python script.
We very strongly recommend you do not attempt to edit them
by hand!
Copyright (C) 2007 Jonathan Wright
ESRF, Grenoble, France
email: wright@esrf.fr
Revised, August 2010 Herbert J. Bernstein
Add defines from CBFlib 0.9.1
"""
class doubleArray(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, doubleArray, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, doubleArray, name)
__repr__ = _swig_repr
def __init__(self, nelements):
this = _pycbf.new_doubleArray(nelements)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _pycbf.delete_doubleArray
__del__ = lambda self: None
def __getitem__(self, index):
return _pycbf.doubleArray___getitem__(self, index)
def __setitem__(self, index, value):
return _pycbf.doubleArray___setitem__(self, index, value)
def cast(self):
return _pycbf.doubleArray_cast(self)
if _newclass:
frompointer = staticmethod(_pycbf.doubleArray_frompointer)
else:
frompointer = _pycbf.doubleArray_frompointer
doubleArray_swigregister = _pycbf.doubleArray_swigregister
doubleArray_swigregister(doubleArray)
def doubleArray_frompointer(t):
return _pycbf.doubleArray_frompointer(t)
doubleArray_frompointer = _pycbf.doubleArray_frompointer
class intArray(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, intArray, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, intArray, name)
__repr__ = _swig_repr
def __init__(self, nelements):
this = _pycbf.new_intArray(nelements)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _pycbf.delete_intArray
__del__ = lambda self: None
def __getitem__(self, index):
return _pycbf.intArray___getitem__(self, index)
def __setitem__(self, index, value):
return _pycbf.intArray___setitem__(self, index, value)
def cast(self):
return _pycbf.intArray_cast(self)
if _newclass:
frompointer = staticmethod(_pycbf.intArray_frompointer)
else:
frompointer = _pycbf.intArray_frompointer
intArray_swigregister = _pycbf.intArray_swigregister
intArray_swigregister(intArray)
def intArray_frompointer(t):
return _pycbf.intArray_frompointer(t)
intArray_frompointer = _pycbf.intArray_frompointer
class shortArray(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, shortArray, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, shortArray, name)
__repr__ = _swig_repr
def __init__(self, nelements):
this = _pycbf.new_shortArray(nelements)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _pycbf.delete_shortArray
__del__ = lambda self: None
def __getitem__(self, index):
return _pycbf.shortArray___getitem__(self, index)
def __setitem__(self, index, value):
return _pycbf.shortArray___setitem__(self, index, value)
def cast(self):
return _pycbf.shortArray_cast(self)
if _newclass:
frompointer = staticmethod(_pycbf.shortArray_frompointer)
else:
frompointer = _pycbf.shortArray_frompointer
shortArray_swigregister = _pycbf.shortArray_swigregister
shortArray_swigregister(shortArray)
def shortArray_frompointer(t):
return _pycbf.shortArray_frompointer(t)
shortArray_frompointer = _pycbf.shortArray_frompointer
class longArray(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, longArray, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, longArray, name)
__repr__ = _swig_repr
def __init__(self, nelements):
this = _pycbf.new_longArray(nelements)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _pycbf.delete_longArray
__del__ = lambda self: None
def __getitem__(self, index):
return _pycbf.longArray___getitem__(self, index)
def __setitem__(self, index, value):
return _pycbf.longArray___setitem__(self, index, value)
def cast(self):
return _pycbf.longArray_cast(self)
if _newclass:
frompointer = staticmethod(_pycbf.longArray_frompointer)
else:
frompointer = _pycbf.longArray_frompointer
longArray_swigregister = _pycbf.longArray_swigregister
longArray_swigregister(longArray)
def longArray_frompointer(t):
return _pycbf.longArray_frompointer(t)
longArray_frompointer = _pycbf.longArray_frompointer
CBF_INTEGER = _pycbf.CBF_INTEGER
CBF_FLOAT = _pycbf.CBF_FLOAT
CBF_CANONICAL = _pycbf.CBF_CANONICAL
CBF_PACKED = _pycbf.CBF_PACKED
CBF_PACKED_V2 = _pycbf.CBF_PACKED_V2
CBF_BYTE_OFFSET = _pycbf.CBF_BYTE_OFFSET
CBF_PREDICTOR = _pycbf.CBF_PREDICTOR
CBF_NONE = _pycbf.CBF_NONE
CBF_COMPRESSION_MASK = _pycbf.CBF_COMPRESSION_MASK
CBF_FLAG_MASK = _pycbf.CBF_FLAG_MASK
CBF_UNCORRELATED_SECTIONS = _pycbf.CBF_UNCORRELATED_SECTIONS
CBF_FLAT_IMAGE = _pycbf.CBF_FLAT_IMAGE
CBF_NO_EXPAND = _pycbf.CBF_NO_EXPAND
PLAIN_HEADERS = _pycbf.PLAIN_HEADERS
MIME_HEADERS = _pycbf.MIME_HEADERS
MSG_NODIGEST = _pycbf.MSG_NODIGEST
MSG_DIGEST = _pycbf.MSG_DIGEST
MSG_DIGESTNOW = _pycbf.MSG_DIGESTNOW
MSG_DIGESTWARN = _pycbf.MSG_DIGESTWARN
PAD_1K = _pycbf.PAD_1K
PAD_2K = _pycbf.PAD_2K
PAD_4K = _pycbf.PAD_4K
CBF_PARSE_BRC = _pycbf.CBF_PARSE_BRC
CBF_PARSE_PRN = _pycbf.CBF_PARSE_PRN
CBF_PARSE_BKT = _pycbf.CBF_PARSE_BKT
CBF_PARSE_BRACKETS = _pycbf.CBF_PARSE_BRACKETS
CBF_PARSE_TQ = _pycbf.CBF_PARSE_TQ
CBF_PARSE_CIF2_DELIMS = _pycbf.CBF_PARSE_CIF2_DELIMS
CBF_PARSE_DDLm = _pycbf.CBF_PARSE_DDLm
CBF_PARSE_CIF2 = _pycbf.CBF_PARSE_CIF2
CBF_PARSE_DEFINES = _pycbf.CBF_PARSE_DEFINES
CBF_PARSE_WIDE = _pycbf.CBF_PARSE_WIDE
CBF_PARSE_UTF8 = _pycbf.CBF_PARSE_UTF8
HDR_DEFAULT = _pycbf.HDR_DEFAULT
MIME_NOHEADERS = _pycbf.MIME_NOHEADERS
CBF = _pycbf.CBF
CIF = _pycbf.CIF
ENC_NONE = _pycbf.ENC_NONE
ENC_BASE64 = _pycbf.ENC_BASE64
ENC_BASE32K = _pycbf.ENC_BASE32K
ENC_QP = _pycbf.ENC_QP
ENC_BASE10 = _pycbf.ENC_BASE10
ENC_BASE16 = _pycbf.ENC_BASE16
ENC_BASE8 = _pycbf.ENC_BASE8
ENC_FORWARD = _pycbf.ENC_FORWARD
ENC_BACKWARD = _pycbf.ENC_BACKWARD
ENC_CRTERM = _pycbf.ENC_CRTERM
ENC_LFTERM = _pycbf.ENC_LFTERM
ENC_DEFAULT = _pycbf.ENC_DEFAULT
def get_local_integer_byte_order():
"""
Returns : char **bo,int *bolen
*args :
C prototype: int cbf_get_local_integer_byte_order (char ** byte_order);
CBFLib documentation:
DESCRIPTION
cbf_get_local_integer_byte_order returns the byte order of integers
on the machine on which the API is being run in the form of a
character string returned as the value pointed to by byte_order.
cbf_get_local_real_byte_order returns the byte order of reals on the
machine on which the API is being run in the form of a character
string returned as the value pointed to by byte_order.
cbf_get_local_real_format returns the format of floats on the machine
on which the API is being run in the form of a character string
returned as the value pointed to by real_format. The strings returned
must not be modified in any way.
The values returned in byte_order may be the strings "little_endian
" or "big-endian ". The values returned in real_format may be the
strings "ieee 754-1985 " or "other ". Additional values may be
returned by future versions of the API.
ARGUMENTS
byte_order pointer to the returned string real_format pointer to
the returned string
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.get_local_integer_byte_order()
def compute_cell_volume(cell):
"""
Returns : Float volume
*args : double cell[6]
C prototype: int cbf_compute_cell_volume ( double cell[6], double *volume );
CBFLib documentation:
DESCRIPTION
cbf_compute_cell_volume sets *volume to point to the volume of the
unit cell computed from the double values in cell[0:2] for the cell
edge lengths a, b and c in AAngstroms and the double values given in
cell[3:5] for the cell angles a, b and g in degrees.
ARGUMENTS
cell Pointer to the array of 6 doubles giving the cell
parameters. volume Pointer to the doubles for cell volume.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.compute_cell_volume(cell)
def get_local_real_format():
"""
Returns : char **rf,int *rflen
*args :
C prototype: int cbf_get_local_real_format (char ** real_format );
CBFLib documentation:
DESCRIPTION
cbf_get_local_integer_byte_order returns the byte order of integers
on the machine on which the API is being run in the form of a
character string returned as the value pointed to by byte_order.
cbf_get_local_real_byte_order returns the byte order of reals on the
machine on which the API is being run in the form of a character
string returned as the value pointed to by byte_order.
cbf_get_local_real_format returns the format of floats on the machine
on which the API is being run in the form of a character string
returned as the value pointed to by real_format. The strings returned
must not be modified in any way.
The values returned in byte_order may be the strings "little_endian
" or "big-endian ". The values returned in real_format may be the
strings "ieee 754-1985 " or "other ". Additional values may be
returned by future versions of the API.
ARGUMENTS
byte_order pointer to the returned string real_format pointer to
the returned string
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.get_local_real_format()
def airy_disk(x, y, cenx, ceny, volume, fwhm):
"""
Returns : Float value
*args : double x,double y,double cenx,double ceny,double volume,double fwhm
C prototype: int cbf_airy_disk(double x, double y, double cenx, double ceny,
double volume, double fwhm, double * value);
CBFLib documentation:
DESCRIPTION
cbf_airy_disk sets value to point to the value taken at (x,y) of an
truncated Airy function approximation to a point-spread function of
total included volume volume and full width at half max fwhm centered
on (cenx, ceny).
cbf_airy_disk_volume sets to point to the integral in the box with
diagonal corners (xlo, ylo) and of (xhi, yhi) of a truncated Airy
function approximation to a point-spread function of total included
volume volume and full width at half max fwhm centered on (cenx,
ceny).
The Airy function used is an 8-digit approximation up to the first
minimum, after which it is forced to zero, so it cannot be used to
simulate diffraction rings.
ARGUMENTS
x the x-coordinate of a point in the real plane y
the y-coordinate of a point in the real plane xlo the
x-coordinate of a point in the real plane marking the left bound of
integration ylo the y-coordinate of a point in the real plane
marking the bottom bound of integration xhi the x-coordinate
of a point in the real plane marking the right bound of integration
yhi the y-coordinate of a point in the real plane marking the
top bound of integration cenx the x-coordinate of a point in
the real plane marking the PSF center ceny the y-coordinate of
a point in the real plane marking the PSF center volume the
total volume of the PSF fwhm the full-width at half max of the
PSF value Pointer to the value of the Airy function volumeout
Pointer to the value of the integral/TR>
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.airy_disk(x, y, cenx, ceny, volume, fwhm)
def get_local_real_byte_order():
"""
Returns : char **bo,int *bolen
*args :
C prototype: int cbf_get_local_real_byte_order (char ** byte_order);
CBFLib documentation:
DESCRIPTION
cbf_get_local_integer_byte_order returns the byte order of integers
on the machine on which the API is being run in the form of a
character string returned as the value pointed to by byte_order.
cbf_get_local_real_byte_order returns the byte order of reals on the
machine on which the API is being run in the form of a character
string returned as the value pointed to by byte_order.
cbf_get_local_real_format returns the format of floats on the machine
on which the API is being run in the form of a character string
returned as the value pointed to by real_format. The strings returned
must not be modified in any way.
The values returned in byte_order may be the strings "little_endian
" or "big-endian ". The values returned in real_format may be the
strings "ieee 754-1985 " or "other ". Additional values may be
returned by future versions of the API.
ARGUMENTS
byte_order pointer to the returned string real_format pointer to
the returned string
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.get_local_real_byte_order()
def compute_reciprocal_cell(cell):
"""
Returns : Float astar,Float bstar,Float cstar,Float alphastar,Float betastar,
Float gammastar
*args : double cell[6]
C prototype: int cbf_compute_reciprocal_cell ( double cell[6],
double rcell[6] );
CBFLib documentation:
DESCRIPTION
cbf_compute_reciprocal_cell sets rcell to point to the array of
reciprocal cell parameters computed from the double values cell[0:2]
giving the cell edge lengths a, b and c in AAngstroms, and the double
values cell[3:5] giving the cell angles a, b and g in degrees. The
double values rcell[0:2] will be set to the reciprocal cell lengths
a*, b* and c* in AAngstroms-1 and the double values rcell[3:5] will
be set to the reciprocal cell angles a*, b* and g* in degrees.
ARGUMENTS
cell Pointer to the array of 6 doubles giving the cell
parameters. rcell Pointer to the destination array of 6 doubles
giving the reciprocal cell parameters. volume Pointer to the
doubles for cell volume.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.compute_reciprocal_cell(cell)
def airy_disk_volume(xlo, ylo, xhi, yhi, cenx, ceny, volumein, fwhm):
"""
Returns : Float volumeout
*args : double xlo,double ylo,double xhi,double yhi,double cenx,double ceny,
double volumein,double fwhm
C prototype: int cbf_airy_disk_volume(double xlo, double ylo, double xhi,
double yhi, double cenx, double ceny, double volume,
double fwhm, double * volumeout);
CBFLib documentation:
DESCRIPTION
cbf_airy_disk sets value to point to the value taken at (x,y) of an
truncated Airy function approximation to a point-spread function of
total included volume volume and full width at half max fwhm centered
on (cenx, ceny).
cbf_airy_disk_volume sets to point to the integral in the box with
diagonal corners (xlo, ylo) and of (xhi, yhi) of a truncated Airy
function approximation to a point-spread function of total included
volume volume and full width at half max fwhm centered on (cenx,
ceny).
The Airy function used is an 8-digit approximation up to the first
minimum, after which it is forced to zero, so it cannot be used to
simulate diffraction rings.
ARGUMENTS
x the x-coordinate of a point in the real plane y
the y-coordinate of a point in the real plane xlo the
x-coordinate of a point in the real plane marking the left bound of
integration ylo the y-coordinate of a point in the real plane
marking the bottom bound of integration xhi the x-coordinate
of a point in the real plane marking the right bound of integration
yhi the y-coordinate of a point in the real plane marking the
top bound of integration cenx the x-coordinate of a point in
the real plane marking the PSF center ceny the y-coordinate of
a point in the real plane marking the PSF center volume the
total volume of the PSF fwhm the full-width at half max of the
PSF value Pointer to the value of the Airy function volumeout
Pointer to the value of the integral/TR>
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.airy_disk_volume(xlo, ylo, xhi, yhi, cenx, ceny, volumein, fwhm)
class cbf_positioner_struct(_object):
"""Proxy of C cbf_positioner_struct struct."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, cbf_positioner_struct, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, cbf_positioner_struct, name)
__repr__ = _swig_repr
__swig_setmethods__["matrix"] = _pycbf.cbf_positioner_struct_matrix_set
__swig_getmethods__["matrix"] = _pycbf.cbf_positioner_struct_matrix_get
if _newclass:
matrix = _swig_property(_pycbf.cbf_positioner_struct_matrix_get, _pycbf.cbf_positioner_struct_matrix_set)
__swig_setmethods__["axis"] = _pycbf.cbf_positioner_struct_axis_set
__swig_getmethods__["axis"] = _pycbf.cbf_positioner_struct_axis_get
if _newclass:
axis = _swig_property(_pycbf.cbf_positioner_struct_axis_get, _pycbf.cbf_positioner_struct_axis_set)
__swig_setmethods__["axes"] = _pycbf.cbf_positioner_struct_axes_set
__swig_getmethods__["axes"] = _pycbf.cbf_positioner_struct_axes_get
if _newclass:
axes = _swig_property(_pycbf.cbf_positioner_struct_axes_get, _pycbf.cbf_positioner_struct_axes_set)
__swig_setmethods__["matrix_is_valid"] = _pycbf.cbf_positioner_struct_matrix_is_valid_set
__swig_getmethods__["matrix_is_valid"] = _pycbf.cbf_positioner_struct_matrix_is_valid_get
if _newclass:
matrix_is_valid = _swig_property(_pycbf.cbf_positioner_struct_matrix_is_valid_get, _pycbf.cbf_positioner_struct_matrix_is_valid_set)
__swig_setmethods__["matrix_ratio_used"] = _pycbf.cbf_positioner_struct_matrix_ratio_used_set
__swig_getmethods__["matrix_ratio_used"] = _pycbf.cbf_positioner_struct_matrix_ratio_used_get
if _newclass:
matrix_ratio_used = _swig_property(_pycbf.cbf_positioner_struct_matrix_ratio_used_get, _pycbf.cbf_positioner_struct_matrix_ratio_used_set)
__swig_setmethods__["axis_index_limit"] = _pycbf.cbf_positioner_struct_axis_index_limit_set
__swig_getmethods__["axis_index_limit"] = _pycbf.cbf_positioner_struct_axis_index_limit_get
if _newclass:
axis_index_limit = _swig_property(_pycbf.cbf_positioner_struct_axis_index_limit_get, _pycbf.cbf_positioner_struct_axis_index_limit_set)
def __init__(self):
"""__init__(cbf_positioner_struct self) -> cbf_positioner_struct"""
this = _pycbf.new_cbf_positioner_struct()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _pycbf.delete_cbf_positioner_struct
__del__ = lambda self: None
def get_rotation_range(self):
"""
Returns : Float start,Float increment
*args :
C prototype: int cbf_get_rotation_range (cbf_goniometer goniometer,
unsigned int reserved, double *start, double *increment);
CBFLib documentation:
DESCRIPTION
cbf_get_rotation_range sets *start and *increment to the
corresponding values of the goniometer rotation axis used for the
exposure.
Either of the destination pointers may be NULL.
The parameter reserved is presently unused and should be set to 0.
ARGUMENTS
goniometer Goniometer handle. reserved Unused. Any value other
than 0 is invalid. start Pointer to the destination start
value. increment Pointer to the destination increment value.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_positioner_struct_get_rotation_range(self)
def rotate_vector(self, ratio, initial1, initial2, initial3):
"""
Returns : double final1,double final2,double final3
*args : double ratio,double initial1,double initial2,double initial3
C prototype: int cbf_rotate_vector (cbf_goniometer goniometer,
unsigned int reserved, double ratio, double initial1,
double initial2, double initial3, double *final1,
double *final2, double *final3);
CBFLib documentation:
DESCRIPTION
cbf_rotate_vector sets *final1, *final2, and *final3 to the 3
components of the of the vector (initial1, initial2, initial3) after
reorientation by applying the goniometer rotations. The value ratio
specif ies the goniometer setting and varies from 0.0 at the
beginning of the exposure to 1.0 at the end, irrespective of the
actual rotation range.
Any of the destination pointers may be NULL.
The parameter reserved is presently unused and should be set to 0.
ARGUMENTS
goniometer Goniometer handle. reserved Unused. Any value other
than 0 is invalid. ratio Goniometer setting. 0 = beginning of
exposure, 1 = end. initial1 x component of the initial vector.
initial2 y component of the initial vector. initial3 z
component of the initial vector. vector1 Pointer to the
destination x component of the final vector. vector2 Pointer to
the destination y component of the final vector. vector3 Pointer
to the destination z component of the final vector.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_positioner_struct_rotate_vector(self, ratio, initial1, initial2, initial3)
def get_goniometer_poise(self, ratio):
"""
Returns : Float vector1,Float vector2,Float vector3,Float offset1,Float offset2,
Float offset3,Float angle
*args : Float ratio
C prototype: int cbf_get_goniometer_poise(cbf_goniometer goniometer,
double ratio, double * vector1, double * vector2,
double * vector3, double * offset1, double * offset2,
double * offset3, double * angle);
CBFLib documentation:
DESCRIPTION
cbf_get_axis_poise sets vector1, vector2, vector3 to point to the
components of the axis vector for axis axis_id, offset1, offset2,
offset3 to point to the components of the axis base offset vector for
axis axis_id, and angle to point to the angle of rotation of axis
axis_id after application of the axis settings for frame frame_id,
using ratio, a value between 0 and 1, indicating how far into the
internal motion in the frame to go. If frame_id is the string ".
", the first frame found is used. If there is more than one frame,
which frame will be found is indeterminate. If frame_id is NULL, the
overall setting for the scan are used, rather than those for any
particular frame. The vector and offset reported are the reference
vector and offset of the axis axis_id transformed by application of
all motions of the axes on which axis_id depends.
cbf_get_goniometer_poise vector1, vector2, vector3 to point to the
components of the axis vector for the goniometer axis, offset1,
offset2, offset3 to point to the components of the axis base offset
vector for the goniometer axis, and angle to point to the angle of
rotation of the goniometer axis after application of all axis
settings in the goniometer deriving the vector, offset and angle from
the resulting matrix. Calculation of the vector is indeterminate if
the angle is zero.
cbf_get_axis_reference_poise sets vector1, vector2, vector3 to point
to the components of the axis vector for axis axis_id, offset1,
offset2, offset3 to point to the components of the axis base offset
vector for axis axis_id unmodified by axis rotations. Any of the
pointers may be specified as NULL.
ARGUMENTS
handle CBF handle. ratio A number between 0 and 1
indication how far into the frame to go vector1 Pointer to the
first component of the axis vector vector2 Pointer to the second
component of the axis vector vector3 Pointer to the third
component of the axis vector offset1 Pointer to the first
component of the axis offset offset2 Pointer to the second
component of the axis offset offset3 Pointer to the third
component of the axis offset angle Pointer to the rotation
angle axis_id The specified axis frame_id The specified
frame positioner CBF goniometer
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_positioner_struct_get_goniometer_poise(self, ratio)
def get_reciprocal(self, ratio, wavelength, real1, real2, real3):
"""
Returns : double reciprocal1,double reciprocal2,double reciprocal3
*args : double ratio,double wavelength,double real1,double real2,double real3
C prototype: int cbf_get_reciprocal (cbf_goniometer goniometer,
unsigned int reserved, double ratio, double wavelength,
double real1, double real2, double real3,
double *reciprocal1, double *reciprocal2,
double *reciprocal3);
CBFLib documentation:
DESCRIPTION
cbf_get_reciprocal sets *reciprocal1, * reciprocal2, and *
reciprocal3 to the 3 components of the of the reciprocal-space vector
corresponding to the real-space vector (real1, real2, real3). The
reciprocal-space vector is oriented to correspond to the goniometer
setting with all axes at 0. The value wavelength is the wavlength in
AA and the value ratio specifies the current goniometer setting and
varies from 0.0 at the beginning of the exposur e to 1.0 at the end,
irrespective of the actual rotation range.
Any of the destination pointers may be NULL.
The parameter reserved is presently unused and should be set to 0.
ARGUMENTS
goniometer Goniometer handle. reserved Unused. Any value
other than 0 is invalid. ratio Goniometer setting. 0 =
beginning of exposure, 1 = end. wavelength Wavelength in AA. real1
x component of the real-space vector. real2 y
component of the real-space vector. real3 z component of the
real-space vector. reciprocal1 Pointer to the destination x
component of the reciprocal-space vector. reciprocal2 Pointer to
the destination y component of the reciprocal-space vector.
reciprocal3 Pointer to the destination z component of the
reciprocal-space vector.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_positioner_struct_get_reciprocal(self, ratio, wavelength, real1, real2, real3)
def get_rotation_axis(self):
"""
Returns : double vector1,double vector2,double vector3
*args :
C prototype: int cbf_get_rotation_axis (cbf_goniometer goniometer,
unsigned int reserved, double *vector1, double *vector2,
double *vector3);
CBFLib documentation:
DESCRIPTION
cbf_get_rotation_axis sets *vector1, *vector2, and *vector3 to the 3
components of the goniometer rotation axis used for the exposure.
Any of the destination pointers may be NULL.
The parameter reserved is presently unused and should be set to 0.
ARGUMENTS
goniometer Goniometer handle. reserved Unused. Any value other
than 0 is invalid. vector1 Pointer to the destination x
component of the rotation axis. vector2 Pointer to the
destination y component of the rotation axis. vector3 Pointer to
the destination z component of the rotation axis.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_positioner_struct_get_rotation_axis(self)
cbf_positioner_struct_swigregister = _pycbf.cbf_positioner_struct_swigregister
cbf_positioner_struct_swigregister(cbf_positioner_struct)
class cbf_detector_struct(_object):
"""Proxy of C cbf_detector_struct struct."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, cbf_detector_struct, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, cbf_detector_struct, name)
__repr__ = _swig_repr
__swig_setmethods__["positioner"] = _pycbf.cbf_detector_struct_positioner_set
__swig_getmethods__["positioner"] = _pycbf.cbf_detector_struct_positioner_get
if _newclass:
positioner = _swig_property(_pycbf.cbf_detector_struct_positioner_get, _pycbf.cbf_detector_struct_positioner_set)
__swig_setmethods__["displacement"] = _pycbf.cbf_detector_struct_displacement_set
__swig_getmethods__["displacement"] = _pycbf.cbf_detector_struct_displacement_get
if _newclass:
displacement = _swig_property(_pycbf.cbf_detector_struct_displacement_get, _pycbf.cbf_detector_struct_displacement_set)
__swig_setmethods__["increment"] = _pycbf.cbf_detector_struct_increment_set
__swig_getmethods__["increment"] = _pycbf.cbf_detector_struct_increment_get
if _newclass:
increment = _swig_property(_pycbf.cbf_detector_struct_increment_get, _pycbf.cbf_detector_struct_increment_set)
__swig_setmethods__["axes"] = _pycbf.cbf_detector_struct_axes_set
__swig_getmethods__["axes"] = _pycbf.cbf_detector_struct_axes_get
if _newclass:
axes = _swig_property(_pycbf.cbf_detector_struct_axes_get, _pycbf.cbf_detector_struct_axes_set)
__swig_setmethods__["index"] = _pycbf.cbf_detector_struct_index_set
__swig_getmethods__["index"] = _pycbf.cbf_detector_struct_index_get
if _newclass:
index = _swig_property(_pycbf.cbf_detector_struct_index_get, _pycbf.cbf_detector_struct_index_set)
def __init__(self):
"""__init__(cbf_detector_struct self) -> cbf_detector_struct"""
this = _pycbf.new_cbf_detector_struct()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _pycbf.delete_cbf_detector_struct
__del__ = lambda self: None
def set_beam_center_fs(self, indexfast, indexslow, centerfast, centerslow):
"""
Returns :
*args : double indexfast,double indexslow,double centerfast,double centerslow
C prototype: int cbf_set_beam_center_fs (cbf_detector detector,
double *indexfast, double *indexslow, double *centerfast,
double *centerslow);
CBFLib documentation:
DESCRIPTION
cbf_get_beam_center sets *centerfast and *centerslow to the
displacements in mm along the detector axes from pixel (0, 0) to the
point at which the beam intersects the detector and *indexfast and
*indexslow to the corresponding indices. cbf_set_beam_center sets the
offsets in the axis category for the detector element axis with
precedence 1 to place the beam center at the position given in mm by
*centerfast and *centerslow as the displacements in mm along the
detector axes from pixel (0, 0) to the point at which the beam
intersects the detector at the indices given *indexfast and
*indexslow. cbf_set_reference_beam_center sets the displacments in
the array_structure_list_axis category to place the beam center at
the position given in mm by *centerfast and *centerslow as the
displacements in mm along the detector axes from pixel (0, 0) to the
point at which the beam intersects the detector at the indices given
by *indexfast and *indexslow. In order to achieve consistent results,
a reference detector should be used for detector to have all axes at
their reference settings.
Note that the precedence 1 axis is the fastest axis, so that
*centerfast and *indexfast are the fast axis components of the center
and *centerslow and *indexslow are the slow axis components of the
center.
The _fs calls give the displacments in a fast-to-slow order. The
calls with no suffix and the calls _sf calls give the displacements
in slow-to-fast order
Any of the destination pointers may be NULL for getting the beam
center. For setting the beam axis, either the indices of the center
must not be NULL.
The indices are non-negative for beam centers within the detector
surface, but the center for an axis with a negative increment will be
negative for a beam center within the detector surface.
For cbf_set_beam_center if the diffrn_data_frame category exists with
a row for the corresponding element id, the values will be set for
_diffrn_data_frame.center_fast and _diffrn_data_frame.center_slow in
millimetres and the value of _diffrn_data_frame.center_units will be
set to 'mm'.
For cbf_set_reference_beam_center if the diffrn_detector_element
category exists with a row for the corresponding element id, the
values will be set for _diffrn_detector_element.reference_center_fast
and _diffrn_detector_element.reference_center_slow in millimetres and
the value of _diffrn_detector_element.reference_units will be set to
'mm'.
ARGUMENTS
detector Detector handle. indexfast Pointer to the destination
fast index. indexslow Pointer to the destination slow index.
centerfast Pointer to the destination displacement along the fast
axis. centerslow Pointer to the destination displacement along the
slow axis.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_detector_struct_set_beam_center_fs(self, indexfast, indexslow, centerfast, centerslow)
def set_reference_beam_center_fs(self, indexfast, indexslow, centerfast, centerslow):
"""
Returns :
*args : double indexfast,double indexslow,double centerfast,double centerslow
C prototype: int cbf_set_reference_beam_center_fs (cbf_detector detector,
double *indexfast, double *indexslow, double *centerfast,
double *centerslow);
CBFLib documentation:
DESCRIPTION
cbf_get_beam_center sets *centerfast and *centerslow to the
displacements in mm along the detector axes from pixel (0, 0) to the
point at which the beam intersects the detector and *indexfast and
*indexslow to the corresponding indices. cbf_set_beam_center sets the
offsets in the axis category for the detector element axis with
precedence 1 to place the beam center at the position given in mm by
*centerfast and *centerslow as the displacements in mm along the
detector axes from pixel (0, 0) to the point at which the beam
intersects the detector at the indices given *indexfast and
*indexslow. cbf_set_reference_beam_center sets the displacments in
the array_structure_list_axis category to place the beam center at
the position given in mm by *centerfast and *centerslow as the
displacements in mm along the detector axes from pixel (0, 0) to the
point at which the beam intersects the detector at the indices given
by *indexfast and *indexslow. In order to achieve consistent results,
a reference detector should be used for detector to have all axes at
their reference settings.
Note that the precedence 1 axis is the fastest axis, so that
*centerfast and *indexfast are the fast axis components of the center
and *centerslow and *indexslow are the slow axis components of the
center.
The _fs calls give the displacments in a fast-to-slow order. The
calls with no suffix and the calls _sf calls give the displacements
in slow-to-fast order
Any of the destination pointers may be NULL for getting the beam
center. For setting the beam axis, either the indices of the center
must not be NULL.
The indices are non-negative for beam centers within the detector
surface, but the center for an axis with a negative increment will be
negative for a beam center within the detector surface.
For cbf_set_beam_center if the diffrn_data_frame category exists with
a row for the corresponding element id, the values will be set for
_diffrn_data_frame.center_fast and _diffrn_data_frame.center_slow in
millimetres and the value of _diffrn_data_frame.center_units will be
set to 'mm'.
For cbf_set_reference_beam_center if the diffrn_detector_element
category exists with a row for the corresponding element id, the
values will be set for _diffrn_detector_element.reference_center_fast
and _diffrn_detector_element.reference_center_slow in millimetres and
the value of _diffrn_detector_element.reference_units will be set to
'mm'.
ARGUMENTS
detector Detector handle. indexfast Pointer to the destination
fast index. indexslow Pointer to the destination slow index.
centerfast Pointer to the destination displacement along the fast
axis. centerslow Pointer to the destination displacement along the
slow axis.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_detector_struct_set_reference_beam_center_fs(self, indexfast, indexslow, centerfast, centerslow)
def get_beam_center(self):
"""
Returns : double index1,double index2,double center1,double center2
*args :
C prototype: int cbf_get_beam_center (cbf_detector detector,
double *indexslow, double *indexfast, double *centerslow,
double *centerfast);
CBFLib documentation:
DESCRIPTION
cbf_get_beam_center sets *centerfast and *centerslow to the
displacements in mm along the detector axes from pixel (0, 0) to the
point at which the beam intersects the detector and *indexfast and
*indexslow to the corresponding indices. cbf_set_beam_center sets the
offsets in the axis category for the detector element axis with
precedence 1 to place the beam center at the position given in mm by
*centerfast and *centerslow as the displacements in mm along the
detector axes from pixel (0, 0) to the point at which the beam
intersects the detector at the indices given *indexfast and
*indexslow. cbf_set_reference_beam_center sets the displacments in
the array_structure_list_axis category to place the beam center at
the position given in mm by *centerfast and *centerslow as the
displacements in mm along the detector axes from pixel (0, 0) to the
point at which the beam intersects the detector at the indices given
by *indexfast and *indexslow. In order to achieve consistent results,
a reference detector should be used for detector to have all axes at
their reference settings.
Note that the precedence 1 axis is the fastest axis, so that
*centerfast and *indexfast are the fast axis components of the center
and *centerslow and *indexslow are the slow axis components of the
center.
The _fs calls give the displacments in a fast-to-slow order. The
calls with no suffix and the calls _sf calls give the displacements
in slow-to-fast order
Any of the destination pointers may be NULL for getting the beam
center. For setting the beam axis, either the indices of the center
must not be NULL.
The indices are non-negative for beam centers within the detector
surface, but the center for an axis with a negative increment will be
negative for a beam center within the detector surface.
For cbf_set_beam_center if the diffrn_data_frame category exists with
a row for the corresponding element id, the values will be set for
_diffrn_data_frame.center_fast and _diffrn_data_frame.center_slow in
millimetres and the value of _diffrn_data_frame.center_units will be
set to 'mm'.
For cbf_set_reference_beam_center if the diffrn_detector_element
category exists with a row for the corresponding element id, the
values will be set for _diffrn_detector_element.reference_center_fast
and _diffrn_detector_element.reference_center_slow in millimetres and
the value of _diffrn_detector_element.reference_units will be set to
'mm'.
ARGUMENTS
detector Detector handle. indexfast Pointer to the destination
fast index. indexslow Pointer to the destination slow index.
centerfast Pointer to the destination displacement along the fast
axis. centerslow Pointer to the destination displacement along the
slow axis.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_detector_struct_get_beam_center(self)
def get_pixel_coordinates_fs(self, indexfast, indexslow):
"""
Returns : double coordinate1,double coordinate2,double coordinate3
*args : double indexfast,double indexslow
C prototype: int cbf_get_pixel_coordinates_fs (cbf_detector detector,
double indexfast, double indexslow, double *coordinate1,
double *coordinate2, double *coordinate3);
CBFLib documentation:
DESCRIPTION
cbf_get_pixel_coordinates, cbf_get_pixel_coordinates_fs and
cbf_get_pixel_coordinates_sf ses *coordinate1, *coordinate2, and
*coordinate3 to the vector position of pixel (indexfast, indexslow)
on the detector surface. If indexslow and indexfast are integers then
the coordinates correspond to the center of a pixel.
Any of the destination pointers may be NULL.
ARGUMENTS
detector Detector handle. indexslow Slow index. indexfast
Fast index. coordinate1 Pointer to the destination x component.
coordinate2 Pointer to the destination y component. coordinate3
Pointer to the destination z component.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_detector_struct_get_pixel_coordinates_fs(self, indexfast, indexslow)
def get_inferred_pixel_size(self, axis_number):
"""
Returns : Float pixel size
*args : Int axis_number
C prototype: int cbf_get_inferred_pixel_size (cbf_detector detector,
int axis_number, double *psize);
CBFLib documentation:
DESCRIPTION
cbf_get_inferred_pixel_size, cbf_get_inferred_pixel_size_sf set
*psize to point to the double value in millimeters of the pixel size
for the axis axis_number value. The slow index is treated as axis 1
and the next faster index is treated as axis 2.
cbf_get_inferred_pixel_size_fs sets *psize to point to the double
value in millimeters of the pixel size for the axis axis_number
value. The fast index is treated as axis 1 and the next slower index
is treated as axis 2.
If the axis number is negative, the axes are used in the reverse
order so that an axis_number of -1 indicates the fast axes in a call
to cbf_get_inferred_pixel_size or cbf_get_inferred_pixel_size_sf and
indicates the fast axis in a call to cbf_get_inferred_pixel_size_fs.
ARGUMENTS
detector Detector handle. axis_number The number of the axis.
area Pointer to the destination pizel size in mm.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_detector_struct_get_inferred_pixel_size(self, axis_number)
def get_pixel_area(self, index1, index2):
"""
Returns : double area,double projected_area
*args : double index1,double index2
C prototype: int cbf_get_pixel_area (cbf_detector detector, double indexslow,
double indexfast, double *area, double *projected_area);
CBFLib documentation:
DESCRIPTION
cbf_get_pixel_area, cbf_get_pixel_area_fs and cbf_get_pixel_area_sf
set *area to the area of the pixel at (indexfast, indexslow) on the
detector surface and *projected_area to the apparent area of the
pixel as viewed from the sample position, with indexslow being the
slow axis and indexfast being the fast axis.
Either of the destination pointers may be NULL.
ARGUMENTS
detector Detector handle. indexfast Fast index.
indexslow Slow index. area Pointer to the
destination area in mm2. projected_area Pointer to the destination
apparent area in mm2.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_detector_struct_get_pixel_area(self, index1, index2)
def get_pixel_normal_fs(self, indexfast, indexslow):
"""
Returns : double normal1,double normal2,double normal3
*args : double indexfast,double indexslow
C prototype: int cbf_get_pixel_normal_fs (cbf_detector detector,
double indexfast, double indexslow, double *normal1,
double *normal2, double *normal3);
CBFLib documentation:
DESCRIPTION
cbf_get_detector_normal, cbf_get_pixel_normal_fs and
cbf_get_pixel_normal_sf set *normal1, *normal2, and *normal3 to the 3
components of the of the normal vector to the pixel at (indexfast,
indexslow). The vector is normalized.
Any of the destination pointers may be NULL.
ARGUMENTS
detector Detector handle. indexslow Slow index. indexfast Fast
index. normal1 Pointer to the destination x component of the
normal vector. normal2 Pointer to the destination y component of
the normal vector. normal3 Pointer to the destination z component
of the normal vector.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_detector_struct_get_pixel_normal_fs(self, indexfast, indexslow)
def get_detector_surface_axes(self, index):
"""get_detector_surface_axes(cbf_detector_struct self, int index) -> char const *"""
return _pycbf.cbf_detector_struct_get_detector_surface_axes(self, index)
def get_detector_axes(self):
"""
Returns : double slowaxis1,double slowaxis2,double slowaxis3,double fastaxis1,
double fastaxis2,double fastaxis3
*args :
C prototype: int cbf_get_detector_axes (cbf_detector detector,
double *slowaxis1, double *slowaxis2, double *slowaxis3,
double *fastaxis1, double *fastaxis2, double *fastaxis3);
CBFLib documentation:
DESCRIPTION
cbf_get_detector_axis_slow sets *slowaxis1, *slowaxis2, and
*slowaxis3 to the 3 components of the slow axis of the specified
detector at the current settings of all axes.
cbf_get_detector_axis_slow sets *fastaxis1, *fastaxis2, and
*fastaxis3 to the 3 components of the fast axis of the specified
detector at the current settings of all axes. cbf_get_detector_axes,
cbf_get_detector_axes_fs and int cbf_get_detector_axes_sf set
*slowaxis1, *slowaxis2, and *slowaxis3 to the 3 components of the
slow axis and *fastaxis1, *fastaxis2, and *fastaxis3 to the 3
components of the fast axis of the specified detector at the current
settings of all axes. cbf_get_detector_surface_axes sets *axis_id1
and *axis_id2 to the names of the two surface axes of the detector or
". ",
Any of the destination pointers may be NULL.
ARGUMENTS
detector Detector handle. slowaxis1 Pointer to the destination x
component of the slow axis vector. slowaxis2 Pointer to the
destination y component of the slow axis vector. slowaxis3 Pointer
to the destination z component of the slow axis vector. fastaxis1
Pointer to the destination x component of the fast axis vector.
fastaxis2 Pointer to the destination y component of the fast axis
vector. fastaxis3 Pointer to the destination z component of the
fast axis vector. axis_id1 Pointer to the destination first
surface axis name. axis_id1 Pointer to the destination first
surface axis name. axis_id2 Pointer to the destination second
surface axis name.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_detector_struct_get_detector_axes(self)
def set_reference_beam_center(self, indexslow, indexfast, centerslow, centerfast):
"""
Returns :
*args : double indexslow,double indexfast,double centerslow,double centerfast
C prototype: int cbf_set_reference_beam_center (cbf_detector detector,
double *indexslow, double *indexfast, double *centerslow,
double *centerfast);
CBFLib documentation:
DESCRIPTION
cbf_get_beam_center sets *centerfast and *centerslow to the
displacements in mm along the detector axes from pixel (0, 0) to the
point at which the beam intersects the detector and *indexfast and
*indexslow to the corresponding indices. cbf_set_beam_center sets the
offsets in the axis category for the detector element axis with
precedence 1 to place the beam center at the position given in mm by
*centerfast and *centerslow as the displacements in mm along the
detector axes from pixel (0, 0) to the point at which the beam
intersects the detector at the indices given *indexfast and
*indexslow. cbf_set_reference_beam_center sets the displacments in
the array_structure_list_axis category to place the beam center at
the position given in mm by *centerfast and *centerslow as the
displacements in mm along the detector axes from pixel (0, 0) to the
point at which the beam intersects the detector at the indices given
by *indexfast and *indexslow. In order to achieve consistent results,
a reference detector should be used for detector to have all axes at
their reference settings.
Note that the precedence 1 axis is the fastest axis, so that
*centerfast and *indexfast are the fast axis components of the center
and *centerslow and *indexslow are the slow axis components of the
center.
The _fs calls give the displacments in a fast-to-slow order. The
calls with no suffix and the calls _sf calls give the displacements
in slow-to-fast order
Any of the destination pointers may be NULL for getting the beam
center. For setting the beam axis, either the indices of the center
must not be NULL.
The indices are non-negative for beam centers within the detector
surface, but the center for an axis with a negative increment will be
negative for a beam center within the detector surface.
For cbf_set_beam_center if the diffrn_data_frame category exists with
a row for the corresponding element id, the values will be set for
_diffrn_data_frame.center_fast and _diffrn_data_frame.center_slow in
millimetres and the value of _diffrn_data_frame.center_units will be
set to 'mm'.
For cbf_set_reference_beam_center if the diffrn_detector_element
category exists with a row for the corresponding element id, the
values will be set for _diffrn_detector_element.reference_center_fast
and _diffrn_detector_element.reference_center_slow in millimetres and
the value of _diffrn_detector_element.reference_units will be set to
'mm'.
ARGUMENTS
detector Detector handle. indexfast Pointer to the destination
fast index. indexslow Pointer to the destination slow index.
centerfast Pointer to the destination displacement along the fast
axis. centerslow Pointer to the destination displacement along the
slow axis.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_detector_struct_set_reference_beam_center(self, indexslow, indexfast, centerslow, centerfast)
def get_detector_axis_slow(self):
"""
Returns : double slowaxis1,double slowaxis2,double slowaxis3
*args :
C prototype: int cbf_get_detector_axis_slow (cbf_detector detector,
double *slowaxis1, double *slowaxis2, double *slowaxis3);
CBFLib documentation:
DESCRIPTION
cbf_get_detector_axis_slow sets *slowaxis1, *slowaxis2, and
*slowaxis3 to the 3 components of the slow axis of the specified
detector at the current settings of all axes.
cbf_get_detector_axis_slow sets *fastaxis1, *fastaxis2, and
*fastaxis3 to the 3 components of the fast axis of the specified
detector at the current settings of all axes. cbf_get_detector_axes,
cbf_get_detector_axes_fs and int cbf_get_detector_axes_sf set
*slowaxis1, *slowaxis2, and *slowaxis3 to the 3 components of the
slow axis and *fastaxis1, *fastaxis2, and *fastaxis3 to the 3
components of the fast axis of the specified detector at the current
settings of all axes. cbf_get_detector_surface_axes sets *axis_id1
and *axis_id2 to the names of the two surface axes of the detector or
". ",
Any of the destination pointers may be NULL.
ARGUMENTS
detector Detector handle. slowaxis1 Pointer to the destination x
component of the slow axis vector. slowaxis2 Pointer to the
destination y component of the slow axis vector. slowaxis3 Pointer
to the destination z component of the slow axis vector. fastaxis1
Pointer to the destination x component of the fast axis vector.
fastaxis2 Pointer to the destination y component of the fast axis
vector. fastaxis3 Pointer to the destination z component of the
fast axis vector. axis_id1 Pointer to the destination first
surface axis name. axis_id1 Pointer to the destination first
surface axis name. axis_id2 Pointer to the destination second
surface axis name.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_detector_struct_get_detector_axis_slow(self)
def get_detector_distance(self):
"""
Returns : double distance
*args :
C prototype: int cbf_get_detector_distance (cbf_detector detector,
double *distance);
CBFLib documentation:
DESCRIPTION
cbf_get_detector_distance sets *distance to the nearest distance from
the sample position to the detector plane.
ARGUMENTS
detector Detector handle. distance Pointer to the destination
distance.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_detector_struct_get_detector_distance(self)
def get_inferred_pixel_size_fs(self, axis_number):
"""
Returns : Float pixel size
*args : Int axis_number
C prototype: int cbf_get_inferred_pixel_size_fs(cbf_detector detector,
int axis_number, double *psize);
CBFLib documentation:
DESCRIPTION
cbf_get_inferred_pixel_size, cbf_get_inferred_pixel_size_sf set
*psize to point to the double value in millimeters of the pixel size
for the axis axis_number value. The slow index is treated as axis 1
and the next faster index is treated as axis 2.
cbf_get_inferred_pixel_size_fs sets *psize to point to the double
value in millimeters of the pixel size for the axis axis_number
value. The fast index is treated as axis 1 and the next slower index
is treated as axis 2.
If the axis number is negative, the axes are used in the reverse
order so that an axis_number of -1 indicates the fast axes in a call
to cbf_get_inferred_pixel_size or cbf_get_inferred_pixel_size_sf and
indicates the fast axis in a call to cbf_get_inferred_pixel_size_fs.
ARGUMENTS
detector Detector handle. axis_number The number of the axis.
area Pointer to the destination pizel size in mm.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_detector_struct_get_inferred_pixel_size_fs(self, axis_number)
def get_detector_normal(self):
"""
Returns : double normal1,double normal2,double normal3
*args :
C prototype: int cbf_get_detector_normal (cbf_detector detector,
double *normal1, double *normal2, double *normal3);
CBFLib documentation:
DESCRIPTION
cbf_get_detector_normal sets *normal1, *normal2, and *normal3 to the
3 components of the of the normal vector to the detector plane. The
vector is normalized.
Any of the destination pointers may be NULL.
ARGUMENTS
detector Detector handle. normal1 Pointer to the destination x
component of the normal vector. normal2 Pointer to the destination
y component of the normal vector. normal3 Pointer to the
destination z component of the normal vector.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_detector_struct_get_detector_normal(self)
def get_detector_axis_fast(self):
"""
Returns : double fastaxis1,double fastaxis2,double fastaxis3
*args :
C prototype: int cbf_get_detector_axis_fast (cbf_detector detector,
double *fastaxis1, double *fastaxis2, double *fastaxis3);
CBFLib documentation:
DESCRIPTION
cbf_get_detector_axis_slow sets *slowaxis1, *slowaxis2, and
*slowaxis3 to the 3 components of the slow axis of the specified
detector at the current settings of all axes.
cbf_get_detector_axis_slow sets *fastaxis1, *fastaxis2, and
*fastaxis3 to the 3 components of the fast axis of the specified
detector at the current settings of all axes. cbf_get_detector_axes,
cbf_get_detector_axes_fs and int cbf_get_detector_axes_sf set
*slowaxis1, *slowaxis2, and *slowaxis3 to the 3 components of the
slow axis and *fastaxis1, *fastaxis2, and *fastaxis3 to the 3
components of the fast axis of the specified detector at the current
settings of all axes. cbf_get_detector_surface_axes sets *axis_id1
and *axis_id2 to the names of the two surface axes of the detector or
". ",
Any of the destination pointers may be NULL.
ARGUMENTS
detector Detector handle. slowaxis1 Pointer to the destination x
component of the slow axis vector. slowaxis2 Pointer to the
destination y component of the slow axis vector. slowaxis3 Pointer
to the destination z component of the slow axis vector. fastaxis1
Pointer to the destination x component of the fast axis vector.
fastaxis2 Pointer to the destination y component of the fast axis
vector. fastaxis3 Pointer to the destination z component of the
fast axis vector. axis_id1 Pointer to the destination first
surface axis name. axis_id1 Pointer to the destination first
surface axis name. axis_id2 Pointer to the destination second
surface axis name.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_detector_struct_get_detector_axis_fast(self)
def get_detector_axes_fs(self):
"""get_detector_axes_fs(cbf_detector_struct self)"""
return _pycbf.cbf_detector_struct_get_detector_axes_fs(self)
def get_detector_axes_sf(self):
"""
Returns : double slowaxis1,double slowaxis2,double slowaxis3,double fastaxis1,
double fastaxis2,double fastaxis3
*args :
C prototype: int cbf_get_detector_axes_sf (cbf_detector detector,
double *slowaxis1, double *slowaxis2, double *slowaxis3,
double *fastaxis1, double *fastaxis2, double *fastaxis3);
CBFLib documentation:
DESCRIPTION
cbf_get_detector_axis_slow sets *slowaxis1, *slowaxis2, and
*slowaxis3 to the 3 components of the slow axis of the specified
detector at the current settings of all axes.
cbf_get_detector_axis_slow sets *fastaxis1, *fastaxis2, and
*fastaxis3 to the 3 components of the fast axis of the specified
detector at the current settings of all axes. cbf_get_detector_axes,
cbf_get_detector_axes_fs and int cbf_get_detector_axes_sf set
*slowaxis1, *slowaxis2, and *slowaxis3 to the 3 components of the
slow axis and *fastaxis1, *fastaxis2, and *fastaxis3 to the 3
components of the fast axis of the specified detector at the current
settings of all axes. cbf_get_detector_surface_axes sets *axis_id1
and *axis_id2 to the names of the two surface axes of the detector or
". ",
Any of the destination pointers may be NULL.
ARGUMENTS
detector Detector handle. slowaxis1 Pointer to the destination x
component of the slow axis vector. slowaxis2 Pointer to the
destination y component of the slow axis vector. slowaxis3 Pointer
to the destination z component of the slow axis vector. fastaxis1
Pointer to the destination x component of the fast axis vector.
fastaxis2 Pointer to the destination y component of the fast axis
vector. fastaxis3 Pointer to the destination z component of the
fast axis vector. axis_id1 Pointer to the destination first
surface axis name. axis_id1 Pointer to the destination first
surface axis name. axis_id2 Pointer to the destination second
surface axis name.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_detector_struct_get_detector_axes_sf(self)
def get_pixel_coordinates_sf(self, indexslow, indexfast):
"""
Returns : double coordinate1,double coordinate2,double coordinate3
*args : double indexslow,double indexfast
C prototype: int cbf_get_pixel_coordinates_sf (cbf_detector detector,
double indexslow, double indexfast, double *coordinate1,
double *coordinate2, double *coordinate3);
CBFLib documentation:
DESCRIPTION
cbf_get_pixel_coordinates, cbf_get_pixel_coordinates_fs and
cbf_get_pixel_coordinates_sf ses *coordinate1, *coordinate2, and
*coordinate3 to the vector position of pixel (indexfast, indexslow)
on the detector surface. If indexslow and indexfast are integers then
the coordinates correspond to the center of a pixel.
Any of the destination pointers may be NULL.
ARGUMENTS
detector Detector handle. indexslow Slow index. indexfast
Fast index. coordinate1 Pointer to the destination x component.
coordinate2 Pointer to the destination y component. coordinate3
Pointer to the destination z component.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_detector_struct_get_pixel_coordinates_sf(self, indexslow, indexfast)
def set_beam_center(self, indexslow, indexfast, centerslow, centerfast):
"""
Returns :
*args : double indexslow,double indexfast,double centerslow,double centerfast
C prototype: int cbf_set_beam_center (cbf_detector detector,
double *indexslow, double *indexfast, double *centerslow,
double *centerfast);
CBFLib documentation:
DESCRIPTION
cbf_get_beam_center sets *centerfast and *centerslow to the
displacements in mm along the detector axes from pixel (0, 0) to the
point at which the beam intersects the detector and *indexfast and
*indexslow to the corresponding indices. cbf_set_beam_center sets the
offsets in the axis category for the detector element axis with
precedence 1 to place the beam center at the position given in mm by
*centerfast and *centerslow as the displacements in mm along the
detector axes from pixel (0, 0) to the point at which the beam
intersects the detector at the indices given *indexfast and
*indexslow. cbf_set_reference_beam_center sets the displacments in
the array_structure_list_axis category to place the beam center at
the position given in mm by *centerfast and *centerslow as the
displacements in mm along the detector axes from pixel (0, 0) to the
point at which the beam intersects the detector at the indices given
by *indexfast and *indexslow. In order to achieve consistent results,
a reference detector should be used for detector to have all axes at
their reference settings.
Note that the precedence 1 axis is the fastest axis, so that
*centerfast and *indexfast are the fast axis components of the center
and *centerslow and *indexslow are the slow axis components of the
center.
The _fs calls give the displacments in a fast-to-slow order. The
calls with no suffix and the calls _sf calls give the displacements
in slow-to-fast order
Any of the destination pointers may be NULL for getting the beam
center. For setting the beam axis, either the indices of the center
must not be NULL.
The indices are non-negative for beam centers within the detector
surface, but the center for an axis with a negative increment will be
negative for a beam center within the detector surface.
For cbf_set_beam_center if the diffrn_data_frame category exists with
a row for the corresponding element id, the values will be set for
_diffrn_data_frame.center_fast and _diffrn_data_frame.center_slow in
millimetres and the value of _diffrn_data_frame.center_units will be
set to 'mm'.
For cbf_set_reference_beam_center if the diffrn_detector_element
category exists with a row for the corresponding element id, the
values will be set for _diffrn_detector_element.reference_center_fast
and _diffrn_detector_element.reference_center_slow in millimetres and
the value of _diffrn_detector_element.reference_units will be set to
'mm'.
ARGUMENTS
detector Detector handle. indexfast Pointer to the destination
fast index. indexslow Pointer to the destination slow index.
centerfast Pointer to the destination displacement along the fast
axis. centerslow Pointer to the destination displacement along the
slow axis.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_detector_struct_set_beam_center(self, indexslow, indexfast, centerslow, centerfast)
def get_pixel_area_fs(self, indexfast, indexslow):
"""
Returns : double area,double projected_area
*args : double indexfast,double indexslow
C prototype: int cbf_get_pixel_area_fs(cbf_detector detector,
double indexfast, double indexslow, double *area,
double *projected_area);
CBFLib documentation:
DESCRIPTION
cbf_get_pixel_area, cbf_get_pixel_area_fs and cbf_get_pixel_area_sf
set *area to the area of the pixel at (indexfast, indexslow) on the
detector surface and *projected_area to the apparent area of the
pixel as viewed from the sample position, with indexslow being the
slow axis and indexfast being the fast axis.
Either of the destination pointers may be NULL.
ARGUMENTS
detector Detector handle. indexfast Fast index.
indexslow Slow index. area Pointer to the
destination area in mm2. projected_area Pointer to the destination
apparent area in mm2.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_detector_struct_get_pixel_area_fs(self, indexfast, indexslow)
def get_beam_center_fs(self):
"""
Returns : double indexfast,double indexslow,double centerfast,double centerslow
*args :
C prototype: int cbf_get_beam_center_fs (cbf_detector detector,
double *indexfast, double *indexslow, double *centerfast,
double *centerslow);
CBFLib documentation:
DESCRIPTION
cbf_get_beam_center sets *centerfast and *centerslow to the
displacements in mm along the detector axes from pixel (0, 0) to the
point at which the beam intersects the detector and *indexfast and
*indexslow to the corresponding indices. cbf_set_beam_center sets the
offsets in the axis category for the detector element axis with
precedence 1 to place the beam center at the position given in mm by
*centerfast and *centerslow as the displacements in mm along the
detector axes from pixel (0, 0) to the point at which the beam
intersects the detector at the indices given *indexfast and
*indexslow. cbf_set_reference_beam_center sets the displacments in
the array_structure_list_axis category to place the beam center at
the position given in mm by *centerfast and *centerslow as the
displacements in mm along the detector axes from pixel (0, 0) to the
point at which the beam intersects the detector at the indices given
by *indexfast and *indexslow. In order to achieve consistent results,
a reference detector should be used for detector to have all axes at
their reference settings.
Note that the precedence 1 axis is the fastest axis, so that
*centerfast and *indexfast are the fast axis components of the center
and *centerslow and *indexslow are the slow axis components of the
center.
The _fs calls give the displacments in a fast-to-slow order. The
calls with no suffix and the calls _sf calls give the displacements
in slow-to-fast order
Any of the destination pointers may be NULL for getting the beam
center. For setting the beam axis, either the indices of the center
must not be NULL.
The indices are non-negative for beam centers within the detector
surface, but the center for an axis with a negative increment will be
negative for a beam center within the detector surface.
For cbf_set_beam_center if the diffrn_data_frame category exists with
a row for the corresponding element id, the values will be set for
_diffrn_data_frame.center_fast and _diffrn_data_frame.center_slow in
millimetres and the value of _diffrn_data_frame.center_units will be
set to 'mm'.
For cbf_set_reference_beam_center if the diffrn_detector_element
category exists with a row for the corresponding element id, the
values will be set for _diffrn_detector_element.reference_center_fast
and _diffrn_detector_element.reference_center_slow in millimetres and
the value of _diffrn_detector_element.reference_units will be set to
'mm'.
ARGUMENTS
detector Detector handle. indexfast Pointer to the destination
fast index. indexslow Pointer to the destination slow index.
centerfast Pointer to the destination displacement along the fast
axis. centerslow Pointer to the destination displacement along the
slow axis.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_detector_struct_get_beam_center_fs(self)
def get_inferred_pixel_size_sf(self, axis_number):
"""
Returns : Float pixel size
*args : Int axis_number
C prototype: int cbf_get_inferred_pixel_size_sf(cbf_detector detector,
int axis_number, double *psize);
CBFLib documentation:
DESCRIPTION
cbf_get_inferred_pixel_size, cbf_get_inferred_pixel_size_sf set
*psize to point to the double value in millimeters of the pixel size
for the axis axis_number value. The slow index is treated as axis 1
and the next faster index is treated as axis 2.
cbf_get_inferred_pixel_size_fs sets *psize to point to the double
value in millimeters of the pixel size for the axis axis_number
value. The fast index is treated as axis 1 and the next slower index
is treated as axis 2.
If the axis number is negative, the axes are used in the reverse
order so that an axis_number of -1 indicates the fast axes in a call
to cbf_get_inferred_pixel_size or cbf_get_inferred_pixel_size_sf and
indicates the fast axis in a call to cbf_get_inferred_pixel_size_fs.
ARGUMENTS
detector Detector handle. axis_number The number of the axis.
area Pointer to the destination pizel size in mm.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_detector_struct_get_inferred_pixel_size_sf(self, axis_number)
def get_pixel_coordinates(self, index1, index2):
"""
Returns : double coordinate1,double coordinate2,double coordinate3
*args : double index1,double index2
C prototype: int cbf_get_pixel_coordinates (cbf_detector detector,
double indexslow, double indexfast, double *coordinate1,
double *coordinate2, double *coordinate3);
CBFLib documentation:
DESCRIPTION
cbf_get_pixel_coordinates, cbf_get_pixel_coordinates_fs and
cbf_get_pixel_coordinates_sf ses *coordinate1, *coordinate2, and
*coordinate3 to the vector position of pixel (indexfast, indexslow)
on the detector surface. If indexslow and indexfast are integers then
the coordinates correspond to the center of a pixel.
Any of the destination pointers may be NULL.
ARGUMENTS
detector Detector handle. indexslow Slow index. indexfast
Fast index. coordinate1 Pointer to the destination x component.
coordinate2 Pointer to the destination y component. coordinate3
Pointer to the destination z component.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_detector_struct_get_pixel_coordinates(self, index1, index2)
def get_beam_center_sf(self):
"""
Returns : double indexslow,double indexfast,double centerslow,double centerfast
*args :
C prototype: int cbf_get_beam_center_sf (cbf_detector detector,
double *indexslow, double *indexfast, double *centerslow,
double *centerfast);
CBFLib documentation:
DESCRIPTION
cbf_get_beam_center sets *centerfast and *centerslow to the
displacements in mm along the detector axes from pixel (0, 0) to the
point at which the beam intersects the detector and *indexfast and
*indexslow to the corresponding indices. cbf_set_beam_center sets the
offsets in the axis category for the detector element axis with
precedence 1 to place the beam center at the position given in mm by
*centerfast and *centerslow as the displacements in mm along the
detector axes from pixel (0, 0) to the point at which the beam
intersects the detector at the indices given *indexfast and
*indexslow. cbf_set_reference_beam_center sets the displacments in
the array_structure_list_axis category to place the beam center at
the position given in mm by *centerfast and *centerslow as the
displacements in mm along the detector axes from pixel (0, 0) to the
point at which the beam intersects the detector at the indices given
by *indexfast and *indexslow. In order to achieve consistent results,
a reference detector should be used for detector to have all axes at
their reference settings.
Note that the precedence 1 axis is the fastest axis, so that
*centerfast and *indexfast are the fast axis components of the center
and *centerslow and *indexslow are the slow axis components of the
center.
The _fs calls give the displacments in a fast-to-slow order. The
calls with no suffix and the calls _sf calls give the displacements
in slow-to-fast order
Any of the destination pointers may be NULL for getting the beam
center. For setting the beam axis, either the indices of the center
must not be NULL.
The indices are non-negative for beam centers within the detector
surface, but the center for an axis with a negative increment will be
negative for a beam center within the detector surface.
For cbf_set_beam_center if the diffrn_data_frame category exists with
a row for the corresponding element id, the values will be set for
_diffrn_data_frame.center_fast and _diffrn_data_frame.center_slow in
millimetres and the value of _diffrn_data_frame.center_units will be
set to 'mm'.
For cbf_set_reference_beam_center if the diffrn_detector_element
category exists with a row for the corresponding element id, the
values will be set for _diffrn_detector_element.reference_center_fast
and _diffrn_detector_element.reference_center_slow in millimetres and
the value of _diffrn_detector_element.reference_units will be set to
'mm'.
ARGUMENTS
detector Detector handle. indexfast Pointer to the destination
fast index. indexslow Pointer to the destination slow index.
centerfast Pointer to the destination displacement along the fast
axis. centerslow Pointer to the destination displacement along the
slow axis.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_detector_struct_get_beam_center_sf(self)
def get_pixel_area_sf(self, indexslow, indexfast):
"""
Returns : double area,double projected_area
*args : double indexslow,double indexfast
C prototype: int cbf_get_pixel_area_sf(cbf_detector detector,
double indexslow, double indexfast, double *area,
double *projected_area);
CBFLib documentation:
DESCRIPTION
cbf_get_pixel_area, cbf_get_pixel_area_fs and cbf_get_pixel_area_sf
set *area to the area of the pixel at (indexfast, indexslow) on the
detector surface and *projected_area to the apparent area of the
pixel as viewed from the sample position, with indexslow being the
slow axis and indexfast being the fast axis.
Either of the destination pointers may be NULL.
ARGUMENTS
detector Detector handle. indexfast Fast index.
indexslow Slow index. area Pointer to the
destination area in mm2. projected_area Pointer to the destination
apparent area in mm2.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_detector_struct_get_pixel_area_sf(self, indexslow, indexfast)
def set_reference_beam_center_sf(self):
"""
Returns :
*args : double indexslow,double indexfast,double centerslow,double centerfast
C prototype: int cbf_set_reference_beam_center_sf (cbf_detector detector,
double *indexslow, double *indexfast, double *centerslow,
double *centerfast);
CBFLib documentation:
DESCRIPTION
cbf_get_beam_center sets *centerfast and *centerslow to the
displacements in mm along the detector axes from pixel (0, 0) to the
point at which the beam intersects the detector and *indexfast and
*indexslow to the corresponding indices. cbf_set_beam_center sets the
offsets in the axis category for the detector element axis with
precedence 1 to place the beam center at the position given in mm by
*centerfast and *centerslow as the displacements in mm along the
detector axes from pixel (0, 0) to the point at which the beam
intersects the detector at the indices given *indexfast and
*indexslow. cbf_set_reference_beam_center sets the displacments in
the array_structure_list_axis category to place the beam center at
the position given in mm by *centerfast and *centerslow as the
displacements in mm along the detector axes from pixel (0, 0) to the
point at which the beam intersects the detector at the indices given
by *indexfast and *indexslow. In order to achieve consistent results,
a reference detector should be used for detector to have all axes at
their reference settings.
Note that the precedence 1 axis is the fastest axis, so that
*centerfast and *indexfast are the fast axis components of the center
and *centerslow and *indexslow are the slow axis components of the
center.
The _fs calls give the displacments in a fast-to-slow order. The
calls with no suffix and the calls _sf calls give the displacements
in slow-to-fast order
Any of the destination pointers may be NULL for getting the beam
center. For setting the beam axis, either the indices of the center
must not be NULL.
The indices are non-negative for beam centers within the detector
surface, but the center for an axis with a negative increment will be
negative for a beam center within the detector surface.
For cbf_set_beam_center if the diffrn_data_frame category exists with
a row for the corresponding element id, the values will be set for
_diffrn_data_frame.center_fast and _diffrn_data_frame.center_slow in
millimetres and the value of _diffrn_data_frame.center_units will be
set to 'mm'.
For cbf_set_reference_beam_center if the diffrn_detector_element
category exists with a row for the corresponding element id, the
values will be set for _diffrn_detector_element.reference_center_fast
and _diffrn_detector_element.reference_center_slow in millimetres and
the value of _diffrn_detector_element.reference_units will be set to
'mm'.
ARGUMENTS
detector Detector handle. indexfast Pointer to the destination
fast index. indexslow Pointer to the destination slow index.
centerfast Pointer to the destination displacement along the fast
axis. centerslow Pointer to the destination displacement along the
slow axis.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_detector_struct_set_reference_beam_center_sf(self)
def set_beam_center_sf(self):
"""
Returns :
*args : double indexslow,double indexfast,double centerslow,double centerfast
C prototype: int cbf_set_beam_center_sf (cbf_detector detector,
double *indexslow, double *indexfast, double *centerslow,
double *centerfast);
CBFLib documentation:
DESCRIPTION
cbf_get_beam_center sets *centerfast and *centerslow to the
displacements in mm along the detector axes from pixel (0, 0) to the
point at which the beam intersects the detector and *indexfast and
*indexslow to the corresponding indices. cbf_set_beam_center sets the
offsets in the axis category for the detector element axis with
precedence 1 to place the beam center at the position given in mm by
*centerfast and *centerslow as the displacements in mm along the
detector axes from pixel (0, 0) to the point at which the beam
intersects the detector at the indices given *indexfast and
*indexslow. cbf_set_reference_beam_center sets the displacments in
the array_structure_list_axis category to place the beam center at
the position given in mm by *centerfast and *centerslow as the
displacements in mm along the detector axes from pixel (0, 0) to the
point at which the beam intersects the detector at the indices given
by *indexfast and *indexslow. In order to achieve consistent results,
a reference detector should be used for detector to have all axes at
their reference settings.
Note that the precedence 1 axis is the fastest axis, so that
*centerfast and *indexfast are the fast axis components of the center
and *centerslow and *indexslow are the slow axis components of the
center.
The _fs calls give the displacments in a fast-to-slow order. The
calls with no suffix and the calls _sf calls give the displacements
in slow-to-fast order
Any of the destination pointers may be NULL for getting the beam
center. For setting the beam axis, either the indices of the center
must not be NULL.
The indices are non-negative for beam centers within the detector
surface, but the center for an axis with a negative increment will be
negative for a beam center within the detector surface.
For cbf_set_beam_center if the diffrn_data_frame category exists with
a row for the corresponding element id, the values will be set for
_diffrn_data_frame.center_fast and _diffrn_data_frame.center_slow in
millimetres and the value of _diffrn_data_frame.center_units will be
set to 'mm'.
For cbf_set_reference_beam_center if the diffrn_detector_element
category exists with a row for the corresponding element id, the
values will be set for _diffrn_detector_element.reference_center_fast
and _diffrn_detector_element.reference_center_slow in millimetres and
the value of _diffrn_detector_element.reference_units will be set to
'mm'.
ARGUMENTS
detector Detector handle. indexfast Pointer to the destination
fast index. indexslow Pointer to the destination slow index.
centerfast Pointer to the destination displacement along the fast
axis. centerslow Pointer to the destination displacement along the
slow axis.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_detector_struct_set_beam_center_sf(self)
def get_pixel_normal(self, index1, index2):
"""
Returns : double normal1,double normal2,double normal3
*args : double index1,double index2
C prototype: int cbf_get_pixel_normal (cbf_detector detector,
double indexslow, double indexfast, double *normal1,
double *normal2, double *normal3);
CBFLib documentation:
DESCRIPTION
cbf_get_detector_normal, cbf_get_pixel_normal_fs and
cbf_get_pixel_normal_sf set *normal1, *normal2, and *normal3 to the 3
components of the of the normal vector to the pixel at (indexfast,
indexslow). The vector is normalized.
Any of the destination pointers may be NULL.
ARGUMENTS
detector Detector handle. indexslow Slow index. indexfast Fast
index. normal1 Pointer to the destination x component of the
normal vector. normal2 Pointer to the destination y component of
the normal vector. normal3 Pointer to the destination z component
of the normal vector.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_detector_struct_get_pixel_normal(self, index1, index2)
cbf_detector_struct_swigregister = _pycbf.cbf_detector_struct_swigregister
cbf_detector_struct_swigregister(cbf_detector_struct)
CBF_UNDEFNODE = _pycbf.CBF_UNDEFNODE
CBF_LINK = _pycbf.CBF_LINK
CBF_ROOT = _pycbf.CBF_ROOT
CBF_DATABLOCK = _pycbf.CBF_DATABLOCK
CBF_SAVEFRAME = _pycbf.CBF_SAVEFRAME
CBF_CATEGORY = _pycbf.CBF_CATEGORY
CBF_COLUMN = _pycbf.CBF_COLUMN
class cbf_handle_struct(_object):
"""Proxy of C cbf_handle_struct struct."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, cbf_handle_struct, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, cbf_handle_struct, name)
__repr__ = _swig_repr
__swig_setmethods__["node"] = _pycbf.cbf_handle_struct_node_set
__swig_getmethods__["node"] = _pycbf.cbf_handle_struct_node_get
if _newclass:
node = _swig_property(_pycbf.cbf_handle_struct_node_get, _pycbf.cbf_handle_struct_node_set)
__swig_setmethods__["row"] = _pycbf.cbf_handle_struct_row_set
__swig_getmethods__["row"] = _pycbf.cbf_handle_struct_row_get
if _newclass:
row = _swig_property(_pycbf.cbf_handle_struct_row_get, _pycbf.cbf_handle_struct_row_set)
__swig_setmethods__["search_row"] = _pycbf.cbf_handle_struct_search_row_set
__swig_getmethods__["search_row"] = _pycbf.cbf_handle_struct_search_row_get
if _newclass:
search_row = _swig_property(_pycbf.cbf_handle_struct_search_row_get, _pycbf.cbf_handle_struct_search_row_set)
def __init__(self):
"""__init__(cbf_handle_struct self) -> cbf_handle_struct"""
this = _pycbf.new_cbf_handle_struct()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _pycbf.delete_cbf_handle_struct
__del__ = lambda self: None
def select_datablock(self, arg):
"""
Returns :
*args : Integer
C prototype: int cbf_select_datablock (cbf_handle handle,
unsigned int datablock);
CBFLib documentation:
DESCRIPTION
cbf_select_datablock selects data block number datablock as the
current data block.
The first data block is number 0.
If the data block does not exist, the function returns CBF_NOTFOUND.
ARGUMENTS
handle CBF handle. datablock Number of the data block to
select.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_select_datablock(self, arg)
def force_new_datablock(self, arg):
"""
Returns : string
*args :
C prototype: int cbf_force_new_datablock (cbf_handle handle,
const char *datablockname);
CBFLib documentation:
DESCRIPTION
cbf_force_new_datablock creates a new data block with name
datablockname and makes it the current data block. Duplicate data
block names are allowed. cbf_force_new_saveframe creates a new savew
frame with name saveframename and makes it the current save frame.
Duplicate save frame names are allowed.
Even if a save frame with this name already exists, a new save frame
is created and becomes the current save frame.
ARGUMENTS
handle CBF handle. datablockname The name of the new data
block. saveframename The name of the new save frame.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_force_new_datablock(self, arg)
def get_3d_image_fs_as_string(self, element_number, elsize, elsign, ndimfast, ndimmid, ndimslow):
"""
Returns : (Binary)String
*args : int element_number,int elsize,int elsign,int ndimfast,int ndimmid,
int ndimslow
C prototype: int cbf_get_3d_image_fs (cbf_handle handle,
unsigned int reserved, unsigned int element_number,
void *array, size_t elsize, int elsign, size_t ndimfast,
size_t ndimmid, size_t ndimslow);
CBFLib documentation:
DESCRIPTION
cbf_get_image, cbf_get_image_fs and cbf_get_image_sf read the image
array for element number element_number into an array. The array
consists of ndimslow *ndimfast elements of elsize bytes each,
starting at array. The elements are signed if elsign is non-0 and
unsigned otherwise. cbf_get_real_image, cbf_get_real_image_fs and
cbf_get_real_image_sf read the image array of IEEE doubles or floats
for element number element_number into an array. A real array is
always signed. cbf_get_3d_image, cbf_get_3d_image_fs and
cbf_get_3d_image_sf read the 3D image array for element number
element_number into an array. The array consists of ndimslow *ndimmid
*ndimfast elements of elsize bytes each, starting at array. The
elements are signed if elsign is non-0 and unsigned otherwise.
cbf_get_real_3d_image, cbf_get_real_3d_image_fs,
cbf_get_real_3d_image_sf reads the 3D image array of IEEE doubles or
floats for element number element_number into an array. A real array
is always signed.
The _fs calls give the dimensions in a fast-to-slow order. The calls
with no suffix and the calls _sf calls give the dimensions in
slow-to-fast order
The structure of the array as a 1-, 2- or 3-dimensional array should
agree with the structure of the array given in the
ARRAY_STRUCTURE_LIST category. If the array is 1-dimensional,
ndimslow should be the array size and ndimfast and, for the 3D calls,
ndimmid, should be set to 1 both in the call and in the imgCIF data
being processed. If the array is 2-dimensional and a 3D call is used,
ndimslow and ndimmid should be the
"""
return _pycbf.cbf_handle_struct_get_3d_image_fs_as_string(self, element_number, elsize, elsign, ndimfast, ndimmid, ndimslow)
def reset_datablocks(self):
"""
Returns :
*args :
C prototype: int cbf_reset_datablocks (cbf_handle handle);
CBFLib documentation:
DESCRIPTION
cbf_reset_datablocks deletes all categories from all data blocks.
The current data block does not change.
ARGUMENTS
handle CBF handle.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_reset_datablocks(self)
def set_tag_category(self, tagname, categoryname_in):
"""
Returns :
*args : String tagname,String categoryname_in
C prototype: int cbf_set_tag_category (cbf_handle handle, const char* tagname,
const char* categoryname_in);
CBFLib documentation:
DESCRIPTION
cbf_find_tag_category sets categoryname to the category associated
with tagname in the dictionary associated with handle.
cbf_set_tag_category upddates the dictionary associated with handle
to indicated that tagname is in category categoryname_in.
ARGUMENTS
handle CBF handle. tagname tag name.
categoryname pointer to a returned category name.
categoryname_in input category name.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_set_tag_category(self, tagname, categoryname_in)
def require_tag_root(self, tagname):
"""
Returns : String tagroot
*args : String tagname
C prototype: int cbf_require_tag_root (cbf_handle handle, const char* tagname,
const char** tagroot);
CBFLib documentation:
DESCRIPTION
cbf_find_tag_root sets *tagroot to the root tag of which tagname is
an alias. cbf_set_tag_root sets tagname as an alias of tagroot_in in
the dictionary associated with handle, creating the dictionary if
necessary. cbf_require_tag_root sets *tagroot to the root tag of
which tagname is an alias, if there is one, or to the value of
tagname, if tagname is not an alias.
A returned tagroot string must not be modified in any way.
ARGUMENTS
handle CBF handle. tagname tag name which may be an alias.
tagroot pointer to a returned tag root name. tagroot_in input
tag root name.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_require_tag_root(self, tagname)
def row_number(self):
"""
Returns : Integer
*args :
C prototype: int cbf_row_number (cbf_handle handle, unsigned int *row);
CBFLib documentation:
DESCRIPTION
cbf_row_number sets *row to the number of the current row of the
current category.
ARGUMENTS
handle CBF handle. row Pointer to the destination row number.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_row_number(self)
def set_image(self, element_number, compression, data, elsize, elsign, ndimslow, ndimfast):
"""
Returns :
*args : int element_number,int compression,(binary) String data,int elsize,
int elsign,int dimslow,int dimfast
C prototype: int cbf_set_image (cbf_handle handle, unsigned int reserved,
unsigned int element_number, unsigned int compression,
void *array, size_t elsize, int elsign, size_t ndimslow,
size_t ndimfast);
CBFLib documentation:
DESCRIPTION
cbf_set_image, cbf_set_image_fs and cbf_set_image_sf write the image
array for element number element_number. The array consists of
ndimfast *ndimslow elements of elsize bytes each, starting at array.
The elements are signed if elsign is non-zero and unsigned otherwise.
cbf_set_real_image, cbf_set_real_image_fs and cbf_set_real_image_sf
write the image array for element number element_number. The array
consists of ndimfast *ndimslow IEEE double or float elements of
elsize bytes each, starting at array. cbf_set_3d_image,
cbf_set_3d_image_fs and cbf_set_3d_image_sf write the 3D image array
for element number element_number. The array consists of ndimfast
*ndimmid *ndimslow elements of elsize bytes each, starting at array.
The elements are signed if elsign is non-0 and unsigned otherwise.
cbf_set_real_3d_image, cbf_set_real_3d_image_fs and
cbf_set_real_3d_image_sf writes the 3D image array for element number
element_number. The array consists of ndimfast *ndimmid *ndimslow
IEEE double or float elements of elsize bytes each, starting at
array.
The _fs calls give the dimensions in a fast-to-slow order. The calls
with no suffix and the calls _sf calls give the dimensions in
slow-to-fast order
If the array is 1-dimensional, ndimslow should be the array size and
ndimfast and, for the 3D calls, ndimmid, should be set to 1. If the
array is 2-dimensional and the 3D calls are used, ndimslow and
ndimmid should be used for the array dimensions and ndimfast should
be set to 1.
The array will be compressed using the compression scheme specifed by
compression. Currently, the available schemes are:
CBF_CANONICAL Canonical-code compression (section 3.3.1)
CBF_PACKED CCP4-style packing (section 3.3.2) CBF_PACKED_V2
CCP4-style packing, version 2 (section 3.3.2) CBF_BYTE_OFFSET
Simple "byte_offset " compression. CBF_NIBBLE_OFFSET Simple
"nibble_offset " compression. CBF_NONE No compression.
The values compressed are limited to 64 bits. If any element in the
array is larger than 64 bits, the value compressed is the nearest
64-bit value.
Currently, the source array must consist of chars, shorts or ints
(signed or unsigned)for cbf_set_image, or IEEE doubles or floats for
cbf_set_real_image. If elsize is not equal to sizeof (short), sizeof
(int), sizeof(double) or sizeof(float), the function returns
CBF_ARGUMENT.
The parameter reserved is presently unused and should be set to 0.
ARGUMENTS
handle CBF handle. reserved Unused. Any value other
than 0 is invalid. element_number The number of the detector
element counting from 0 by order of appearance in the
"diffrn_data_frame " category. compression Compression type.
array Pointer to the image array. elsize Size in
bytes of each image array element. elsigned Set to non-0 if
the image array elements are signed. ndimslow Slowest array
dimension. ndimmid Second slowest array dimension. ndimfast
Fastest array dimension.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_set_image(self, element_number, compression, data, elsize, elsign, ndimslow, ndimfast)
def set_bin_sizes(self, element_number, slowbinsize_in, fastbinsize_in):
"""
Returns :
*args : Integer element_number,Float slowbinsize_in,Float fastbinsize_in
C prototype: int cbf_set_bin_sizes(cbf_handle handle,
unsigned int element_number, double slowbinsize_in,
double fastbinsize_in);
CBFLib documentation:
DESCRIPTION
cbf_get_bin_sizes sets slowbinsize to point to the value of the
number of pixels composing one array element in the dimension that
changes at the second-fastest rate and fastbinsize to point to the
value of the number of pixels composing one array element in the
dimension that changes at the fastest rate for the dectector element
with the ordinal element_number. cbf_set_bin_sizes sets the the pixel
bin sizes in the "array_intensities " category to the values of
slowbinsize_in for the number of pixels composing one array element
in the dimension that changes at the second-fastest rate and
fastbinsize_in for the number of pixels composing one array element
in the dimension that changes at the fastest rate for the dectector
element with the ordinal element_number.
In order to allow for software binning involving fractions of pixels,
the bin sizes are doubles rather than ints.
ARGUMENTS
handle CBF handle. element_number The number of the
detector element counting from 0 by order of appearance in the
"diffrn_data_frame " category. slowbinsize Pointer to the
returned number of pixels composing one array element in the
dimension that changes at the second-fastest rate. fastbinsize
Pointer to the returned number of pixels composing one array element
in the dimension that changes at the fastest rate. slowbinsize_in
The number of pixels composing one array element in the dimension
that changes at the second-fastest rate. fastbinsize_in The number
of pixels composing one array element in the dimension that changes
at the fastest rate.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_set_bin_sizes(self, element_number, slowbinsize_in, fastbinsize_in)
def new_row(self):
"""
Returns :
*args :
C prototype: int cbf_new_row (cbf_handle handle);
CBFLib documentation:
DESCRIPTION
cbf_new_row adds a new row to the current category and makes it the
current row.
ARGUMENTS
handle CBF handle.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_new_row(self)
def rewind_saveframe(self):
"""
Returns :
*args :
C prototype: int cbf_rewind_saveframe (cbf_handle handle);
CBFLib documentation:
DESCRIPTION
cbf_rewind_category makes the first category in the current data
block the current category. cbf_rewind_saveframe makes the first
saveframe in the current data block the current saveframe.
cbf_rewind_blockitem makes the first blockitem (category or
saveframe) in the current data block the current blockitem. The type
of the blockitem (CBF_CATEGORY or CBF_SAVEFRAME) is returned in type.
If there are no categories, saveframes or blockitems the function
returns CBF_NOTFOUND.
The current column and row become undefined.
ARGUMENTS
handle CBF handle. type CBF handle.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_rewind_saveframe(self)
def get_realarrayparameters(self):
"""
Returns : int compression,int binary_id,int elsize,int elements
*args :
C prototype: int cbf_get_realarrayparameters (cbf_handle handle,
unsigned int *compression, int *binary_id, size_t *elsize,
size_t *elements);
CBFLib documentation:
DESCRIPTION
cbf_get_integerarrayparameters sets *compression, *binary_id,
*elsize, *elsigned, *elunsigned, *elements, *minelement and
*maxelement to values read from the binary value of the item at the
current column and row. This provides all the arguments needed for a
subsequent call to cbf_set_integerarray, if a copy of the array is to
be made into another CIF or CBF. cbf_get_realarrayparameters sets
*compression, *binary_id, *elsize, *elements to values read from the
binary value of the item at the current column and row. This provides
all the arguments needed for a subsequent call to cbf_set_realarray,
if a copy of the arry is to be made into another CIF or CBF.
The variants cbf_get_integerarrayparameters_wdims,
cbf_get_integerarrayparameters_wdims_fs,
cbf_get_integerarrayparameters_wdims_sf,
cbf_get_realarrayparameters_wdims,
cbf_get_realarrayparameters_wdims_fs,
cbf_get_realarrayparameters_wdims_sf set **byteorder, *dimfast,
*dimmid, *dimslow, and *padding as well, providing the additional
parameters needed for a subsequent call to cbf_set_integerarray_wdims
or cbf_set_realarray_wdims.
The value returned in *byteorder is a pointer either to the string
"little_endian " or to the string "big_endian ". This should be
the byte order of the data, not necessarily of the host machine. No
attempt should be made to modify this string. At this time only
"little_endian " will be returned.
The values returned in *dimfast, *dimmid and *dimslow are the sizes
of the fastest changing, second fastest changing and third fastest
changing dimensions of the array, if specified, or zero, if not
specified.
The value returned in *padding is the size of the post-data padding,
if any and if specified in the data header. The value is given as a
count of octets.
If the value is not binary, the function returns CBF_ASCII.
ARGUMENTS
handle CBF handle. compression Compression method used.
elsize Size in bytes of each array element. binary_id
Pointer to the destination integer binary identifier. elsigned
Pointer to an integer. Set to 1 if the elements can be read as signed
integers. elunsigned Pointer to an integer. Set to 1 if the
elements can be read as unsigned integers. elements Pointer to
the destination number of elements. minelement Pointer to the
destination smallest element. maxelement Pointer to the
destination largest element. byteorder Pointer to the destination
byte order. dimfast Pointer to the destination fastest
dimension. dimmid Pointer to the destination second fastest
dimension. dimslow Pointer to the destination third fastest
dimension. padding Pointer to the destination padding size.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_get_realarrayparameters(self)
def get_pixel_size_sf(self, element_number, axis_number):
"""
Returns : Float pixel_size
*args : Int element_number,Int axis_number
C prototype: int cbf_get_pixel_size_sf(cbf_handle handle,
unsigned int element_number, int axis_number,
double *psize);
CBFLib documentation:
DESCRIPTION
cbf_get_pixel_size and cbf_get_pixel_size_sf set *psize to point to
the double value in millimeters of the axis axis_number of the
detector element element_number. The axis_number is numbered from 1,
starting with the slowest axis. cbf_get_pixel_size_fs sets *psize to
point to the double value in millimeters of the axis axis_number of
the detector element element_number. The axis_number is numbered from
1, starting with the fastest axis.
If a negative axis number is given, the order of axes is reversed, so
that -1 specifies the slowest axis for cbf_get_pixel_size_fs and the
fastest axis for cbf_get_pixel_size_sf.
If the pixel size is not given explcitly in the "array_element_size
" category, the function returns CBF_NOTFOUND.
ARGUMENTS
handle CBF handle. element_number The number of the
detector element counting from 0 by order of appearance in the
"diffrn_data_frame " category. axis_number The number of the
axis, starting from 1 for the fastest for cbf_get_pixel_size and
cbf_get_pixel_size_fs and the slowest for cbf_get_pixel_size_sf.
psize Pointer to the destination pixel size.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_get_pixel_size_sf(self, element_number, axis_number)
def force_new_category(self, arg):
"""
Returns : string
*args :
C prototype: int cbf_force_new_category (cbf_handle handle,
const char *categoryname);
CBFLib documentation:
DESCRIPTION
cbf_force_new_category creates a new category in the current data
block with name categoryname and makes it the current category.
Duplicate category names are allowed.
Even if a category with this name already exists, a new category of
the same name is created and becomes the current category. The allows
for the creation of unlooped tag/value lists drawn from the same
category.
ARGUMENTS
handle CBF handle. categoryname The name of the new
category.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_force_new_category(self, arg)
def force_new_saveframe(self, arg):
"""
Returns : string
*args :
C prototype: int cbf_force_new_saveframe (cbf_handle handle,
const char *saveframename);
CBFLib documentation:
DESCRIPTION
cbf_force_new_datablock creates a new data block with name
datablockname and makes it the current data block. Duplicate data
block names are allowed. cbf_force_new_saveframe creates a new savew
frame with name saveframename and makes it the current save frame.
Duplicate save frame names are allowed.
Even if a save frame with this name already exists, a new save frame
is created and becomes the current save frame.
ARGUMENTS
handle CBF handle. datablockname The name of the new data
block. saveframename The name of the new save frame.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_force_new_saveframe(self, arg)
def count_datablocks(self):
"""
Returns : Integer
*args :
C prototype: int cbf_count_datablocks (cbf_handle handle,
unsigned int *datablocks);
CBFLib documentation:
DESCRIPTION
cbf_count_datablocks puts the number of data blocks in *datablocks .
ARGUMENTS
handle CBF handle. datablocks Pointer to the destination data
block count.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_count_datablocks(self)
def find_row(self, arg):
"""
Returns : string
*args :
C prototype: int cbf_find_row (cbf_handle handle, const char *value);
CBFLib documentation:
DESCRIPTION
cbf_find_row makes the first row in the current column with value
value the current row.
The comparison is case-sensitive.
If a matching row does not exist, the function returns CBF_NOTFOUND.
The current column is not affected.
ARGUMENTS
handle CBF handle. value The value of the row to find.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_find_row(self, arg)
def select_column(self, arg):
"""
Returns :
*args : Integer
C prototype: int cbf_select_column (cbf_handle handle, unsigned int column);
CBFLib documentation:
DESCRIPTION
cbf_select_column selects column number column in the current
category as the current column.
The first column is number 0.
The current row is not affected
If the column does not exist, the function returns CBF_NOTFOUND.
ARGUMENTS
handle CBF handle. column Number of the column to select.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_select_column(self, arg)
def construct_detector(self, element_number):
"""
Returns : pycbf detector object
*args : Integer element_number
C prototype: int cbf_construct_detector (cbf_handle handle,
cbf_detector *detector, unsigned int element_number);
CBFLib documentation:
DESCRIPTION
cbf_construct_detector constructs a detector object for detector
element number element_number using the description in the CBF object
handle and initialises the detector handle *detector.
cbf_construct_reference_detector constructs a detector object for
detector element number element_number using the description in the
CBF object handle and initialises the detector handle *detector using
the reference settings of the axes. cbf_require_reference_detector is
similar, but try to force the creations of missing intermediate
categories needed to construct a detector object.
ARGUMENTS
handle CBF handle. detector Pointer to the
destination detector handle. element_number The number of the
detector element counting from 0 by order of appearance in the
"diffrn_data_frame " category.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_construct_detector(self, element_number)
def get_axis_depends_on(self, axis_id):
"""
Returns : String
*args : String axis_id
C prototype: int cbf_get_axis_depends_on (cbf_handle handle,
const char *axis_id, const char * *depends_on);
CBFLib documentation:
DESCRIPTION
cbf_count_axis_ancestors sets ancestors to the number of ancestors of
axis axis_id. cbf_get_axis_ancestor sets *ancestor to the ancestor
axis of index ancestor_index of axis axis_id, starting with axis_id
for ancestor_index 0.
cbf_get_axis_depends_on sets *depends_on to the immediate ancestor of
axis_id or to ". " if there is no such ancestor.
cbf_get_axis_equipment sets *equipment to the equipment of axis_id or
to ". " if there is no such equipment.
cbf_get_axis_equipment_component sets *equipment_component to the
equipment_component of axis_id or to ". " if there is no such
equipment_component.
cbf_get_axis_offset sets *offset1, *offset2 and *offset3 to the
components of the ofset of axis_id.
cbf_get_axis_rotation sets rotation to the rotation of axis_id or to
0 if there is no such rotation. cbf_get_axis_rotation_axis sets
*rotation_axis to the rotation_axis of axis_id or to ". " if there
is no such rotation_axis.
cbf_get_axis_setting sets *start and *increment to the corresponding
values of the axis axis_id. Any of the destination pointers may be
NULL.
cbf_get_axis_type sets axis_type to the type of axis_id.
cbf_get_axis_vector sets *vector1, *vector2 and *vector3 to the
components of the vector of axis_id.
The parameter reserved is presently unused and should be set to 0.
ARGUMENTS
handle CBF handle. reserved Unused. Any
value other than 0 is invalid. axis_id Axis id.
ancestor_index Integer index of the desired ancestor, starting
with 0 for the current axis_id. ancestor Pointer to
destination ancestor name pointer. depends_on Pointer to
destination depends_on name pointer. equipment Pointer to
destination equipment name pointer. equipment_component Pointer to
destination equipment_component name pointer. offset1
Pointer to destination first offset component value. offset2
Pointer to destination second offset component value. offset3
Pointer to destination third offset component value.
rotation Pointer to destination rotation value.
rotation_axis Pointer to destination rotation_axisn name
pointer. start Pointer to the destination start
value. increment Pointer to the destination increment
value. type Pointer to destination axis type of type
. vector1 Pointer to destination first vector component
value. vector2 Pointer to destination second vector
component value. vector3 Pointer to destination third
vector component value.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_get_axis_depends_on(self, axis_id)
def rewind_column(self):
"""
Returns :
*args :
C prototype: int cbf_rewind_column (cbf_handle handle);
CBFLib documentation:
DESCRIPTION
cbf_rewind_column makes the first column in the current category the
current column.
If there are no columns, the function returns CBF_NOTFOUND.
The current row is not affected.
ARGUMENTS
handle CBF handle.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_rewind_column(self)
def construct_reference_positioner(self, axis_id):
"""
Returns : pycbf positioner object
*args : String axis_id
C prototype: int cbf_construct_reference_positioner (cbf_handle handle,
cbf_positioner *positioner, const char *axis_id);
CBFLib documentation:
DESCRIPTION
cbf_construct_positioner constructs a positioner object for the axis
given by axis_id using the description in the CBF object handle and
initialises the positioner handle *positioner.
cbf_construct_reference positioner constructs a positioner object for
the axis given by axis_id using the description in the CBF object
handle and initialises the detector handle *detector using the
reference settings of the axes.
ARGUMENTS
handle CBF handle. detector Pointer to the destination detector
handle. axis_id The identifier of the axis in the "axis "
category.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_construct_reference_positioner(self, axis_id)
def require_column_doublevalue(self, columnname, defaultvalue):
"""
Returns : Float defaultvalue
*args : String columnname,Float Value
C prototype: int cbf_require_column_doublevalue (cbf_handle handle,
const char *columnname, double *number,
const double defaultvalue);
CBFLib documentation:
DESCRIPTION
cbf_require_column_doublevalue sets *number to the value of the ASCII
item at the current row for the column given with the name given by
*columnname, with the value interpreted as a decimal floating-point
number, or to the number given by defaultvalue if the item cannot be
found.
ARGUMENTS
handle CBF handle. columnname Name of the column
containing the number. number pointer to the location to
receive the floating-point value. defaultvalue Value to use if the
requested column and value cannot be found.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_require_column_doublevalue(self, columnname, defaultvalue)
def get_datestamp(self):
"""
Returns : int year,int month,int day,int hour,int minute,double second,
int timezone
*args :
C prototype: int cbf_get_datestamp (cbf_handle handle, unsigned int reserved,
int *year, int *month, int *day, int *hour, int *minute,
double *second, int *timezone);
CBFLib documentation:
DESCRIPTION
cbf_get_datestamp sets *year, *month, *day, *hour, *minute and
*second to the corresponding values of the collection timestamp.
*timezone is set to timezone difference from UTC in minutes. The
parameter < i>reserved is presently unused and should be set to 0.
Any of the destination pointers may be NULL.
ARGUMENTS
handle CBF handle. reserved Unused. Any value other than 0 is
invalid. year Pointer to the destination timestamp year. month
Pointer to the destination timestamp month (1-12). day
Pointer to the destination timestamp day (1-31). hour Pointer
to the destination timestamp hour (0-23). minute Pointer to the
destination timestamp minute (0-59). second Pointer to the
destination timestamp second (0-60.0). timezone Pointer to the
destination timezone difference from UTC in minutes.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_get_datestamp(self)
def get_integervalue(self):
"""
Returns : int
*args :
C prototype: int cbf_get_integervalue (cbf_handle handle, int *number);
CBFLib documentation:
DESCRIPTION
cbf_get_integervalue sets *number to the value of the ASCII item at
the current column and row interpreted as a decimal integer.
cbf_require_integervalue sets *number to the value of the ASCII item
at the current column and row interpreted as a decimal integer,
setting it to defaultvalue if necessary.
If the value is not ASCII, the function returns CBF_BINARY.
ARGUMENTS
handle CBF handle. number pointer to the number.
defaultvalue default number value.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_get_integervalue(self)
def get_crystal_id(self):
"""
Returns :
*args : string
C prototype: int cbf_get_crystal_id (cbf_handle handle,
const char **crystal_id);
CBFLib documentation:
DESCRIPTION
cbf_get_crystal_id sets *crystal_id to point to the ASCII value of
the "diffrn.crystal_id " entry.
If the value is not ASCII, the function returns CBF_BINARY.
The value will be valid as long as the item exists and has not been
set to a new value.
The value must not be modified by the program in any way.
ARGUMENTS
handle CBF handle. crystal_id Pointer to the destination
value pointer.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_get_crystal_id(self)
def get_doublevalue(self):
"""
Returns : double
*args :
C prototype: int cbf_get_doublevalue (cbf_handle handle, double *number);
CBFLib documentation:
DESCRIPTION
cbf_get_doublevalue sets *number to the value of the ASCII item at
the current column and row interpreted as a decimal floating-point
number. cbf_require_doublevalue sets *number to the value of the
ASCII item at the current column and row interpreted as a decimal
floating-point number, setting it to defaultvalue if necessary.
If the value is not ASCII, the function returns CBF_BINARY.
ARGUMENTS
handle CBF handle. number Pointer to the destination
number. defaultvalue default number value.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_get_doublevalue(self)
def get_unit_cell(self):
"""
Returns : Float a,Float b,Float c,Float alpha,Float beta,Float gamma
*args :
C prototype: int cbf_get_unit_cell (cbf_handle handle, double cell[6],
double cell_esd[6] );
CBFLib documentation:
DESCRIPTION
cbf_get_unit_cell sets cell[0:2] to the double values of the cell
edge lengths a, b and c in AAngstroms, cell[3:5] to the double values
of the cell angles a, b and g in degrees, cell_esd[0:2] to the double
values of the estimated strandard deviations of the cell edge lengths
a, b and c in AAngstroms, cell_esd[3:5] to the double values of the
estimated standard deviations of the the cell angles a, b and g in
degrees.
The values returned are retrieved from the first row of the "cell
" category. The value of "_cell.entry_id " is ignored.
cell or cell_esd may be NULL.
If cell is NULL, the cell parameters are not retrieved.
If cell_esd is NULL, the cell parameter esds are not retrieved.
If the "cell " category is present, but some of the values are
missing, zeros are returned for the missing values.
ARGUMENTS
handle CBF handle. cell Pointer to the destination array of
6 doubles for the cell parameters. cell_esd Pointer to the
destination array of 6 doubles for the cell parameter esds.
RETURN VALUE
Returns an error code on failure or 0 for success. No errors is
returned for missing values if the "cell " category exists.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_get_unit_cell(self)
def get_unit_cell_esd(self):
"""get_unit_cell_esd(cbf_handle_struct self)"""
return _pycbf.cbf_handle_struct_get_unit_cell_esd(self)
def get_axis_type(self, axis_id):
"""
Returns : String
*args : String axis_id
C prototype: int cbf_get_axis_type (cbf_handle handle, const char *axis_id,
cbf_axis_type *axis_type);
CBFLib documentation:
DESCRIPTION
cbf_count_axis_ancestors sets ancestors to the number of ancestors of
axis axis_id. cbf_get_axis_ancestor sets *ancestor to the ancestor
axis of index ancestor_index of axis axis_id, starting with axis_id
for ancestor_index 0.
cbf_get_axis_depends_on sets *depends_on to the immediate ancestor of
axis_id or to ". " if there is no such ancestor.
cbf_get_axis_equipment sets *equipment to the equipment of axis_id or
to ". " if there is no such equipment.
cbf_get_axis_equipment_component sets *equipment_component to the
equipment_component of axis_id or to ". " if there is no such
equipment_component.
cbf_get_axis_offset sets *offset1, *offset2 and *offset3 to the
components of the ofset of axis_id.
cbf_get_axis_rotation sets rotation to the rotation of axis_id or to
0 if there is no such rotation. cbf_get_axis_rotation_axis sets
*rotation_axis to the rotation_axis of axis_id or to ". " if there
is no such rotation_axis.
cbf_get_axis_setting sets *start and *increment to the corresponding
values of the axis axis_id. Any of the destination pointers may be
NULL.
cbf_get_axis_type sets axis_type to the type of axis_id.
cbf_get_axis_vector sets *vector1, *vector2 and *vector3 to the
components of the vector of axis_id.
The parameter reserved is presently unused and should be set to 0.
ARGUMENTS
handle CBF handle. reserved Unused. Any
value other than 0 is invalid. axis_id Axis id.
ancestor_index Integer index of the desired ancestor, starting
with 0 for the current axis_id. ancestor Pointer to
destination ancestor name pointer. depends_on Pointer to
destination depends_on name pointer. equipment Pointer to
destination equipment name pointer. equipment_component Pointer to
destination equipment_component name pointer. offset1
Pointer to destination first offset component value. offset2
Pointer to destination second offset component value. offset3
Pointer to destination third offset component value.
rotation Pointer to destination rotation value.
rotation_axis Pointer to destination rotation_axisn name
pointer. start Pointer to the destination start
value. increment Pointer to the destination increment
value. type Pointer to destination axis type of type
. vector1 Pointer to destination first vector component
value. vector2 Pointer to destination second vector
component value. vector3 Pointer to destination third
vector component value.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_get_axis_type(self, axis_id)
def remove_column(self):
"""
Returns :
*args :
C prototype: int cbf_remove_column (cbf_handle handle);
CBFLib documentation:
DESCRIPTION
cbf_remove_column deletes the current column.
The current column becomes undefined.
ARGUMENTS
handle CBF handle.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_remove_column(self)
def rewind_blockitem(self):
"""
Returns : CBF_NODETYPE
*args :
C prototype: int cbf_rewind_blockitem (cbf_handle handle,
CBF_NODETYPE * type);
CBFLib documentation:
DESCRIPTION
cbf_rewind_category makes the first category in the current data
block the current category. cbf_rewind_saveframe makes the first
saveframe in the current data block the current saveframe.
cbf_rewind_blockitem makes the first blockitem (category or
saveframe) in the current data block the current blockitem. The type
of the blockitem (CBF_CATEGORY or CBF_SAVEFRAME) is returned in type.
If there are no categories, saveframes or blockitems the function
returns CBF_NOTFOUND.
The current column and row become undefined.
ARGUMENTS
handle CBF handle. type CBF handle.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_rewind_blockitem(self)
def get_value(self):
"""
Returns :
*args : string
C prototype: int cbf_get_value (cbf_handle handle, const char **value);
CBFLib documentation:
DESCRIPTION
cbf_get_value sets *value to point to the ASCII value of the item at
the current column and row. cbf_require_value sets *value to point to
the ASCII value of the item at the current column and row, creating
the data item if necessary and initializing it to a copy of
defaultvalue.
If the value is not ASCII, the function returns CBF_BINARY.
The value will be valid as long as the item exists and has not been
set to a new value.
The value must not be modified by the program in any way.
ARGUMENTS
handle CBF handle. value Pointer to the destination
value pointer. defaultvalue Default value character string.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_get_value(self)
def count_categories(self):
"""
Returns : Integer
*args :
C prototype: int cbf_count_categories (cbf_handle handle,
unsigned int *categories);
CBFLib documentation:
DESCRIPTION
cbf_count_categories puts the number of categories in the current
data block in *categories.
ARGUMENTS
handle CBF handle. categories Pointer to the destination
category count.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_count_categories(self)
def read_widefile(self, filename, headers):
"""
Returns :
*args : String filename,Integer headers
C prototype: int cbf_read_widefile (cbf_handle handle, FILE *file, int flags);
CBFLib documentation:
DESCRIPTION
cbf_read_file reads the CBF or CIF file file into the CBF object
specified by handle, using the CIF 1.0 convention of 80 character
lines. cbf_read_widefile reads the CBF or CIF file file into the CBF
object specified by handle, using the CIF 1.1 convention of 2048
character lines. A warning is issued to stderr for ascii lines over
the limit. No test is performed on binary sections.
Validation is performed in three ways levels: during the lexical
scan, during the parse, and, if a dictionary was converted, against
the value types, value enumerations, categories and parent-child
relationships specified in the dictionary.
flags controls the interpretation of binary section headers, the
parsing of brackets constructs and the parsing of treble-quoted
strings.
MSG_DIGEST: Instructs CBFlib to check that the digest
of the binary section matches any header digest value. If the digests
do not match, the call will return CBF_FORMAT. This evaluation and
comparison is delayed (a "lazy " evaluation) to ensure maximal
processing efficiency. If an immediately evaluation is required, see
MSG_DIGESTNOW, below. MSG_DIGESTNOW: Instructs CBFlib to
check that the digest of the binary section matches any header
digeste value. If the digests do not match, the call will return
CBF_FORMAT. This evaluation and comparison is performed during
initial parsing of the section to ensure timely error reporting at
the expense of processing efficiency. If a more efficient delayed (
"lazy ") evaluation is required, see MSG_DIGEST, above.
MSG_DIGESTWARN: Instructs CBFlib to check that the digest
of the binary section matches any header digeste value. If the
digests do not match, a warning message will be sent to stderr, but
processing will attempt to continue. This evaluation and comparison
is first performed during initial parsing of the section to ensure
timely error reporting at the expense of processing efficiency. An
mismatch of the message digest usually indicates a serious error, but
it is sometimes worth continuing processing to try to isolate the
cause of the error. Use this option with caution. MSG_NODIGEST:
Do not check the digest (default). PARSE_BRACKETS:
Accept DDLm bracket-delimited [item,item,...item] or
{item,item,...item} or (item,item,...item) constructs as valid,
stripping non-quoted embedded whitespace and comments. These
constructs may span multiple lines. PARSE_LIBERAL_BRACKETS: Accept
DDLm bracket-delimited [item,item,...item] or {item,item,...item} or
(item,item,...item) constructs as valid, stripping embedded
non-quoted, non-separating whitespace and comments. These constructs
may span multiple lines. In this case, whitespace may be used as an
alternative to the comma. PARSE_TRIPLE_QUOTES: Accept DDLm
triple-quoted " " "item,item,...item " " " or
'''item,item,...item''' constructs as valid, stripping embedded
whitespace and comments. These constructs may span multiple lines. If
this flag is set, then ''' will not be interpreted as a quoted
apoptrophe and " " " will not be interpreted as a quoted double
quote mark and PARSE_NOBRACKETS: Do not accept DDLm
bracket-delimited [item,item,...item] or {item,item,...item} or
(item,item,...item) constructs as valid, stripping non-quoted
embedded whitespace and comments. These constructs may span multiple
lines. PARSE_NOTRIPLE_QUOTES: No not accept DDLm triple-quoted "
" "item,item,...item " " " or '''item,item,...item''' constructs
as valid, stripping embedded whitespace and comments. These
constructs may span multiple lines. If this flag is set, then '''
will be interpreted as a quoted apostrophe and " " " will be
interpreted as a quoted double quote mark.
CBFlib defers reading binary sections as long as possible. In the
current version of CBFlib, this means that:
1. The file must be a random-access file opened in binary mode (fopen
( ,
"""
return _pycbf.cbf_handle_struct_read_widefile(self, filename, headers)
def set_wavelength(self, wavelength):
"""
Returns : double wavelength
*args :
C prototype: int cbf_set_wavelength (cbf_handle handle, double wavelength);
CBFLib documentation:
DESCRIPTION
cbf_set_wavelength sets the current wavelength in AA to wavelength.
ARGUMENTS
handle CBF handle. wavelength Wavelength in AA.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_set_wavelength(self, wavelength)
def get_axis_vector(self, axis_id):
"""
Returns : Float vector1,Float vector2,Float vector3
*args : String axis_id
C prototype: int cbf_get_axis_vector (cbf_handle handle, const char *axis_id,
double *vector1, double *vector2, double *vector3);
CBFLib documentation:
DESCRIPTION
cbf_count_axis_ancestors sets ancestors to the number of ancestors of
axis axis_id. cbf_get_axis_ancestor sets *ancestor to the ancestor
axis of index ancestor_index of axis axis_id, starting with axis_id
for ancestor_index 0.
cbf_get_axis_depends_on sets *depends_on to the immediate ancestor of
axis_id or to ". " if there is no such ancestor.
cbf_get_axis_equipment sets *equipment to the equipment of axis_id or
to ". " if there is no such equipment.
cbf_get_axis_equipment_component sets *equipment_component to the
equipment_component of axis_id or to ". " if there is no such
equipment_component.
cbf_get_axis_offset sets *offset1, *offset2 and *offset3 to the
components of the ofset of axis_id.
cbf_get_axis_rotation sets rotation to the rotation of axis_id or to
0 if there is no such rotation. cbf_get_axis_rotation_axis sets
*rotation_axis to the rotation_axis of axis_id or to ". " if there
is no such rotation_axis.
cbf_get_axis_setting sets *start and *increment to the corresponding
values of the axis axis_id. Any of the destination pointers may be
NULL.
cbf_get_axis_type sets axis_type to the type of axis_id.
cbf_get_axis_vector sets *vector1, *vector2 and *vector3 to the
components of the vector of axis_id.
The parameter reserved is presently unused and should be set to 0.
ARGUMENTS
handle CBF handle. reserved Unused. Any
value other than 0 is invalid. axis_id Axis id.
ancestor_index Integer index of the desired ancestor, starting
with 0 for the current axis_id. ancestor Pointer to
destination ancestor name pointer. depends_on Pointer to
destination depends_on name pointer. equipment Pointer to
destination equipment name pointer. equipment_component Pointer to
destination equipment_component name pointer. offset1
Pointer to destination first offset component value. offset2
Pointer to destination second offset component value. offset3
Pointer to destination third offset component value.
rotation Pointer to destination rotation value.
rotation_axis Pointer to destination rotation_axisn name
pointer. start Pointer to the destination start
value. increment Pointer to the destination increment
value. type Pointer to destination axis type of type
. vector1 Pointer to destination first vector component
value. vector2 Pointer to destination second vector
component value. vector3 Pointer to destination third
vector component value.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_get_axis_vector(self, axis_id)
def set_pixel_size_sf(self, element_number, axis_number, psize):
"""
Returns :
*args : Int element_number,Int axis_number,Float pixel size
C prototype: int cbf_set_pixel_size_sf(cbf_handle handle,
unsigned int element_number, int axis_number,
double psize);
CBFLib documentation:
DESCRIPTION
cbf_set_pixel_size and cbf_set_pixel_size_sf set the item in the
"e;size"e; column of the "array_structure_list " category
at the row which matches axis axis_number of the detector element
element_number converting the double pixel size psize from meters to
millimeters in storing it in the "size " column for the axis
axis_number of the detector element element_number. The axis_number
is numbered from 1, starting with the slowest axis.
cbf_set_pixel_size_fs sets the item
"""
return _pycbf.cbf_handle_struct_set_pixel_size_sf(self, element_number, axis_number, psize)
def get_diffrn_id(self):
"""
Returns :
*args : string
C prototype: int cbf_get_diffrn_id (cbf_handle handle,
const char **diffrn_id);
CBFLib documentation:
DESCRIPTION
cbf_get_diffrn_id sets *diffrn_id to point to the ASCII value of the
"diffrn.id " entry. cbf_require_diffrn_id also sets *diffrn_id to
point to the ASCII value of the "diffrn.id " entry, but, if the
"diffrn.id " entry does not exist, it sets the value in the CBF and
in*diffrn_id to the character string given by default_id, creating
the category and column is necessary.
The diffrn_id will be valid as long as the item exists and has not
been set to a new value.
The diffrn_id must not be modified by the program in any way.
ARGUMENTS
handle CBF handle. diffrn_id Pointer to the destination
value pointer. default_id Character string default value.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_get_diffrn_id(self)
def get_axis_rotation(self, axis_id):
"""
Returns : Float
*args : String axis_id
C prototype: int cbf_get_axis_rotation (cbf_handle handle,
const char *axis_id, double *rotation);
CBFLib documentation:
DESCRIPTION
cbf_count_axis_ancestors sets ancestors to the number of ancestors of
axis axis_id. cbf_get_axis_ancestor sets *ancestor to the ancestor
axis of index ancestor_index of axis axis_id, starting with axis_id
for ancestor_index 0.
cbf_get_axis_depends_on sets *depends_on to the immediate ancestor of
axis_id or to ". " if there is no such ancestor.
cbf_get_axis_equipment sets *equipment to the equipment of axis_id or
to ". " if there is no such equipment.
cbf_get_axis_equipment_component sets *equipment_component to the
equipment_component of axis_id or to ". " if there is no such
equipment_component.
cbf_get_axis_offset sets *offset1, *offset2 and *offset3 to the
components of the ofset of axis_id.
cbf_get_axis_rotation sets rotation to the rotation of axis_id or to
0 if there is no such rotation. cbf_get_axis_rotation_axis sets
*rotation_axis to the rotation_axis of axis_id or to ". " if there
is no such rotation_axis.
cbf_get_axis_setting sets *start and *increment to the corresponding
values of the axis axis_id. Any of the destination pointers may be
NULL.
cbf_get_axis_type sets axis_type to the type of axis_id.
cbf_get_axis_vector sets *vector1, *vector2 and *vector3 to the
components of the vector of axis_id.
The parameter reserved is presently unused and should be set to 0.
ARGUMENTS
handle CBF handle. reserved Unused. Any
value other than 0 is invalid. axis_id Axis id.
ancestor_index Integer index of the desired ancestor, starting
with 0 for the current axis_id. ancestor Pointer to
destination ancestor name pointer. depends_on Pointer to
destination depends_on name pointer. equipment Pointer to
destination equipment name pointer. equipment_component Pointer to
destination equipment_component name pointer. offset1
Pointer to destination first offset component value. offset2
Pointer to destination second offset component value. offset3
Pointer to destination third offset component value.
rotation Pointer to destination rotation value.
rotation_axis Pointer to destination rotation_axisn name
pointer. start Pointer to the destination start
value. increment Pointer to the destination increment
value. type Pointer to destination axis type of type
. vector1 Pointer to destination first vector component
value. vector2 Pointer to destination second vector
component value. vector3 Pointer to destination third
vector component value.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_get_axis_rotation(self, axis_id)
def find_datablock(self, arg):
"""
Returns : string
*args :
C prototype: int cbf_find_datablock (cbf_handle handle,
const char *datablockname);
CBFLib documentation:
DESCRIPTION
cbf_find_datablock makes the data block with name datablockname the
current data block.
The comparison is case-insensitive.
If the data block does not exist, the function returns CBF_NOTFOUND.
The current category becomes undefined.
ARGUMENTS
handle CBF handle. datablockname The name of the data
block to find.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_find_datablock(self, arg)
def get_polarization(self):
"""
Returns : float polarizn_source_ratio,float polarizn_source_norm
*args :
C prototype: int cbf_get_polarization (cbf_handle handle,
double *polarizn_source_ratio,
double *polarizn_source_norm);
CBFLib documentation:
DESCRIPTION
cbf_get_polarization sets *polarizn_source_ratio and
*polarizn_source_norm to the corresponding source polarization
parameters.
Either destination pointer may be NULL.
ARGUMENTS
handle CBF handle. polarizn_source_ratio Pointer
to the destination polarizn_source_ratio. polarizn_source_norm
Pointer to the destination polarizn_source_norm.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_get_polarization(self)
def select_category(self, arg):
"""
Returns :
*args : Integer
C prototype: int cbf_select_category (cbf_handle handle,
unsigned int category);
CBFLib documentation:
DESCRIPTION
cbf_select_category selects category number category in the current
data block as the current category.
The first category is number 0.
The current column and row become undefined.
If the category does not exist, the function returns CBF_NOTFOUND.
ARGUMENTS
handle CBF handle. category Number of the category to select.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_select_category(self, arg)
def get_pixel_size_fs(self, element_number, axis_number):
"""
Returns : Float pixel_size
*args : Int element_number,Int axis_number
C prototype: int cbf_get_pixel_size_fs(cbf_handle handle,
unsigned int element_number, int axis_number,
double *psize);
CBFLib documentation:
DESCRIPTION
cbf_get_pixel_size and cbf_get_pixel_size_sf set *psize to point to
the double value in millimeters of the axis axis_number of the
detector element element_number. The axis_number is numbered from 1,
starting with the slowest axis. cbf_get_pixel_size_fs sets *psize to
point to the double value in millimeters of the axis axis_number of
the detector element element_number. The axis_number is numbered from
1, starting with the fastest axis.
If a negative axis number is given, the order of axes is reversed, so
that -1 specifies the slowest axis for cbf_get_pixel_size_fs and the
fastest axis for cbf_get_pixel_size_sf.
If the pixel size is not given explcitly in the "array_element_size
" category, the function returns CBF_NOTFOUND.
ARGUMENTS
handle CBF handle. element_number The number of the
detector element counting from 0 by order of appearance in the
"diffrn_data_frame " category. axis_number The number of the
axis, starting from 1 for the fastest for cbf_get_pixel_size and
cbf_get_pixel_size_fs and the slowest for cbf_get_pixel_size_sf.
psize Pointer to the destination pixel size.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_get_pixel_size_fs(self, element_number, axis_number)
def get_axis_poise(self, ratio, axis_id, frame_id):
"""
Returns : Float vector1,Float vector2,Float vector3,Float offset1,Float offset2,
Float offset3,Float angle
*args : Float ratio,String axis_id,String frame_id
C prototype: int cbf_get_axis_poise(cbf_handle handle, double ratio,
double * vector1, double * vector2, double * vector3,
double * offset1, double * offset2, double * offset3,
double * angle, const char * axis_id,
const char * frame_id);
CBFLib documentation:
DESCRIPTION
cbf_get_axis_poise sets vector1, vector2, vector3 to point to the
components of the axis vector for axis axis_id, offset1, offset2,
offset3 to point to the components of the axis base offset vector for
axis axis_id, and angle to point to the angle of rotation of axis
axis_id after application of the axis settings for frame frame_id,
using ratio, a value between 0 and 1, indicating how far into the
internal motion in the frame to go. If frame_id is the string ".
", the first frame found is used. If there is more than one frame,
which frame will be found is indeterminate. If frame_id is NULL, the
overall setting for the scan are used, rather than those for any
particular frame. The vector and offset reported are the reference
vector and offset of the axis axis_id transformed by application of
all motions of the axes on which axis_id depends.
cbf_get_goniometer_poise vector1, vector2, vector3 to point to the
components of the axis vector for the goniometer axis, offset1,
offset2, offset3 to point to the components of the axis base offset
vector for the goniometer axis, and angle to point to the angle of
rotation of the goniometer axis after application of all axis
settings in the goniometer deriving the vector, offset and angle from
the resulting matrix. Calculation of the vector is indeterminate if
the angle is zero.
cbf_get_axis_reference_poise sets vector1, vector2, vector3 to point
to the components of the axis vector for axis axis_id, offset1,
offset2, offset3 to point to the components of the axis base offset
vector for axis axis_id unmodified by axis rotations. Any of the
pointers may be specified as NULL.
ARGUMENTS
handle CBF handle. ratio A number between 0 and 1
indication how far into the frame to go vector1 Pointer to the
first component of the axis vector vector2 Pointer to the second
component of the axis vector vector3 Pointer to the third
component of the axis vector offset1 Pointer to the first
component of the axis offset offset2 Pointer to the second
component of the axis offset offset3 Pointer to the third
component of the axis offset angle Pointer to the rotation
angle axis_id The specified axis frame_id The specified
frame positioner CBF goniometer
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_get_axis_poise(self, ratio, axis_id, frame_id)
def read_file(self, filename, headers):
"""
Returns :
*args : String filename,Integer headers
C prototype: int cbf_read_file (cbf_handle handle, FILE *file, int flags);
CBFLib documentation:
DESCRIPTION
cbf_read_file reads the CBF or CIF file file into the CBF object
specified by handle, using the CIF 1.0 convention of 80 character
lines. cbf_read_widefile reads the CBF or CIF file file into the CBF
object specified by handle, using the CIF 1.1 convention of 2048
character lines. A warning is issued to stderr for ascii lines over
the limit. No test is performed on binary sections.
Validation is performed in three ways levels: during the lexical
scan, during the parse, and, if a dictionary was converted, against
the value types, value enumerations, categories and parent-child
relationships specified in the dictionary.
flags controls the interpretation of binary section headers, the
parsing of brackets constructs and the parsing of treble-quoted
strings.
MSG_DIGEST: Instructs CBFlib to check that the digest
of the binary section matches any header digest value. If the digests
do not match, the call will return CBF_FORMAT. This evaluation and
comparison is delayed (a "lazy " evaluation) to ensure maximal
processing efficiency. If an immediately evaluation is required, see
MSG_DIGESTNOW, below. MSG_DIGESTNOW: Instructs CBFlib to
check that the digest of the binary section matches any header
digeste value. If the digests do not match, the call will return
CBF_FORMAT. This evaluation and comparison is performed during
initial parsing of the section to ensure timely error reporting at
the expense of processing efficiency. If a more efficient delayed (
"lazy ") evaluation is required, see MSG_DIGEST, above.
MSG_DIGESTWARN: Instructs CBFlib to check that the digest
of the binary section matches any header digeste value. If the
digests do not match, a warning message will be sent to stderr, but
processing will attempt to continue. This evaluation and comparison
is first performed during initial parsing of the section to ensure
timely error reporting at the expense of processing efficiency. An
mismatch of the message digest usually indicates a serious error, but
it is sometimes worth continuing processing to try to isolate the
cause of the error. Use this option with caution. MSG_NODIGEST:
Do not check the digest (default). PARSE_BRACKETS:
Accept DDLm bracket-delimited [item,item,...item] or
{item,item,...item} or (item,item,...item) constructs as valid,
stripping non-quoted embedded whitespace and comments. These
constructs may span multiple lines. PARSE_LIBERAL_BRACKETS: Accept
DDLm bracket-delimited [item,item,...item] or {item,item,...item} or
(item,item,...item) constructs as valid, stripping embedded
non-quoted, non-separating whitespace and comments. These constructs
may span multiple lines. In this case, whitespace may be used as an
alternative to the comma. PARSE_TRIPLE_QUOTES: Accept DDLm
triple-quoted " " "item,item,...item " " " or
'''item,item,...item''' constructs as valid, stripping embedded
whitespace and comments. These constructs may span multiple lines. If
this flag is set, then ''' will not be interpreted as a quoted
apoptrophe and " " " will not be interpreted as a quoted double
quote mark and PARSE_NOBRACKETS: Do not accept DDLm
bracket-delimited [item,item,...item] or {item,item,...item} or
(item,item,...item) constructs as valid, stripping non-quoted
embedded whitespace and comments. These constructs may span multiple
lines. PARSE_NOTRIPLE_QUOTES: No not accept DDLm triple-quoted "
" "item,item,...item " " " or '''item,item,...item''' constructs
as valid, stripping embedded whitespace and comments. These
constructs may span multiple lines. If this flag is set, then '''
will be interpreted as a quoted apostrophe and " " " will be
interpreted as a quoted double quote mark.
CBFlib defers reading binary sections as long as possible. In the
current version of CBFlib, this means that:
1. The file must be a random-access file opened in binary mode (fopen
( ,
"""
return _pycbf.cbf_handle_struct_read_file(self, filename, headers)
def datablock_name(self):
"""
Returns :
*args : string
C prototype: int cbf_datablock_name (cbf_handle handle,
const char **datablockname);
CBFLib documentation:
DESCRIPTION
cbf_datablock_name sets *datablockname to point to the name of the
current data block.
The data block name will be valid as long as the data block exists
and has not been renamed.
The name must not be modified by the program in any way.
ARGUMENTS
handle CBF handle. datablockname Pointer to the
destination data block name pointer.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_datablock_name(self)
def set_realarray_wdims(self, compression, binary_id, data, elsize, elements, bo, dimfast, dimmid, dimslow, padding):
"""
Returns :
*args : int compression,int binary_id,(binary) String data,int elsize,
int elements,String byteorder,int dimfast,int dimmid,int dimslow,
int padding
C prototype: int cbf_set_realarray_wdims (cbf_handle handle,
unsigned int compression, int binary_id, void *array,
size_t elsize, size_t elements, const char *byteorder,
size_t dimfast, size_t dimmid, size_t dimslow,
size_t padding);
CBFLib documentation:
DESCRIPTION
cbf_set_integerarray sets the binary value of the item at the current
column and row to an integer array. The array consists of elements
elements of elsize bytes each, starting at array. The elements are
signed if elsigned is non-0 and unsigned otherwise. binary_id is the
binary section identifier. cbf_set_realarray sets the binary value of
the item at the current column and row to an integer array. The array
consists of elements elements of elsize bytes each, starting at
array. binary_id is the binary section identifier.
The cbf_set_integerarray_wdims, cbf_set_integerarray_wdims_fs,
cbf_set_integerarray_wdims_sf, cbf_set_realarray_wdims,
cbf_set_realarray_wdims_fs and cbf_set_realarray_wdims_sf variants
allow the data header values of byteorder, dimfast, dimmid, dimslow
and padding to be set to the data byte order, the fastest, second
fastest and third fastest array dimensions and the size in byte of
the post data padding to be used.
The array will be compressed using the compression scheme specifed by
compression. Currently, the available schemes are:
CBF_CANONICAL Canonical-code compression (section 3.3.1)
CBF_PACKED CCP4-style packing (section 3.3.2) CBF_PACKED_V2
CCP4-style packing, version 2 (section 3.3.2) CBF_BYTE_OFFSET
Simple "byte_offset " compression. CBF_NIBBLE_OFFSET Simple
"nibble_offset " compression. CBF_NONE No compression.
NOTE: This scheme is by far the slowest of the four and uses much
more disk space. It is intended for routine use with small arrays
only. With large arrays (like images) it should be used only for
debugging.
The values compressed are limited to 64 bits. If any element in the
array is larger than 64 bits, the value compressed is the nearest
64-bit value.
Currently, the source array must consist of chars, shorts or ints
(signed or unsigned), for cbf_set_integerarray, or IEEE doubles or
floats for cbf_set_realarray. If elsize is not equal to sizeof
(char), sizeof (short) or sizeof (int), the function returns
CBF_ARGUMENT.
ARGUMENTS
handle CBF handle. compression Compression method to use.
binary_id Integer binary identifier. array Pointer to the
source array. elsize Size in bytes of each source array
element. elsigned Set to non-0 if the source array elements are
signed. elements: The number of elements in the array.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_set_realarray_wdims(self, compression, binary_id, data, elsize, elements, bo, dimfast, dimmid, dimslow, padding)
def construct_reference_detector(self, element_number):
"""
Returns : pycbf detector object
*args : Integer element_number
C prototype: int cbf_construct_reference_detector (cbf_handle handle,
cbf_detector *detector, unsigned int element_number);
CBFLib documentation:
DESCRIPTION
cbf_construct_detector constructs a detector object for detector
element number element_number using the description in the CBF object
handle and initialises the detector handle *detector.
cbf_construct_reference_detector constructs a detector object for
detector element number element_number using the description in the
CBF object handle and initialises the detector handle *detector using
the reference settings of the axes. cbf_require_reference_detector is
similar, but try to force the creations of missing intermediate
categories needed to construct a detector object.
ARGUMENTS
handle CBF handle. detector Pointer to the
destination detector handle. element_number The number of the
detector element counting from 0 by order of appearance in the
"diffrn_data_frame " category.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_construct_reference_detector(self, element_number)
def get_real_3d_image_fs_as_string(self, element_number, elsize, ndimfast, ndimmid, ndimslow):
"""
Returns : (Binary)String
*args : int element_number,int elsize,int ndimfast,int ndimmid,int ndimslow
C prototype: int cbf_get_real_3d_image_fs (cbf_handle handle,
unsigned int reserved, unsigned int element_number,
void *array, size_t elsize, size_t ndimfast,
size_t ndimmid, size_t ndimslow);
CBFLib documentation:
DESCRIPTION
cbf_get_image, cbf_get_image_fs and cbf_get_image_sf read the image
array for element number element_number into an array. The array
consists of ndimslow *ndimfast elements of elsize bytes each,
starting at array. The elements are signed if elsign is non-0 and
unsigned otherwise. cbf_get_real_image, cbf_get_real_image_fs and
cbf_get_real_image_sf read the image array of IEEE doubles or floats
for element number element_number into an array. A real array is
always signed. cbf_get_3d_image, cbf_get_3d_image_fs and
cbf_get_3d_image_sf read the 3D image array for element number
element_number into an array. The array consists of ndimslow *ndimmid
*ndimfast elements of elsize bytes each, starting at array. The
elements are signed if elsign is non-0 and unsigned otherwise.
cbf_get_real_3d_image, cbf_get_real_3d_image_fs,
cbf_get_real_3d_image_sf reads the 3D image array of IEEE doubles or
floats for element number element_number into an array. A real array
is always signed.
The _fs calls give the dimensions in a fast-to-slow order. The calls
with no suffix and the calls _sf calls give the dimensions in
slow-to-fast order
The structure of the array as a 1-, 2- or 3-dimensional array should
agree with the structure of the array given in the
ARRAY_STRUCTURE_LIST category. If the array is 1-dimensional,
ndimslow should be the array size and ndimfast and, for the 3D calls,
ndimmid, should be set to 1 both in the call and in the imgCIF data
being processed. If the array is 2-dimensional and a 3D call is used,
ndimslow and ndimmid should be the
"""
return _pycbf.cbf_handle_struct_get_real_3d_image_fs_as_string(self, element_number, elsize, ndimfast, ndimmid, ndimslow)
def rewind_row(self):
"""
Returns :
*args :
C prototype: int cbf_rewind_row (cbf_handle handle);
CBFLib documentation:
DESCRIPTION
cbf_rewind_row makes the first row in the current category the
current row.
If there are no rows, the function returns CBF_NOTFOUND.
The current column is not affected.
ARGUMENTS
handle CBF handle.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_rewind_row(self)
def get_axis_setting(self, axis_id):
"""
Returns : Float start,Float increment
*args : String axis_id
C prototype: int cbf_get_axis_setting (cbf_handle handle,
unsigned int reserved, const char *axis_id, double *start,
double *increment);
CBFLib documentation:
DESCRIPTION
cbf_count_axis_ancestors sets ancestors to the number of ancestors of
axis axis_id. cbf_get_axis_ancestor sets *ancestor to the ancestor
axis of index ancestor_index of axis axis_id, starting with axis_id
for ancestor_index 0.
cbf_get_axis_depends_on sets *depends_on to the immediate ancestor of
axis_id or to ". " if there is no such ancestor.
cbf_get_axis_equipment sets *equipment to the equipment of axis_id or
to ". " if there is no such equipment.
cbf_get_axis_equipment_component sets *equipment_component to the
equipment_component of axis_id or to ". " if there is no such
equipment_component.
cbf_get_axis_offset sets *offset1, *offset2 and *offset3 to the
components of the ofset of axis_id.
cbf_get_axis_rotation sets rotation to the rotation of axis_id or to
0 if there is no such rotation. cbf_get_axis_rotation_axis sets
*rotation_axis to the rotation_axis of axis_id or to ". " if there
is no such rotation_axis.
cbf_get_axis_setting sets *start and *increment to the corresponding
values of the axis axis_id. Any of the destination pointers may be
NULL.
cbf_get_axis_type sets axis_type to the type of axis_id.
cbf_get_axis_vector sets *vector1, *vector2 and *vector3 to the
components of the vector of axis_id.
The parameter reserved is presently unused and should be set to 0.
ARGUMENTS
handle CBF handle. reserved Unused. Any
value other than 0 is invalid. axis_id Axis id.
ancestor_index Integer index of the desired ancestor, starting
with 0 for the current axis_id. ancestor Pointer to
destination ancestor name pointer. depends_on Pointer to
destination depends_on name pointer. equipment Pointer to
destination equipment name pointer. equipment_component Pointer to
destination equipment_component name pointer. offset1
Pointer to destination first offset component value. offset2
Pointer to destination second offset component value. offset3
Pointer to destination third offset component value.
rotation Pointer to destination rotation value.
rotation_axis Pointer to destination rotation_axisn name
pointer. start Pointer to the destination start
value. increment Pointer to the destination increment
value. type Pointer to destination axis type of type
. vector1 Pointer to destination first vector component
value. vector2 Pointer to destination second vector
component value. vector3 Pointer to destination third
vector component value.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_get_axis_setting(self, axis_id)
def require_column(self, arg):
"""
Returns : string
*args :
C prototype: int cbf_require_column (cbf_handle handle,
const char *columnname);
CBFLib documentation:
DESCRIPTION
cbf_require_column makes the columns in the current category with
name columnname the current column, if it exists, or creates it if it
does not.
The comparison is case-insensitive.
The current row is not affected.
ARGUMENTS
handle CBF handle. columnname The name of column to find.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_require_column(self, arg)
def get_timestamp(self):
"""
Returns : Float time,Integer timezone
*args :
C prototype: int cbf_get_timestamp (cbf_handle handle, unsigned int reserved,
double *time, int *timezone);
CBFLib documentation:
DESCRIPTION
cbf_get_timestamp sets *time to the collection timestamp in seconds
since January 1 1970. *timezone is set to timezone difference from
UTC in minutes. The parameter reserved is presently unused and should
be set to 0.
Either of the destination pointers may be NULL.
ARGUMENTS
handle CBF handle. reserved Unused. Any value other than 0 is
invalid. time Pointer to the destination collection timestamp.
timezone Pointer to the destination timezone difference.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_get_timestamp(self)
def find_nextrow(self, arg):
"""
Returns : string
*args :
C prototype: int cbf_find_nextrow (cbf_handle handle, const char *value);
CBFLib documentation:
DESCRIPTION
cbf_find_nextrow makes the makes the next row in the current column
with value value the current row. The search starts from the row
following the last row found with cbf_find_row or cbf_find_nextrow,
or from the current row if the current row was defined using any
other function.
The comparison is case-sensitive.
If no more matching rows exist, the function returns CBF_NOTFOUND.
The current column is not affected.
ARGUMENTS
handle CBF handle. value the value to search for.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_find_nextrow(self, arg)
def get_axis_equipment_component(self, axis_id):
"""
Returns : String
*args : String axis_id
C prototype: int cbf_get_axis_equipment_component (cbf_handle handle,
const char *axis_id, const char * *equipment_component);
CBFLib documentation:
DESCRIPTION
cbf_count_axis_ancestors sets ancestors to the number of ancestors of
axis axis_id. cbf_get_axis_ancestor sets *ancestor to the ancestor
axis of index ancestor_index of axis axis_id, starting with axis_id
for ancestor_index 0.
cbf_get_axis_depends_on sets *depends_on to the immediate ancestor of
axis_id or to ". " if there is no such ancestor.
cbf_get_axis_equipment sets *equipment to the equipment of axis_id or
to ". " if there is no such equipment.
cbf_get_axis_equipment_component sets *equipment_component to the
equipment_component of axis_id or to ". " if there is no such
equipment_component.
cbf_get_axis_offset sets *offset1, *offset2 and *offset3 to the
components of the ofset of axis_id.
cbf_get_axis_rotation sets rotation to the rotation of axis_id or to
0 if there is no such rotation. cbf_get_axis_rotation_axis sets
*rotation_axis to the rotation_axis of axis_id or to ". " if there
is no such rotation_axis.
cbf_get_axis_setting sets *start and *increment to the corresponding
values of the axis axis_id. Any of the destination pointers may be
NULL.
cbf_get_axis_type sets axis_type to the type of axis_id.
cbf_get_axis_vector sets *vector1, *vector2 and *vector3 to the
components of the vector of axis_id.
The parameter reserved is presently unused and should be set to 0.
ARGUMENTS
handle CBF handle. reserved Unused. Any
value other than 0 is invalid. axis_id Axis id.
ancestor_index Integer index of the desired ancestor, starting
with 0 for the current axis_id. ancestor Pointer to
destination ancestor name pointer. depends_on Pointer to
destination depends_on name pointer. equipment Pointer to
destination equipment name pointer. equipment_component Pointer to
destination equipment_component name pointer. offset1
Pointer to destination first offset component value. offset2
Pointer to destination second offset component value. offset3
Pointer to destination third offset component value.
rotation Pointer to destination rotation value.
rotation_axis Pointer to destination rotation_axisn name
pointer. start Pointer to the destination start
value. increment Pointer to the destination increment
value. type Pointer to destination axis type of type
. vector1 Pointer to destination first vector component
value. vector2 Pointer to destination second vector
component value. vector3 Pointer to destination third
vector component value.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_get_axis_equipment_component(self, axis_id)
def get_realarrayparameters_wdims_sf(self):
"""
Returns : int compression,int binary_id,int elsize,int elements,char **bo,
int *bolen,int dimslow,int dimmid,int dimfast,int padding
*args :
C prototype: int cbf_get_realarrayparameters_wdims_sf (cbf_handle handle,
unsigned int *compression, int *binary_id, size_t *elsize,
size_t *elements, const char **byteorder, size_t *dimslow,
size_t *dimmid, size_t *dimfast, size_t *padding);
CBFLib documentation:
DESCRIPTION
cbf_get_integerarrayparameters sets *compression, *binary_id,
*elsize, *elsigned, *elunsigned, *elements, *minelement and
*maxelement to values read from the binary value of the item at the
current column and row. This provides all the arguments needed for a
subsequent call to cbf_set_integerarray, if a copy of the array is to
be made into another CIF or CBF. cbf_get_realarrayparameters sets
*compression, *binary_id, *elsize, *elements to values read from the
binary value of the item at the current column and row. This provides
all the arguments needed for a subsequent call to cbf_set_realarray,
if a copy of the arry is to be made into another CIF or CBF.
The variants cbf_get_integerarrayparameters_wdims,
cbf_get_integerarrayparameters_wdims_fs,
cbf_get_integerarrayparameters_wdims_sf,
cbf_get_realarrayparameters_wdims,
cbf_get_realarrayparameters_wdims_fs,
cbf_get_realarrayparameters_wdims_sf set **byteorder, *dimfast,
*dimmid, *dimslow, and *padding as well, providing the additional
parameters needed for a subsequent call to cbf_set_integerarray_wdims
or cbf_set_realarray_wdims.
The value returned in *byteorder is a pointer either to the string
"little_endian " or to the string "big_endian ". This should be
the byte order of the data, not necessarily of the host machine. No
attempt should be made to modify this string. At this time only
"little_endian " will be returned.
The values returned in *dimfast, *dimmid and *dimslow are the sizes
of the fastest changing, second fastest changing and third fastest
changing dimensions of the array, if specified, or zero, if not
specified.
The value returned in *padding is the size of the post-data padding,
if any and if specified in the data header. The value is given as a
count of octets.
If the value is not binary, the function returns CBF_ASCII.
ARGUMENTS
handle CBF handle. compression Compression method used.
elsize Size in bytes of each array element. binary_id
Pointer to the destination integer binary identifier. elsigned
Pointer to an integer. Set to 1 if the elements can be read as signed
integers. elunsigned Pointer to an integer. Set to 1 if the
elements can be read as unsigned integers. elements Pointer to
the destination number of elements. minelement Pointer to the
destination smallest element. maxelement Pointer to the
destination largest element. byteorder Pointer to the destination
byte order. dimfast Pointer to the destination fastest
dimension. dimmid Pointer to the destination second fastest
dimension. dimslow Pointer to the destination third fastest
dimension. padding Pointer to the destination padding size.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_get_realarrayparameters_wdims_sf(self)
def reset_datablock(self):
"""
Returns :
*args :
C prototype: int cbf_reset_datablock (cbf_handle handle);
CBFLib documentation:
DESCRIPTION
cbf_reset_datablock deletes all categories from the current data
block. cbf_reset_saveframe deletes all categories from the current
save frame.
ARGUMENTS
handle CBF handle.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_reset_datablock(self)
def set_3d_image_fs(self, element_number, compression, data, elsize, elsign, ndimfast, ndimmid, ndimslow):
"""
Returns :
*args : int element_number,int compression,(binary) String data,int elsize,
int elsign,int dimfast,int dimmid,int dimslow
C prototype: int cbf_set_3d_image_fs(cbf_handle handle, unsigned int reserved,
unsigned int element_number, unsigned int compression,
void *array, size_t elsize, int elsign, size_t ndimfast,
size_t ndimmid, size_t ndimslow);
CBFLib documentation:
DESCRIPTION
cbf_set_image, cbf_set_image_fs and cbf_set_image_sf write the image
array for element number element_number. The array consists of
ndimfast *ndimslow elements of elsize bytes each, starting at array.
The elements are signed if elsign is non-zero and unsigned otherwise.
cbf_set_real_image, cbf_set_real_image_fs and cbf_set_real_image_sf
write the image array for element number element_number. The array
consists of ndimfast *ndimslow IEEE double or float elements of
elsize bytes each, starting at array. cbf_set_3d_image,
cbf_set_3d_image_fs and cbf_set_3d_image_sf write the 3D image array
for element number element_number. The array consists of ndimfast
*ndimmid *ndimslow elements of elsize bytes each, starting at array.
The elements are signed if elsign is non-0 and unsigned otherwise.
cbf_set_real_3d_image, cbf_set_real_3d_image_fs and
cbf_set_real_3d_image_sf writes the 3D image array for element number
element_number. The array consists of ndimfast *ndimmid *ndimslow
IEEE double or float elements of elsize bytes each, starting at
array.
The _fs calls give the dimensions in a fast-to-slow order. The calls
with no suffix and the calls _sf calls give the dimensions in
slow-to-fast order
If the array is 1-dimensional, ndimslow should be the array size and
ndimfast and, for the 3D calls, ndimmid, should be set to 1. If the
array is 2-dimensional and the 3D calls are used, ndimslow and
ndimmid should be used for the array dimensions and ndimfast should
be set to 1.
The array will be compressed using the compression scheme specifed by
compression. Currently, the available schemes are:
CBF_CANONICAL Canonical-code compression (section 3.3.1)
CBF_PACKED CCP4-style packing (section 3.3.2) CBF_PACKED_V2
CCP4-style packing, version 2 (section 3.3.2) CBF_BYTE_OFFSET
Simple "byte_offset " compression. CBF_NIBBLE_OFFSET Simple
"nibble_offset " compression. CBF_NONE No compression.
The values compressed are limited to 64 bits. If any element in the
array is larger than 64 bits, the value compressed is the nearest
64-bit value.
Currently, the source array must consist of chars, shorts or ints
(signed or unsigned)for cbf_set_image, or IEEE doubles or floats for
cbf_set_real_image. If elsize is not equal to sizeof (short), sizeof
(int), sizeof(double) or sizeof(float), the function returns
CBF_ARGUMENT.
The parameter reserved is presently unused and should be set to 0.
ARGUMENTS
handle CBF handle. reserved Unused. Any value other
than 0 is invalid. element_number The number of the detector
element counting from 0 by order of appearance in the
"diffrn_data_frame " category. compression Compression type.
array Pointer to the image array. elsize Size in
bytes of each image array element. elsigned Set to non-0 if
the image array elements are signed. ndimslow Slowest array
dimension. ndimmid Second slowest array dimension. ndimfast
Fastest array dimension.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_set_3d_image_fs(self, element_number, compression, data, elsize, elsign, ndimfast, ndimmid, ndimslow)
def set_saveframename(self, arg):
"""
Returns : string
*args :
C prototype: int cbf_set_saveframename (cbf_handle handle,
const char *saveframename);
CBFLib documentation:
DESCRIPTION
cbf_set_datablockname changes the name of the current data block to
datablockname. cbf_set_saveframename changes the name of the current
save frame to saveframename.
If a data block or save frame with this name already exists
(comparison is case-insensitive), the function returns CBF_IDENTICAL.
ARGUMENTS
handle CBF handle. datablockname The new data block name.
datablockname The new save frame name.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_set_saveframename(self, arg)
def require_integervalue(self, thedefault):
"""
Returns : Int number
*args : Int thedefault
C prototype: int cbf_require_integervalue (cbf_handle handle, int *number,
int defaultvalue);
CBFLib documentation:
DESCRIPTION
cbf_get_integervalue sets *number to the value of the ASCII item at
the current column and row interpreted as a decimal integer.
cbf_require_integervalue sets *number to the value of the ASCII item
at the current column and row interpreted as a decimal integer,
setting it to defaultvalue if necessary.
If the value is not ASCII, the function returns CBF_BINARY.
ARGUMENTS
handle CBF handle. number pointer to the number.
defaultvalue default number value.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_require_integervalue(self, thedefault)
def get_integerarrayparameters(self):
"""
Returns : int compression,int binary_id,int elsize,int elsigned,int elunsigned,
int elements,int minelement,int maxelement
*args :
C prototype: int cbf_get_integerarrayparameters (cbf_handle handle,
unsigned int *compression, int *binary_id, size_t *elsize,
int *elsigned, int *elunsigned, size_t *elements,
int *minelement, int *maxelement);
CBFLib documentation:
DESCRIPTION
cbf_get_integerarrayparameters sets *compression, *binary_id,
*elsize, *elsigned, *elunsigned, *elements, *minelement and
*maxelement to values read from the binary value of the item at the
current column and row. This provides all the arguments needed for a
subsequent call to cbf_set_integerarray, if a copy of the array is to
be made into another CIF or CBF. cbf_get_realarrayparameters sets
*compression, *binary_id, *elsize, *elements to values read from the
binary value of the item at the current column and row. This provides
all the arguments needed for a subsequent call to cbf_set_realarray,
if a copy of the arry is to be made into another CIF or CBF.
The variants cbf_get_integerarrayparameters_wdims,
cbf_get_integerarrayparameters_wdims_fs,
cbf_get_integerarrayparameters_wdims_sf,
cbf_get_realarrayparameters_wdims,
cbf_get_realarrayparameters_wdims_fs,
cbf_get_realarrayparameters_wdims_sf set **byteorder, *dimfast,
*dimmid, *dimslow, and *padding as well, providing the additional
parameters needed for a subsequent call to cbf_set_integerarray_wdims
or cbf_set_realarray_wdims.
The value returned in *byteorder is a pointer either to the string
"little_endian " or to the string "big_endian ". This should be
the byte order of the data, not necessarily of the host machine. No
attempt should be made to modify this string. At this time only
"little_endian " will be returned.
The values returned in *dimfast, *dimmid and *dimslow are the sizes
of the fastest changing, second fastest changing and third fastest
changing dimensions of the array, if specified, or zero, if not
specified.
The value returned in *padding is the size of the post-data padding,
if any and if specified in the data header. The value is given as a
count of octets.
If the value is not binary, the function returns CBF_ASCII.
ARGUMENTS
handle CBF handle. compression Compression method used.
elsize Size in bytes of each array element. binary_id
Pointer to the destination integer binary identifier. elsigned
Pointer to an integer. Set to 1 if the elements can be read as signed
integers. elunsigned Pointer to an integer. Set to 1 if the
elements can be read as unsigned integers. elements Pointer to
the destination number of elements. minelement Pointer to the
destination smallest element. maxelement Pointer to the
destination largest element. byteorder Pointer to the destination
byte order. dimfast Pointer to the destination fastest
dimension. dimmid Pointer to the destination second fastest
dimension. dimslow Pointer to the destination third fastest
dimension. padding Pointer to the destination padding size.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_get_integerarrayparameters(self)
def set_real_3d_image_sf(self, element_number, compression, data, elsize, ndimslow, ndimmid, ndimfast):
"""
Returns :
*args : int element_number,int compression,(binary) String data,int elsize,
int dimslow,int dimmid,int dimfast
C prototype: int cbf_set_real_3d_image_sf(cbf_handle handle,
unsigned int reserved, unsigned int element_number,
unsigned int compression, void *array,size_t elsize,
size_t ndimslow, size_t ndimmid, size_t ndimfast);
CBFLib documentation:
DESCRIPTION
cbf_set_image, cbf_set_image_fs and cbf_set_image_sf write the image
array for element number element_number. The array consists of
ndimfast *ndimslow elements of elsize bytes each, starting at array.
The elements are signed if elsign is non-zero and unsigned otherwise.
cbf_set_real_image, cbf_set_real_image_fs and cbf_set_real_image_sf
write the image array for element number element_number. The array
consists of ndimfast *ndimslow IEEE double or float elements of
elsize bytes each, starting at array. cbf_set_3d_image,
cbf_set_3d_image_fs and cbf_set_3d_image_sf write the 3D image array
for element number element_number. The array consists of ndimfast
*ndimmid *ndimslow elements of elsize bytes each, starting at array.
The elements are signed if elsign is non-0 and unsigned otherwise.
cbf_set_real_3d_image, cbf_set_real_3d_image_fs and
cbf_set_real_3d_image_sf writes the 3D image array for element number
element_number. The array consists of ndimfast *ndimmid *ndimslow
IEEE double or float elements of elsize bytes each, starting at
array.
The _fs calls give the dimensions in a fast-to-slow order. The calls
with no suffix and the calls _sf calls give the dimensions in
slow-to-fast order
If the array is 1-dimensional, ndimslow should be the array size and
ndimfast and, for the 3D calls, ndimmid, should be set to 1. If the
array is 2-dimensional and the 3D calls are used, ndimslow and
ndimmid should be used for the array dimensions and ndimfast should
be set to 1.
The array will be compressed using the compression scheme specifed by
compression. Currently, the available schemes are:
CBF_CANONICAL Canonical-code compression (section 3.3.1)
CBF_PACKED CCP4-style packing (section 3.3.2) CBF_PACKED_V2
CCP4-style packing, version 2 (section 3.3.2) CBF_BYTE_OFFSET
Simple "byte_offset " compression. CBF_NIBBLE_OFFSET Simple
"nibble_offset " compression. CBF_NONE No compression.
The values compressed are limited to 64 bits. If any element in the
array is larger than 64 bits, the value compressed is the nearest
64-bit value.
Currently, the source array must consist of chars, shorts or ints
(signed or unsigned)for cbf_set_image, or IEEE doubles or floats for
cbf_set_real_image. If elsize is not equal to sizeof (short), sizeof
(int), sizeof(double) or sizeof(float), the function returns
CBF_ARGUMENT.
The parameter reserved is presently unused and should be set to 0.
ARGUMENTS
handle CBF handle. reserved Unused. Any value other
than 0 is invalid. element_number The number of the detector
element counting from 0 by order of appearance in the
"diffrn_data_frame " category. compression Compression type.
array Pointer to the image array. elsize Size in
bytes of each image array element. elsigned Set to non-0 if
the image array elements are signed. ndimslow Slowest array
dimension. ndimmid Second slowest array dimension. ndimfast
Fastest array dimension.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_set_real_3d_image_sf(self, element_number, compression, data, elsize, ndimslow, ndimmid, ndimfast)
def write_file(self, filename, ciforcbf, headers, encoding):
"""
Returns :
*args : String filename,Integer ciforcbf,Integer Headers,Integer encoding
C prototype: int cbf_write_file (cbf_handle handle, FILE *file, int readable,
int ciforcbf, int flags, int encoding);
CBFLib documentation:
DESCRIPTION
cbf_write_file writes the CBF object specified by handle into the
file file, following CIF 1.0 conventions of 80 character lines.
cbf_write_widefile writes the CBF object specified by handle into the
file file, following CIF 1.1 conventions of 2048 character lines. A
warning is issued to stderr for ascii lines over the limit, and an
attempt is made to fold lines to fit. No test is performed on binary
sections.
If a dictionary has been provided, aliases will be applied on output.
Unlike cbf_read_file, the file does not have to be random-access.
If the file is random-access and readable, readable can be set to
non-0 to indicate to CBFlib that the file can be used as a buffer to
conserve disk space. If the file is not random-access or not
readable, readable must be 0.
"""
return _pycbf.cbf_handle_struct_write_file(self, filename, ciforcbf, headers, encoding)
def set_divergence(self, div_x_source, div_y_source, div_x_y_source):
"""
Returns :
*args : Float div_x_source,Float div_y_source,Float div_x_y_source
C prototype: int cbf_set_divergence (cbf_handle handle, double div_x_source,
double div_y_source, double div_x_y_source);
CBFLib documentation:
DESCRIPTION
cbf_set_divergence sets the source divergence parameters to the
values specified by div_x_source, div_y_source and div_x_y_source.
ARGUMENTS
handle CBF handle. div_x_source New value of
div_x_source. div_y_source New value of div_y_source.
div_x_y_source New value of div_x_y_source.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_set_divergence(self, div_x_source, div_y_source, div_x_y_source)
def remove_datablock(self):
"""
Returns :
*args :
C prototype: int cbf_remove_datablock (cbf_handle handle);
CBFLib documentation:
DESCRIPTION
cbf_remove_datablock deletes the current data block.
cbf_remove_saveframe deletes the current save frame.
The current data block becomes undefined.
ARGUMENTS
handle CBF handle.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_remove_datablock(self)
def count_elements(self):
"""
Returns : Integer
*args :
C prototype: int cbf_count_elements (cbf_handle handle,
unsigned int *elements);
CBFLib documentation:
DESCRIPTION
cbf_count_elements sets *elements to the number of detector elements.
ARGUMENTS
handle CBF handle. elements Pointer to the destination count.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_count_elements(self)
def set_image_fs(self, element_number, compression, data, elsize, elsign, ndimfast, ndimslow):
"""
Returns :
*args : int element_number,int compression,(binary) String data,int elsize,
int elsign,int dimfast,int dimslow
C prototype: int cbf_set_image_fs(cbf_handle handle, unsigned int reserved,
unsigned int element_number, unsigned int compression,
void *array, size_t elsize, int elsign, size_t ndimfast,
size_t ndimslow);
CBFLib documentation:
DESCRIPTION
cbf_set_image, cbf_set_image_fs and cbf_set_image_sf write the image
array for element number element_number. The array consists of
ndimfast *ndimslow elements of elsize bytes each, starting at array.
The elements are signed if elsign is non-zero and unsigned otherwise.
cbf_set_real_image, cbf_set_real_image_fs and cbf_set_real_image_sf
write the image array for element number element_number. The array
consists of ndimfast *ndimslow IEEE double or float elements of
elsize bytes each, starting at array. cbf_set_3d_image,
cbf_set_3d_image_fs and cbf_set_3d_image_sf write the 3D image array
for element number element_number. The array consists of ndimfast
*ndimmid *ndimslow elements of elsize bytes each, starting at array.
The elements are signed if elsign is non-0 and unsigned otherwise.
cbf_set_real_3d_image, cbf_set_real_3d_image_fs and
cbf_set_real_3d_image_sf writes the 3D image array for element number
element_number. The array consists of ndimfast *ndimmid *ndimslow
IEEE double or float elements of elsize bytes each, starting at
array.
The _fs calls give the dimensions in a fast-to-slow order. The calls
with no suffix and the calls _sf calls give the dimensions in
slow-to-fast order
If the array is 1-dimensional, ndimslow should be the array size and
ndimfast and, for the 3D calls, ndimmid, should be set to 1. If the
array is 2-dimensional and the 3D calls are used, ndimslow and
ndimmid should be used for the array dimensions and ndimfast should
be set to 1.
The array will be compressed using the compression scheme specifed by
compression. Currently, the available schemes are:
CBF_CANONICAL Canonical-code compression (section 3.3.1)
CBF_PACKED CCP4-style packing (section 3.3.2) CBF_PACKED_V2
CCP4-style packing, version 2 (section 3.3.2) CBF_BYTE_OFFSET
Simple "byte_offset " compression. CBF_NIBBLE_OFFSET Simple
"nibble_offset " compression. CBF_NONE No compression.
The values compressed are limited to 64 bits. If any element in the
array is larger than 64 bits, the value compressed is the nearest
64-bit value.
Currently, the source array must consist of chars, shorts or ints
(signed or unsigned)for cbf_set_image, or IEEE doubles or floats for
cbf_set_real_image. If elsize is not equal to sizeof (short), sizeof
(int), sizeof(double) or sizeof(float), the function returns
CBF_ARGUMENT.
The parameter reserved is presently unused and should be set to 0.
ARGUMENTS
handle CBF handle. reserved Unused. Any value other
than 0 is invalid. element_number The number of the detector
element counting from 0 by order of appearance in the
"diffrn_data_frame " category. compression Compression type.
array Pointer to the image array. elsize Size in
bytes of each image array element. elsigned Set to non-0 if
the image array elements are signed. ndimslow Slowest array
dimension. ndimmid Second slowest array dimension. ndimfast
Fastest array dimension.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_set_image_fs(self, element_number, compression, data, elsize, elsign, ndimfast, ndimslow)
def require_reference_detector(self, element_number):
"""
Returns : pycbf detector object
*args : Integer element_number
C prototype: int cbf_require_reference_detector (cbf_handle handle,
cbf_detector *detector, unsigned int element_number);
CBFLib documentation:
DESCRIPTION
cbf_construct_detector constructs a detector object for detector
element number element_number using the description in the CBF object
handle and initialises the detector handle *detector.
cbf_construct_reference_detector constructs a detector object for
detector element number element_number using the description in the
CBF object handle and initialises the detector handle *detector using
the reference settings of the axes. cbf_require_reference_detector is
similar, but try to force the creations of missing intermediate
categories needed to construct a detector object.
ARGUMENTS
handle CBF handle. detector Pointer to the
destination detector handle. element_number The number of the
detector element counting from 0 by order of appearance in the
"diffrn_data_frame " category.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_require_reference_detector(self, element_number)
def next_category(self):
"""
Returns :
*args :
C prototype: int cbf_next_category (cbf_handle handle);
CBFLib documentation:
DESCRIPTION
cbf_next_category makes the category following the current category
in the current data block the current category.
If there are no more categories, the function returns CBF_NOTFOUND.
The current column and row become undefined.
ARGUMENTS
handle CBF handle.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_next_category(self)
def set_diffrn_id(self, arg):
"""
Returns : string
*args :
C prototype: int cbf_set_diffrn_id (cbf_handle handle, const char *diffrn_id);
CBFLib documentation:
DESCRIPTION
cbf_set_diffrn_id sets the "diffrn.id " entry of the current
datablock to the ASCII value diffrn_id.
This function also changes corresponding "diffrn_id " entries in
the "diffrn_source ", "diffrn_radiation ", "diffrn_detector
" and "diffrn_measurement " categories.
ARGUMENTS
handle CBF handle. diffrn_id ASCII value.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_set_diffrn_id(self, arg)
def set_timestamp(self, time, timezone, precision):
"""
Returns :
*args : Float time,Integer timezone,Float precision
C prototype: int cbf_set_timestamp (cbf_handle handle, unsigned int reserved,
double time, int timezone, double precision);
CBFLib documentation:
DESCRIPTION
cbf_set_timestamp sets the collection timestamp in seconds since
January 1 1970 to the value specified by time. The timezone
difference from UTC
"""
return _pycbf.cbf_handle_struct_set_timestamp(self, time, timezone, precision)
def get_orientation_matrix(self):
"""
Returns : Float matrix_0,Float matrix_1,Float matrix_2,Float matrix_3,
Float matrix_4,Float matrix_5,Float matrix_6,Float matrix_7,
Float matrix_8
*args :
C prototype: int cbf_get_orientation_matrix (cbf_handle handle,
double ub_matrix[9]);
CBFLib documentation:
DESCRIPTION
cbf_get_orientation_matrix sets ub_matrix to point to the array of
orientation matrix entries in the "diffrn " category in the order
of columns:
"UB[1][1] " "UB[1][2] " "UB[1][3] " "UB[2][1] "
"UB[2][2] " "UB[2][3] " "UB[3][1] " "UB[3][2] "
"UB[3][3] "
cbf_set_orientation_matrix sets the values in the "diffrn "
category to the values pointed to by ub_matrix.
ARGUMENTS
handle CBF handle. ubmatric Source or destination array of 9
doubles giving the orientation matrix parameters.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_get_orientation_matrix(self)
def get_image_size_fs(self, element_number):
"""
Returns : size_t ndimfast,size_t ndimslow
*args : Integer element_number
C prototype: int cbf_get_image_size_fs (cbf_handle handle,
unsigned int reserved, unsigned int element_number,
size_t *ndimfast, size_t *ndimslow);
CBFLib documentation:
DESCRIPTION
cbf_get_image_size, cbf_get_image_size_fs and cbf_get_image_size_sf
set *ndimslow and *ndimfast to the slow and fast dimensions of the
image array for element number element_number. If the array is
1-dimensional, *ndimslow will be set to the array size and *ndimfast
will be set to 1. If the array is 3-dimensional an error code will be
returned. cbf_get_3d_image_size, cbf_get_3d_image_size_fs and
cbf_get_3d_image_size_sf set *ndimslow, *ndimmid and *ndimfast to the
slowest, next fastest and fastest dimensions, respectively, of the 3D
image array for element number element_number. If the array is
1-dimensional, *ndimslow will be set to the array size and *ndimmid
and
"""
return _pycbf.cbf_handle_struct_get_image_size_fs(self, element_number)
def get_divergence(self):
"""
Returns : Float div_x_source,Float div_y_source,Float div_x_y_source
*args :
C prototype: int cbf_get_divergence (cbf_handle handle, double *div_x_source,
double *div_y_source, double *div_x_y_source);
CBFLib documentation:
DESCRIPTION
cbf_get_divergence sets *div_x_source, *div_y_source and
*div_x_y_source to the corresponding source divergence parameters.
Any of the destination pointers may be NULL.
ARGUMENTS
handle CBF handle. div_x_source Pointer to the
destination div_x_source. div_y_source Pointer to the destination
div_y_source. div_x_y_source Pointer to the destination
div_x_y_source.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_get_divergence(self)
def rewind_category(self):
"""
Returns :
*args :
C prototype: int cbf_rewind_category (cbf_handle handle);
CBFLib documentation:
DESCRIPTION
cbf_rewind_category makes the first category in the current data
block the current category. cbf_rewind_saveframe makes the first
saveframe in the current data block the current saveframe.
cbf_rewind_blockitem makes the first blockitem (category or
saveframe) in the current data block the current blockitem. The type
of the blockitem (CBF_CATEGORY or CBF_SAVEFRAME) is returned in type.
If there are no categories, saveframes or blockitems the function
returns CBF_NOTFOUND.
The current column and row become undefined.
ARGUMENTS
handle CBF handle. type CBF handle.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_rewind_category(self)
def read_template(self, filename):
"""
Returns :
*args : String filename
C prototype: int cbf_read_template (cbf_handle handle, FILE *file);
CBFLib documentation:
DESCRIPTION
cbf_read_template reads the CBF or CIF file file into the CBF object
specified by handle and selects the first datablock as the current
datablock.
ARGUMENTS
handle Pointer to a CBF handle. file Pointer to a file
descriptor.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_read_template(self, filename)
def select_row(self, arg):
"""
Returns :
*args : Integer
C prototype: int cbf_select_row (cbf_handle handle, unsigned int row);
CBFLib documentation:
DESCRIPTION
cbf_select_row selects row number row in the current category as the
current row.
The first row is number 0.
The current column is not affected
If the row does not exist, the function returns CBF_NOTFOUND.
ARGUMENTS
handle CBF handle. row Number of the row to select.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_select_row(self, arg)
def get_image_fs_as_string(self, element_number, elsize, elsign, ndimfast, ndimslow):
"""
Returns : (Binary)String
*args : int element_number,int elsize,int elsign,int ndimfast,int ndimslow
C prototype: int cbf_get_image_fs (cbf_handle handle, unsigned int reserved,
unsigned int element_number, void *array, size_t elsize,
int elsign, size_t ndimfast, size_t ndimslow);
CBFLib documentation:
DESCRIPTION
cbf_get_image, cbf_get_image_fs and cbf_get_image_sf read the image
array for element number element_number into an array. The array
consists of ndimslow *ndimfast elements of elsize bytes each,
starting at array. The elements are signed if elsign is non-0 and
unsigned otherwise. cbf_get_real_image, cbf_get_real_image_fs and
cbf_get_real_image_sf read the image array of IEEE doubles or floats
for element number element_number into an array. A real array is
always signed. cbf_get_3d_image, cbf_get_3d_image_fs and
cbf_get_3d_image_sf read the 3D image array for element number
element_number into an array. The array consists of ndimslow *ndimmid
*ndimfast elements of elsize bytes each, starting at array. The
elements are signed if elsign is non-0 and unsigned otherwise.
cbf_get_real_3d_image, cbf_get_real_3d_image_fs,
cbf_get_real_3d_image_sf reads the 3D image array of IEEE doubles or
floats for element number element_number into an array. A real array
is always signed.
The _fs calls give the dimensions in a fast-to-slow order. The calls
with no suffix and the calls _sf calls give the dimensions in
slow-to-fast order
The structure of the array as a 1-, 2- or 3-dimensional array should
agree with the structure of the array given in the
ARRAY_STRUCTURE_LIST category. If the array is 1-dimensional,
ndimslow should be the array size and ndimfast and, for the 3D calls,
ndimmid, should be set to 1 both in the call and in the imgCIF data
being processed. If the array is 2-dimensional and a 3D call is used,
ndimslow and ndimmid should be the
"""
return _pycbf.cbf_handle_struct_get_image_fs_as_string(self, element_number, elsize, elsign, ndimfast, ndimslow)
def get_image_size_sf(self, element_number):
"""
Returns : size_t ndimslow,size_t ndimfast
*args : Integer element_number
C prototype: int cbf_get_image_size_sf (cbf_handle handle,
unsigned int reserved, unsigned int element_number,
size_t *ndimslow, size_t *ndimfast);
CBFLib documentation:
DESCRIPTION
cbf_get_image_size, cbf_get_image_size_fs and cbf_get_image_size_sf
set *ndimslow and *ndimfast to the slow and fast dimensions of the
image array for element number element_number. If the array is
1-dimensional, *ndimslow will be set to the array size and *ndimfast
will be set to 1. If the array is 3-dimensional an error code will be
returned. cbf_get_3d_image_size, cbf_get_3d_image_size_fs and
cbf_get_3d_image_size_sf set *ndimslow, *ndimmid and *ndimfast to the
slowest, next fastest and fastest dimensions, respectively, of the 3D
image array for element number element_number. If the array is
1-dimensional, *ndimslow will be set to the array size and *ndimmid
and
"""
return _pycbf.cbf_handle_struct_get_image_size_sf(self, element_number)
def get_real_image_fs_as_string(self, element_number, elsize, ndimfast, ndimslow):
"""
Returns : (Binary)String
*args : int element_number,int elsize,int ndimfast,int ndimslow
C prototype: int cbf_get_real_image_fs (cbf_handle handle,
unsigned int reserved, unsigned int element_number,
void *array, size_t elsize, size_t ndimfast,
size_t ndimslow);
CBFLib documentation:
DESCRIPTION
cbf_get_image, cbf_get_image_fs and cbf_get_image_sf read the image
array for element number element_number into an array. The array
consists of ndimslow *ndimfast elements of elsize bytes each,
starting at array. The elements are signed if elsign is non-0 and
unsigned otherwise. cbf_get_real_image, cbf_get_real_image_fs and
cbf_get_real_image_sf read the image array of IEEE doubles or floats
for element number element_number into an array. A real array is
always signed. cbf_get_3d_image, cbf_get_3d_image_fs and
cbf_get_3d_image_sf read the 3D image array for element number
element_number into an array. The array consists of ndimslow *ndimmid
*ndimfast elements of elsize bytes each, starting at array. The
elements are signed if elsign is non-0 and unsigned otherwise.
cbf_get_real_3d_image, cbf_get_real_3d_image_fs,
cbf_get_real_3d_image_sf reads the 3D image array of IEEE doubles or
floats for element number element_number into an array. A real array
is always signed.
The _fs calls give the dimensions in a fast-to-slow order. The calls
with no suffix and the calls _sf calls give the dimensions in
slow-to-fast order
The structure of the array as a 1-, 2- or 3-dimensional array should
agree with the structure of the array given in the
ARRAY_STRUCTURE_LIST category. If the array is 1-dimensional,
ndimslow should be the array size and ndimfast and, for the 3D calls,
ndimmid, should be set to 1 both in the call and in the imgCIF data
being processed. If the array is 2-dimensional and a 3D call is used,
ndimslow and ndimmid should be the
"""
return _pycbf.cbf_handle_struct_get_real_image_fs_as_string(self, element_number, elsize, ndimfast, ndimslow)
def count_columns(self):
"""
Returns : Integer
*args :
C prototype: int cbf_count_columns (cbf_handle handle, unsigned int *columns);
CBFLib documentation:
DESCRIPTION
cbf_count_columns puts the number of columns in the current category
in *columns.
ARGUMENTS
handle CBF handle. columns Pointer to the destination column
count.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_count_columns(self)
def get_integerarrayparameters_wdims(self):
"""
Returns : int compression,int binary_id,int elsize,int elsigned,int elunsigned,
int elements,int minelement,int maxelement,char **bo,int *bolen,
int dimfast,int dimmid,int dimslow,int padding
*args :
C prototype: int cbf_get_integerarrayparameters_wdims (cbf_handle handle,
unsigned int *compression, int *binary_id, size_t *elsize,
int *elsigned, int *elunsigned, size_t *elements,
int *minelement, int *maxelement, const char **byteorder,
size_t *dimfast, size_t *dimmid, size_t *dimslow,
size_t *padding);
CBFLib documentation:
DESCRIPTION
cbf_get_integerarrayparameters sets *compression, *binary_id,
*elsize, *elsigned, *elunsigned, *elements, *minelement and
*maxelement to values read from the binary value of the item at the
current column and row. This provides all the arguments needed for a
subsequent call to cbf_set_integerarray, if a copy of the array is to
be made into another CIF or CBF. cbf_get_realarrayparameters sets
*compression, *binary_id, *elsize, *elements to values read from the
binary value of the item at the current column and row. This provides
all the arguments needed for a subsequent call to cbf_set_realarray,
if a copy of the arry is to be made into another CIF or CBF.
The variants cbf_get_integerarrayparameters_wdims,
cbf_get_integerarrayparameters_wdims_fs,
cbf_get_integerarrayparameters_wdims_sf,
cbf_get_realarrayparameters_wdims,
cbf_get_realarrayparameters_wdims_fs,
cbf_get_realarrayparameters_wdims_sf set **byteorder, *dimfast,
*dimmid, *dimslow, and *padding as well, providing the additional
parameters needed for a subsequent call to cbf_set_integerarray_wdims
or cbf_set_realarray_wdims.
The value returned in *byteorder is a pointer either to the string
"little_endian " or to the string "big_endian ". This should be
the byte order of the data, not necessarily of the host machine. No
attempt should be made to modify this string. At this time only
"little_endian " will be returned.
The values returned in *dimfast, *dimmid and *dimslow are the sizes
of the fastest changing, second fastest changing and third fastest
changing dimensions of the array, if specified, or zero, if not
specified.
The value returned in *padding is the size of the post-data padding,
if any and if specified in the data header. The value is given as a
count of octets.
If the value is not binary, the function returns CBF_ASCII.
ARGUMENTS
handle CBF handle. compression Compression method used.
elsize Size in bytes of each array element. binary_id
Pointer to the destination integer binary identifier. elsigned
Pointer to an integer. Set to 1 if the elements can be read as signed
integers. elunsigned Pointer to an integer. Set to 1 if the
elements can be read as unsigned integers. elements Pointer to
the destination number of elements. minelement Pointer to the
destination smallest element. maxelement Pointer to the
destination largest element. byteorder Pointer to the destination
byte order. dimfast Pointer to the destination fastest
dimension. dimmid Pointer to the destination second fastest
dimension. dimslow Pointer to the destination third fastest
dimension. padding Pointer to the destination padding size.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_get_integerarrayparameters_wdims(self)
def get_gain(self, element_number):
"""
Returns : Float gain,Float gain_esd
*args :
C prototype: int cbf_get_gain (cbf_handle handle, unsigned int element_number,
double *gain, double *gain_esd);
CBFLib documentation:
DESCRIPTION
cbf_get_gain sets *gain and *gain_esd to the corresponding gain
parameters for element number element_number.
Either of the destination pointers may be NULL.
ARGUMENTS
handle CBF handle. element_number The number of the
detector element counting from 0 by order of appearance in the
"diffrn_data_frame " category. gain Pointer to the
destination gain. gain_esd Pointer to the destination
gain_esd.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_get_gain(self, element_number)
def new_saveframe(self, arg):
"""
Returns : string
*args :
C prototype: int cbf_new_saveframe (cbf_handle handle,
const char *saveframename);
CBFLib documentation:
DESCRIPTION
cbf_new_datablock creates a new data block with name datablockname
and makes it the current data block. cbf_new_saveframe creates a new
save frame with name saveframename within the current data block and
makes the new save frame the current save frame.
If a data block or save frame with this name already exists, the
existing data block or save frame becomes the current data block or
save frame.
ARGUMENTS
handle CBF handle. datablockname The name of the new data
block. saveframename The name of the new save frame.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_new_saveframe(self, arg)
def set_polarization(self, polarizn_source_ratio, polarizn_source_norm):
"""
Returns :
*args : Float polarizn_source_ratio,Float polarizn_source_norm
C prototype: int cbf_set_polarization (cbf_handle handle,
double polarizn_source_ratio,
double polarizn_source_norm);
CBFLib documentation:
DESCRIPTION
cbf_set_polarization sets the source polarization to the values
specified by polarizn_source_ratio and polarizn_source_norm.
ARGUMENTS
handle CBF handle. polarizn_source_ratio New value
of polarizn_source_ratio. polarizn_source_norm New value of
polarizn_source_norm.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_set_polarization(self, polarizn_source_ratio, polarizn_source_norm)
def set_real_3d_image(self, element_number, compression, data, elsize, ndimslow, ndimmid, ndimfast):
"""
Returns :
*args : int element_number,int compression,(binary) String data,int elsize,
int dimslow,int dimmid,int dimfast
C prototype: int cbf_set_real_3d_image (cbf_handle handle,
unsigned int reserved, unsigned int element_number,
unsigned int compression, void *array,size_t elsize,
size_t ndimslow, size_t ndimmid, size_t ndimfast);
CBFLib documentation:
DESCRIPTION
cbf_set_image, cbf_set_image_fs and cbf_set_image_sf write the image
array for element number element_number. The array consists of
ndimfast *ndimslow elements of elsize bytes each, starting at array.
The elements are signed if elsign is non-zero and unsigned otherwise.
cbf_set_real_image, cbf_set_real_image_fs and cbf_set_real_image_sf
write the image array for element number element_number. The array
consists of ndimfast *ndimslow IEEE double or float elements of
elsize bytes each, starting at array. cbf_set_3d_image,
cbf_set_3d_image_fs and cbf_set_3d_image_sf write the 3D image array
for element number element_number. The array consists of ndimfast
*ndimmid *ndimslow elements of elsize bytes each, starting at array.
The elements are signed if elsign is non-0 and unsigned otherwise.
cbf_set_real_3d_image, cbf_set_real_3d_image_fs and
cbf_set_real_3d_image_sf writes the 3D image array for element number
element_number. The array consists of ndimfast *ndimmid *ndimslow
IEEE double or float elements of elsize bytes each, starting at
array.
The _fs calls give the dimensions in a fast-to-slow order. The calls
with no suffix and the calls _sf calls give the dimensions in
slow-to-fast order
If the array is 1-dimensional, ndimslow should be the array size and
ndimfast and, for the 3D calls, ndimmid, should be set to 1. If the
array is 2-dimensional and the 3D calls are used, ndimslow and
ndimmid should be used for the array dimensions and ndimfast should
be set to 1.
The array will be compressed using the compression scheme specifed by
compression. Currently, the available schemes are:
CBF_CANONICAL Canonical-code compression (section 3.3.1)
CBF_PACKED CCP4-style packing (section 3.3.2) CBF_PACKED_V2
CCP4-style packing, version 2 (section 3.3.2) CBF_BYTE_OFFSET
Simple "byte_offset " compression. CBF_NIBBLE_OFFSET Simple
"nibble_offset " compression. CBF_NONE No compression.
The values compressed are limited to 64 bits. If any element in the
array is larger than 64 bits, the value compressed is the nearest
64-bit value.
Currently, the source array must consist of chars, shorts or ints
(signed or unsigned)for cbf_set_image, or IEEE doubles or floats for
cbf_set_real_image. If elsize is not equal to sizeof (short), sizeof
(int), sizeof(double) or sizeof(float), the function returns
CBF_ARGUMENT.
The parameter reserved is presently unused and should be set to 0.
ARGUMENTS
handle CBF handle. reserved Unused. Any value other
than 0 is invalid. element_number The number of the detector
element counting from 0 by order of appearance in the
"diffrn_data_frame " category. compression Compression type.
array Pointer to the image array. elsize Size in
bytes of each image array element. elsigned Set to non-0 if
the image array elements are signed. ndimslow Slowest array
dimension. ndimmid Second slowest array dimension. ndimfast
Fastest array dimension.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_set_real_3d_image(self, element_number, compression, data, elsize, ndimslow, ndimmid, ndimfast)
def delete_row(self, arg):
"""
Returns :
*args : Integer
C prototype: int cbf_delete_row (cbf_handle handle, unsigned int rownumber);
CBFLib documentation:
DESCRIPTION
cbf_delete_row deletes a row from the current category. Rows starting
from rownumber +1 are moved down by 1. If the current row was higher
than rownumber, or if the current row is the last row, it will also
move down by 1.
The row numbers start from 0.
ARGUMENTS
handle CBF handle. rownumber The number of the row to delete.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_delete_row(self, arg)
def column_name(self):
"""
Returns :
*args : string
C prototype: int cbf_column_name (cbf_handle handle, const char **columnname);
CBFLib documentation:
DESCRIPTION
cbf_column_name sets *columnname to point to the name of the current
column of the current category.
The column name will be valid as long as the column exists.
The name must not be modified by the program in any way.
cbf_set_column_name sets the name of the current column to
newcolumnname
ARGUMENTS
handle CBF handle. columnname Pointer to the
destination column name pointer. newcolumnname New column name
pointer.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_column_name(self)
def remove_saveframe(self):
"""
Returns :
*args :
C prototype: int cbf_remove_saveframe (cbf_handle handle);
CBFLib documentation:
DESCRIPTION
cbf_remove_datablock deletes the current data block.
cbf_remove_saveframe deletes the current save frame.
The current data block becomes undefined.
ARGUMENTS
handle CBF handle.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_remove_saveframe(self)
def set_integerarray_wdims_sf(self, compression, binary_id, data, elsize, elsigned, elements, bo, dimslow, dimmid, dimfast, padding):
"""
Returns :
*args : int compression,int binary_id,(binary) String data,int elsize,
int elsigned,int elements,String byteorder,int dimslow,int dimmid,
int dimfast,int padding
C prototype: int cbf_set_integerarray_wdims_sf (cbf_handle handle,
unsigned int compression, int binary_id, void *array,
size_t elsize, int elsigned, size_t elements,
const char *byteorder, size_t dimslow, size_t dimmid,
size_t dimfast, size_t padding);
CBFLib documentation:
DESCRIPTION
cbf_set_integerarray sets the binary value of the item at the current
column and row to an integer array. The array consists of elements
elements of elsize bytes each, starting at array. The elements are
signed if elsigned is non-0 and unsigned otherwise. binary_id is the
binary section identifier. cbf_set_realarray sets the binary value of
the item at the current column and row to an integer array. The array
consists of elements elements of elsize bytes each, starting at
array. binary_id is the binary section identifier.
The cbf_set_integerarray_wdims, cbf_set_integerarray_wdims_fs,
cbf_set_integerarray_wdims_sf, cbf_set_realarray_wdims,
cbf_set_realarray_wdims_fs and cbf_set_realarray_wdims_sf variants
allow the data header values of byteorder, dimfast, dimmid, dimslow
and padding to be set to the data byte order, the fastest, second
fastest and third fastest array dimensions and the size in byte of
the post data padding to be used.
The array will be compressed using the compression scheme specifed by
compression. Currently, the available schemes are:
CBF_CANONICAL Canonical-code compression (section 3.3.1)
CBF_PACKED CCP4-style packing (section 3.3.2) CBF_PACKED_V2
CCP4-style packing, version 2 (section 3.3.2) CBF_BYTE_OFFSET
Simple "byte_offset " compression. CBF_NIBBLE_OFFSET Simple
"nibble_offset " compression. CBF_NONE No compression.
NOTE: This scheme is by far the slowest of the four and uses much
more disk space. It is intended for routine use with small arrays
only. With large arrays (like images) it should be used only for
debugging.
The values compressed are limited to 64 bits. If any element in the
array is larger than 64 bits, the value compressed is the nearest
64-bit value.
Currently, the source array must consist of chars, shorts or ints
(signed or unsigned), for cbf_set_integerarray, or IEEE doubles or
floats for cbf_set_realarray. If elsize is not equal to sizeof
(char), sizeof (short) or sizeof (int), the function returns
CBF_ARGUMENT.
ARGUMENTS
handle CBF handle. compression Compression method to use.
binary_id Integer binary identifier. array Pointer to the
source array. elsize Size in bytes of each source array
element. elsigned Set to non-0 if the source array elements are
signed. elements: The number of elements in the array.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_set_integerarray_wdims_sf(self, compression, binary_id, data, elsize, elsigned, elements, bo, dimslow, dimmid, dimfast, padding)
def require_value(self, defaultvalue):
"""
Returns : String Value
*args : String defaultvalue
C prototype: int cbf_require_value (cbf_handle handle, const char **value,
const char *defaultvalue );
CBFLib documentation:
DESCRIPTION
cbf_get_value sets *value to point to the ASCII value of the item at
the current column and row. cbf_require_value sets *value to point to
the ASCII value of the item at the current column and row, creating
the data item if necessary and initializing it to a copy of
defaultvalue.
If the value is not ASCII, the function returns CBF_BINARY.
The value will be valid as long as the item exists and has not been
set to a new value.
The value must not be modified by the program in any way.
ARGUMENTS
handle CBF handle. value Pointer to the destination
value pointer. defaultvalue Default value character string.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_require_value(self, defaultvalue)
def require_column_integervalue(self, columnname, defaultvalue):
"""
Returns : Int Value
*args : String Columnvalue,Int default
C prototype: int cbf_require_column_integervalue (cbf_handle handle,
const char *columnname, int *number,
const int defaultvalue);
CBFLib documentation:
DESCRIPTION
cbf_require_column_doublevalue sets *number to the value of the ASCII
item at the current row for the column given with the name given by
*columnname, with the value interpreted as an integer number, or to
the number given by defaultvalue if the item cannot be found.
ARGUMENTS
handle CBF handle. columnname Name of the column
containing the number. number pointer to the location to
receive the integer value. defaultvalue Value to use if the
requested column and value cannot be found.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_require_column_integervalue(self, columnname, defaultvalue)
def set_pixel_size(self, element_number, axis_number, psize):
"""
Returns :
*args : Int element_number,Int axis_number,Float pixel size
C prototype: int cbf_set_pixel_size (cbf_handle handle,
unsigned int element_number, int axis_number,
double psize);
CBFLib documentation:
DESCRIPTION
cbf_set_pixel_size and cbf_set_pixel_size_sf set the item in the
"e;size"e; column of the "array_structure_list " category
at the row which matches axis axis_number of the detector element
element_number converting the double pixel size psize from meters to
millimeters in storing it in the "size " column for the axis
axis_number of the detector element element_number. The axis_number
is numbered from 1, starting with the slowest axis.
cbf_set_pixel_size_fs sets the item
"""
return _pycbf.cbf_handle_struct_set_pixel_size(self, element_number, axis_number, psize)
def next_column(self):
"""
Returns :
*args :
C prototype: int cbf_next_column (cbf_handle handle);
CBFLib documentation:
DESCRIPTION
cbf_next_column makes the column following the current column in the
current category the current column.
If there are no more columns, the function returns CBF_NOTFOUND.
The current row is not affected.
ARGUMENTS
handle CBF handle.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_next_column(self)
def get_3d_image_size_sf(self, element_number):
"""
Returns : size_t ndimslow,size_t ndimmid,size_t ndimfast
*args : Integer element_number
C prototype: int cbf_get_3d_image_size_sf (cbf_handle handle,
unsigned int reserved, unsigned int element_number,
size_t *ndimslow, size_t *ndimmid, size_t *ndimfast);
CBFLib documentation:
DESCRIPTION
cbf_get_image_size, cbf_get_image_size_fs and cbf_get_image_size_sf
set *ndimslow and *ndimfast to the slow and fast dimensions of the
image array for element number element_number. If the array is
1-dimensional, *ndimslow will be set to the array size and *ndimfast
will be set to 1. If the array is 3-dimensional an error code will be
returned. cbf_get_3d_image_size, cbf_get_3d_image_size_fs and
cbf_get_3d_image_size_sf set *ndimslow, *ndimmid and *ndimfast to the
slowest, next fastest and fastest dimensions, respectively, of the 3D
image array for element number element_number. If the array is
1-dimensional, *ndimslow will be set to the array size and *ndimmid
and
"""
return _pycbf.cbf_handle_struct_get_3d_image_size_sf(self, element_number)
def get_realarrayparameters_wdims_fs(self):
"""
Returns : int compression,int binary_id,int elsize,int elements,char **bo,
int *bolen,int dimfast,int dimmid,int dimslow,int padding
*args :
C prototype: int cbf_get_realarrayparameters_wdims_fs (cbf_handle handle,
unsigned int *compression, int *binary_id, size_t *elsize,
size_t *elements, const char **byteorder, size_t *dimfast,
size_t *dimmid, size_t *dimslow, size_t *padding);
CBFLib documentation:
DESCRIPTION
cbf_get_integerarrayparameters sets *compression, *binary_id,
*elsize, *elsigned, *elunsigned, *elements, *minelement and
*maxelement to values read from the binary value of the item at the
current column and row. This provides all the arguments needed for a
subsequent call to cbf_set_integerarray, if a copy of the array is to
be made into another CIF or CBF. cbf_get_realarrayparameters sets
*compression, *binary_id, *elsize, *elements to values read from the
binary value of the item at the current column and row. This provides
all the arguments needed for a subsequent call to cbf_set_realarray,
if a copy of the arry is to be made into another CIF or CBF.
The variants cbf_get_integerarrayparameters_wdims,
cbf_get_integerarrayparameters_wdims_fs,
cbf_get_integerarrayparameters_wdims_sf,
cbf_get_realarrayparameters_wdims,
cbf_get_realarrayparameters_wdims_fs,
cbf_get_realarrayparameters_wdims_sf set **byteorder, *dimfast,
*dimmid, *dimslow, and *padding as well, providing the additional
parameters needed for a subsequent call to cbf_set_integerarray_wdims
or cbf_set_realarray_wdims.
The value returned in *byteorder is a pointer either to the string
"little_endian " or to the string "big_endian ". This should be
the byte order of the data, not necessarily of the host machine. No
attempt should be made to modify this string. At this time only
"little_endian " will be returned.
The values returned in *dimfast, *dimmid and *dimslow are the sizes
of the fastest changing, second fastest changing and third fastest
changing dimensions of the array, if specified, or zero, if not
specified.
The value returned in *padding is the size of the post-data padding,
if any and if specified in the data header. The value is given as a
count of octets.
If the value is not binary, the function returns CBF_ASCII.
ARGUMENTS
handle CBF handle. compression Compression method used.
elsize Size in bytes of each array element. binary_id
Pointer to the destination integer binary identifier. elsigned
Pointer to an integer. Set to 1 if the elements can be read as signed
integers. elunsigned Pointer to an integer. Set to 1 if the
elements can be read as unsigned integers. elements Pointer to
the destination number of elements. minelement Pointer to the
destination smallest element. maxelement Pointer to the
destination largest element. byteorder Pointer to the destination
byte order. dimfast Pointer to the destination fastest
dimension. dimmid Pointer to the destination second fastest
dimension. dimslow Pointer to the destination third fastest
dimension. padding Pointer to the destination padding size.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_get_realarrayparameters_wdims_fs(self)
def get_realarray_as_string(self):
"""
Returns : (Binary)String
*args :
C prototype: int cbf_get_realarray (cbf_handle handle, int *binary_id,
void *array, size_t elsize, size_t elements,
size_t *elements_read);
CBFLib documentation:
DESCRIPTION
cbf_get_integerarray reads the binary value of the item at the
current column and row into an integer array. The array consists of
elements elements of elsize bytes each, starting at array. The
elements are signed if elsigned is non-0 and unsigned otherwise.
*binary_id is set to the binary section identifier and *elements_read
to the number of elements actually read. cbf_get_realarray reads the
binary value of the item at the current column and row into a real
array. The array consists of elements elements of elsize bytes each,
starting at array. *binary_id is set to the binary section identifier
and *elements_read to the number of elements actually read.
If any element in the integer binary data cant fit into the
destination element, the destination is set the nearest possible
value.
If the value is not binary, the function returns CBF_ASCII.
If the requested number of elements cant be read, the function will
read as many as it can and then return CBF_ENDOFDATA.
Currently, the destination array must consist of chars, shorts or
ints (signed or unsigned). If elsize is not equal to sizeof (char),
sizeof (short) or sizeof (int), for cbf_get_integerarray, or
sizeof(double) or sizeof(float), for cbf_get_realarray the function
returns CBF_ARGUMENT.
An additional restriction in the current version of CBFlib is that
values too large to fit in an int are not correctly decompressed. As
an example, if the machine with 32-bit ints is reading an array
containing a value outside the range 0 .. 2^32-1 (unsigned) or -2^31
.. 2^31-1 (signed), the array will not be correctly decompressed.
This restriction will be removed in a future release. For
cbf_get_realarray, only IEEE format is supported. No conversion to
other floating point formats is done at this time.
ARGUMENTS
handle CBF handle. binary_id Pointer to the
destination integer binary identifier. array Pointer to the
destination array. elsize Size in bytes of each destination
array element. elsigned Set to non-0 if the destination array
elements are signed. elements The number of elements to read.
elements_read Pointer to the destination number of elements
actually read.
RETURN VALUE
Returns an error code on failure or 0 for success. SEE ALSO
"""
return _pycbf.cbf_handle_struct_get_realarray_as_string(self)
def get_bin_sizes(self, element_number):
"""
Returns : Float slowbinsize,Float fastbinsize
*args : Integer element_number
C prototype: int cbf_get_bin_sizes(cbf_handle handle,
unsigned int element_number, double * slowbinsize,
double * fastbinsize);
CBFLib documentation:
DESCRIPTION
cbf_get_bin_sizes sets slowbinsize to point to the value of the
number of pixels composing one array element in the dimension that
changes at the second-fastest rate and fastbinsize to point to the
value of the number of pixels composing one array element in the
dimension that changes at the fastest rate for the dectector element
with the ordinal element_number. cbf_set_bin_sizes sets the the pixel
bin sizes in the "array_intensities " category to the values of
slowbinsize_in for the number of pixels composing one array element
in the dimension that changes at the second-fastest rate and
fastbinsize_in for the number of pixels composing one array element
in the dimension that changes at the fastest rate for the dectector
element with the ordinal element_number.
In order to allow for software binning involving fractions of pixels,
the bin sizes are doubles rather than ints.
ARGUMENTS
handle CBF handle. element_number The number of the
detector element counting from 0 by order of appearance in the
"diffrn_data_frame " category. slowbinsize Pointer to the
returned number of pixels composing one array element in the
dimension that changes at the second-fastest rate. fastbinsize
Pointer to the returned number of pixels composing one array element
in the dimension that changes at the fastest rate. slowbinsize_in
The number of pixels composing one array element in the dimension
that changes at the second-fastest rate. fastbinsize_in The number
of pixels composing one array element in the dimension that changes
at the fastest rate.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_get_bin_sizes(self, element_number)
def reset_category(self):
"""
Returns :
*args :
C prototype: int cbf_reset_category (cbf_handle handle);
CBFLib documentation:
DESCRIPTION
cbf_reset_category deletes all columns and rows from current category.
ARGUMENTS
handle CBF handle.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_reset_category(self)
def count_axis_ancestors(self, axis_id):
"""
Returns : Integer
*args : String axis_id
C prototype: int cbf_count_axis_ancestors (cbf_handle handle,
const char *axis_id, unsigned int *ancestors);
CBFLib documentation:
DESCRIPTION
cbf_count_axis_ancestors sets ancestors to the number of ancestors of
axis axis_id. cbf_get_axis_ancestor sets *ancestor to the ancestor
axis of index ancestor_index of axis axis_id, starting with axis_id
for ancestor_index 0.
cbf_get_axis_depends_on sets *depends_on to the immediate ancestor of
axis_id or to ". " if there is no such ancestor.
cbf_get_axis_equipment sets *equipment to the equipment of axis_id or
to ". " if there is no such equipment.
cbf_get_axis_equipment_component sets *equipment_component to the
equipment_component of axis_id or to ". " if there is no such
equipment_component.
cbf_get_axis_offset sets *offset1, *offset2 and *offset3 to the
components of the ofset of axis_id.
cbf_get_axis_rotation sets rotation to the rotation of axis_id or to
0 if there is no such rotation. cbf_get_axis_rotation_axis sets
*rotation_axis to the rotation_axis of axis_id or to ". " if there
is no such rotation_axis.
cbf_get_axis_setting sets *start and *increment to the corresponding
values of the axis axis_id. Any of the destination pointers may be
NULL.
cbf_get_axis_type sets axis_type to the type of axis_id.
cbf_get_axis_vector sets *vector1, *vector2 and *vector3 to the
components of the vector of axis_id.
The parameter reserved is presently unused and should be set to 0.
ARGUMENTS
handle CBF handle. reserved Unused. Any
value other than 0 is invalid. axis_id Axis id.
ancestor_index Integer index of the desired ancestor, starting
with 0 for the current axis_id. ancestor Pointer to
destination ancestor name pointer. depends_on Pointer to
destination depends_on name pointer. equipment Pointer to
destination equipment name pointer. equipment_component Pointer to
destination equipment_component name pointer. offset1
Pointer to destination first offset component value. offset2
Pointer to destination second offset component value. offset3
Pointer to destination third offset component value.
rotation Pointer to destination rotation value.
rotation_axis Pointer to destination rotation_axisn name
pointer. start Pointer to the destination start
value. increment Pointer to the destination increment
value. type Pointer to destination axis type of type
. vector1 Pointer to destination first vector component
value. vector2 Pointer to destination second vector
component value. vector3 Pointer to destination third
vector component value.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_count_axis_ancestors(self, axis_id)
def construct_goniometer(self):
"""
Returns : pycbf goniometer object
*args :
C prototype: int cbf_construct_goniometer (cbf_handle handle,
cbf_goniometer *goniometer);
CBFLib documentation:
DESCRIPTION
cbf_construct_goniometer constructs a goniometer object using the
description in the CBF object handle and initialises the goniometer
handle *goniometer.
ARGUMENTS
handle CBF handle. goniometer Pointer to the destination
goniometer handle.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_construct_goniometer(self)
def set_datablockname(self, arg):
"""
Returns : string
*args :
C prototype: int cbf_set_datablockname (cbf_handle handle,
const char *datablockname);
CBFLib documentation:
DESCRIPTION
cbf_set_datablockname changes the name of the current data block to
datablockname. cbf_set_saveframename changes the name of the current
save frame to saveframename.
If a data block or save frame with this name already exists
(comparison is case-insensitive), the function returns CBF_IDENTICAL.
ARGUMENTS
handle CBF handle. datablockname The new data block name.
datablockname The new save frame name.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_set_datablockname(self, arg)
def get_element_number(self):
"""get_element_number(cbf_handle_struct self)"""
return _pycbf.cbf_handle_struct_get_element_number(self)
def set_crystal_id(self, arg):
"""
Returns : string
*args :
C prototype: int cbf_set_crystal_id (cbf_handle handle,
const char *crystal_id);
CBFLib documentation:
DESCRIPTION
cbf_set_crystal_id sets the "diffrn.crystal_id " entry to the
ASCII value crystal_id.
ARGUMENTS
handle CBF handle. crystal_id ASCII value.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_set_crystal_id(self, arg)
def get_integerarray_as_string(self):
"""
Returns : (Binary)String
*args :
C prototype: int cbf_get_integerarray (cbf_handle handle, int *binary_id,
void *array, size_t elsize, int elsigned, size_t elements,
size_t *elements_read);
CBFLib documentation:
DESCRIPTION
cbf_get_integerarray reads the binary value of the item at the
current column and row into an integer array. The array consists of
elements elements of elsize bytes each, starting at array. The
elements are signed if elsigned is non-0 and unsigned otherwise.
*binary_id is set to the binary section identifier and *elements_read
to the number of elements actually read. cbf_get_realarray reads the
binary value of the item at the current column and row into a real
array. The array consists of elements elements of elsize bytes each,
starting at array. *binary_id is set to the binary section identifier
and *elements_read to the number of elements actually read.
If any element in the integer binary data cant fit into the
destination element, the destination is set the nearest possible
value.
If the value is not binary, the function returns CBF_ASCII.
If the requested number of elements cant be read, the function will
read as many as it can and then return CBF_ENDOFDATA.
Currently, the destination array must consist of chars, shorts or
ints (signed or unsigned). If elsize is not equal to sizeof (char),
sizeof (short) or sizeof (int), for cbf_get_integerarray, or
sizeof(double) or sizeof(float), for cbf_get_realarray the function
returns CBF_ARGUMENT.
An additional restriction in the current version of CBFlib is that
values too large to fit in an int are not correctly decompressed. As
an example, if the machine with 32-bit ints is reading an array
containing a value outside the range 0 .. 2^32-1 (unsigned) or -2^31
.. 2^31-1 (signed), the array will not be correctly decompressed.
This restriction will be removed in a future release. For
cbf_get_realarray, only IEEE format is supported. No conversion to
other floating point formats is done at this time.
ARGUMENTS
handle CBF handle. binary_id Pointer to the
destination integer binary identifier. array Pointer to the
destination array. elsize Size in bytes of each destination
array element. elsigned Set to non-0 if the destination array
elements are signed. elements The number of elements to read.
elements_read Pointer to the destination number of elements
actually read.
RETURN VALUE
Returns an error code on failure or 0 for success. SEE ALSO
"""
return _pycbf.cbf_handle_struct_get_integerarray_as_string(self)
def set_3d_image(self, element_number, compression, data, elsize, elsign, ndimslow, ndimmid, ndimfast):
"""
Returns :
*args : int element_number,int compression,(binary) String data,int elsize,
int elsign,int dimslow,int dimmid,int dimfast
C prototype: int cbf_set_3d_image (cbf_handle handle, unsigned int reserved,
unsigned int element_number, unsigned int compression,
void *array, size_t elsize, int elsign, size_t ndimslow,
size_t ndimmid, size_t ndimfast);
CBFLib documentation:
DESCRIPTION
cbf_set_image, cbf_set_image_fs and cbf_set_image_sf write the image
array for element number element_number. The array consists of
ndimfast *ndimslow elements of elsize bytes each, starting at array.
The elements are signed if elsign is non-zero and unsigned otherwise.
cbf_set_real_image, cbf_set_real_image_fs and cbf_set_real_image_sf
write the image array for element number element_number. The array
consists of ndimfast *ndimslow IEEE double or float elements of
elsize bytes each, starting at array. cbf_set_3d_image,
cbf_set_3d_image_fs and cbf_set_3d_image_sf write the 3D image array
for element number element_number. The array consists of ndimfast
*ndimmid *ndimslow elements of elsize bytes each, starting at array.
The elements are signed if elsign is non-0 and unsigned otherwise.
cbf_set_real_3d_image, cbf_set_real_3d_image_fs and
cbf_set_real_3d_image_sf writes the 3D image array for element number
element_number. The array consists of ndimfast *ndimmid *ndimslow
IEEE double or float elements of elsize bytes each, starting at
array.
The _fs calls give the dimensions in a fast-to-slow order. The calls
with no suffix and the calls _sf calls give the dimensions in
slow-to-fast order
If the array is 1-dimensional, ndimslow should be the array size and
ndimfast and, for the 3D calls, ndimmid, should be set to 1. If the
array is 2-dimensional and the 3D calls are used, ndimslow and
ndimmid should be used for the array dimensions and ndimfast should
be set to 1.
The array will be compressed using the compression scheme specifed by
compression. Currently, the available schemes are:
CBF_CANONICAL Canonical-code compression (section 3.3.1)
CBF_PACKED CCP4-style packing (section 3.3.2) CBF_PACKED_V2
CCP4-style packing, version 2 (section 3.3.2) CBF_BYTE_OFFSET
Simple "byte_offset " compression. CBF_NIBBLE_OFFSET Simple
"nibble_offset " compression. CBF_NONE No compression.
The values compressed are limited to 64 bits. If any element in the
array is larger than 64 bits, the value compressed is the nearest
64-bit value.
Currently, the source array must consist of chars, shorts or ints
(signed or unsigned)for cbf_set_image, or IEEE doubles or floats for
cbf_set_real_image. If elsize is not equal to sizeof (short), sizeof
(int), sizeof(double) or sizeof(float), the function returns
CBF_ARGUMENT.
The parameter reserved is presently unused and should be set to 0.
ARGUMENTS
handle CBF handle. reserved Unused. Any value other
than 0 is invalid. element_number The number of the detector
element counting from 0 by order of appearance in the
"diffrn_data_frame " category. compression Compression type.
array Pointer to the image array. elsize Size in
bytes of each image array element. elsigned Set to non-0 if
the image array elements are signed. ndimslow Slowest array
dimension. ndimmid Second slowest array dimension. ndimfast
Fastest array dimension.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_set_3d_image(self, element_number, compression, data, elsize, elsign, ndimslow, ndimmid, ndimfast)
def set_dictionary(self, other):
"""
Returns :
*args : CBFHandle dictionary
C prototype: int cbf_set_dictionary (cbf_handle handle,
cbf_handle dictionary_in);
CBFLib documentation:
DESCRIPTION
cbf_get_dictionary sets *dictionary to the handle of a CBF which has
been associated with the CBF handle by cbf_set_dictionary.
cbf_set_dictionary associates the CBF handle dictionary_in with
handle as its dictionary. cbf_require_dictionary sets *dictionary to
the handle of a CBF which has been associated with the CBF handle by
cbf_set_dictionary or creates a new empty CBF and associates it with
handle, returning the new handle in *dictionary.
ARGUMENTS
handle CBF handle. dictionary Pointer to CBF handle of
dictionary. dictionary_in CBF handle of dcitionary.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_set_dictionary(self, other)
def find_tag_category(self, tagname):
"""
Returns : String categoryname
*args : String tagname
C prototype: int cbf_find_tag_category (cbf_handle handle,
const char* tagname, const char** categoryname);
CBFLib documentation:
DESCRIPTION
cbf_find_tag_category sets categoryname to the category associated
with tagname in the dictionary associated with handle.
cbf_set_tag_category upddates the dictionary associated with handle
to indicated that tagname is in category categoryname_in.
ARGUMENTS
handle CBF handle. tagname tag name.
categoryname pointer to a returned category name.
categoryname_in input category name.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_find_tag_category(self, tagname)
def get_real_3d_image_sf_as_string(self, element_number, elsize, ndimslow, ndimmid, ndimfast):
"""
Returns : (Binary)String
*args : int element_number,int elsize,int ndimslow,int ndimmid,int ndimfast
C prototype: int cbf_get_real_3d_image_sf (cbf_handle handle,
unsigned int reserved, unsigned int element_number,
void *array, size_t elsize, size_t ndimslow,
size_t ndimmid, size_t ndimfast);
CBFLib documentation:
DESCRIPTION
cbf_get_image, cbf_get_image_fs and cbf_get_image_sf read the image
array for element number element_number into an array. The array
consists of ndimslow *ndimfast elements of elsize bytes each,
starting at array. The elements are signed if elsign is non-0 and
unsigned otherwise. cbf_get_real_image, cbf_get_real_image_fs and
cbf_get_real_image_sf read the image array of IEEE doubles or floats
for element number element_number into an array. A real array is
always signed. cbf_get_3d_image, cbf_get_3d_image_fs and
cbf_get_3d_image_sf read the 3D image array for element number
element_number into an array. The array consists of ndimslow *ndimmid
*ndimfast elements of elsize bytes each, starting at array. The
elements are signed if elsign is non-0 and unsigned otherwise.
cbf_get_real_3d_image, cbf_get_real_3d_image_fs,
cbf_get_real_3d_image_sf reads the 3D image array of IEEE doubles or
floats for element number element_number into an array. A real array
is always signed.
The _fs calls give the dimensions in a fast-to-slow order. The calls
with no suffix and the calls _sf calls give the dimensions in
slow-to-fast order
The structure of the array as a 1-, 2- or 3-dimensional array should
agree with the structure of the array given in the
ARRAY_STRUCTURE_LIST category. If the array is 1-dimensional,
ndimslow should be the array size and ndimfast and, for the 3D calls,
ndimmid, should be set to 1 both in the call and in the imgCIF data
being processed. If the array is 2-dimensional and a 3D call is used,
ndimslow and ndimmid should be the
"""
return _pycbf.cbf_handle_struct_get_real_3d_image_sf_as_string(self, element_number, elsize, ndimslow, ndimmid, ndimfast)
def set_typeofvalue(self, arg):
"""
Returns : string
*args :
C prototype: int cbf_set_typeofvalue (cbf_handle handle,
const char *typeofvalue);
CBFLib documentation:
DESCRIPTION
cbf_set_typeofvalue sets the type of the item at the current column
and row to the type specified by the ASCII character string given by
typeofvalue. The strings that may be used are:
"null " for a null value indicated by a ". " or a "? "
"bnry " for a binary value "word " for an unquoted string
"dblq " for a double-quoted string "sglq " for a single-quoted
string "text " for a semicolon-quoted string (multiline text
field) "prns " for a parenthesis-bracketed string (multiline text
field) "brcs " for a brace-bracketed string (multiline text field)
"bkts " for a square-bracket-bracketed string (multiline text
field) "tsqs " for a treble-single-quote quoted string (multiline
text field) "tdqs " for a treble-double-quote quoted string
(multiline text field)
Not all types may be used for all values. Not all types are valid for
all type of CIF files. In partcular the types "prns ", "brcs ",
"bkts " were introduced with DDLm and are not valid in DDL1 or
DDL2 CIFS. The types "tsqs " and "tdqs " are not formally part
of the CIF syntax. No changes may be made to the type of binary
values. You may not set the type of a string that contains a single
quote followed by a blank or a tab or which contains multiple lines
to "sglq ". You may not set the type of a string that contains a
double quote followed by a blank or a tab or which contains multiple
lines to "dblq ".
ARGUMENTS
handle CBF handle. typeofvalue ASCII string for desired type
of value.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_set_typeofvalue(self, arg)
def get_axis_rotation_axis(self, axis_id):
"""
Returns : String
*args : String axis_id
C prototype: int cbf_get_axis_rotation_axis (cbf_handle handle,
const char *axis_id, const char * *rotation_axis);
CBFLib documentation:
DESCRIPTION
cbf_count_axis_ancestors sets ancestors to the number of ancestors of
axis axis_id. cbf_get_axis_ancestor sets *ancestor to the ancestor
axis of index ancestor_index of axis axis_id, starting with axis_id
for ancestor_index 0.
cbf_get_axis_depends_on sets *depends_on to the immediate ancestor of
axis_id or to ". " if there is no such ancestor.
cbf_get_axis_equipment sets *equipment to the equipment of axis_id or
to ". " if there is no such equipment.
cbf_get_axis_equipment_component sets *equipment_component to the
equipment_component of axis_id or to ". " if there is no such
equipment_component.
cbf_get_axis_offset sets *offset1, *offset2 and *offset3 to the
components of the ofset of axis_id.
cbf_get_axis_rotation sets rotation to the rotation of axis_id or to
0 if there is no such rotation. cbf_get_axis_rotation_axis sets
*rotation_axis to the rotation_axis of axis_id or to ". " if there
is no such rotation_axis.
cbf_get_axis_setting sets *start and *increment to the corresponding
values of the axis axis_id. Any of the destination pointers may be
NULL.
cbf_get_axis_type sets axis_type to the type of axis_id.
cbf_get_axis_vector sets *vector1, *vector2 and *vector3 to the
components of the vector of axis_id.
The parameter reserved is presently unused and should be set to 0.
ARGUMENTS
handle CBF handle. reserved Unused. Any
value other than 0 is invalid. axis_id Axis id.
ancestor_index Integer index of the desired ancestor, starting
with 0 for the current axis_id. ancestor Pointer to
destination ancestor name pointer. depends_on Pointer to
destination depends_on name pointer. equipment Pointer to
destination equipment name pointer. equipment_component Pointer to
destination equipment_component name pointer. offset1
Pointer to destination first offset component value. offset2
Pointer to destination second offset component value. offset3
Pointer to destination third offset component value.
rotation Pointer to destination rotation value.
rotation_axis Pointer to destination rotation_axisn name
pointer. start Pointer to the destination start
value. increment Pointer to the destination increment
value. type Pointer to destination axis type of type
. vector1 Pointer to destination first vector component
value. vector2 Pointer to destination second vector
component value. vector3 Pointer to destination third
vector component value.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_get_axis_rotation_axis(self, axis_id)
def set_integerarray_wdims(self, compression, binary_id, data, elsize, elsigned, elements, bo, dimfast, dimmid, dimslow, padding):
"""
Returns :
*args : int compression,int binary_id,(binary) String data,int elsize,
int elsigned,int elements,String byteorder,int dimfast,int dimmid,
int dimslow,int padding
C prototype: int cbf_set_integerarray_wdims (cbf_handle handle,
unsigned int compression, int binary_id, void *array,
size_t elsize, int elsigned, size_t elements,
const char *byteorder, size_t dimfast, size_t dimmid,
size_t dimslow, size_t padding);
CBFLib documentation:
DESCRIPTION
cbf_set_integerarray sets the binary value of the item at the current
column and row to an integer array. The array consists of elements
elements of elsize bytes each, starting at array. The elements are
signed if elsigned is non-0 and unsigned otherwise. binary_id is the
binary section identifier. cbf_set_realarray sets the binary value of
the item at the current column and row to an integer array. The array
consists of elements elements of elsize bytes each, starting at
array. binary_id is the binary section identifier.
The cbf_set_integerarray_wdims, cbf_set_integerarray_wdims_fs,
cbf_set_integerarray_wdims_sf, cbf_set_realarray_wdims,
cbf_set_realarray_wdims_fs and cbf_set_realarray_wdims_sf variants
allow the data header values of byteorder, dimfast, dimmid, dimslow
and padding to be set to the data byte order, the fastest, second
fastest and third fastest array dimensions and the size in byte of
the post data padding to be used.
The array will be compressed using the compression scheme specifed by
compression. Currently, the available schemes are:
CBF_CANONICAL Canonical-code compression (section 3.3.1)
CBF_PACKED CCP4-style packing (section 3.3.2) CBF_PACKED_V2
CCP4-style packing, version 2 (section 3.3.2) CBF_BYTE_OFFSET
Simple "byte_offset " compression. CBF_NIBBLE_OFFSET Simple
"nibble_offset " compression. CBF_NONE No compression.
NOTE: This scheme is by far the slowest of the four and uses much
more disk space. It is intended for routine use with small arrays
only. With large arrays (like images) it should be used only for
debugging.
The values compressed are limited to 64 bits. If any element in the
array is larger than 64 bits, the value compressed is the nearest
64-bit value.
Currently, the source array must consist of chars, shorts or ints
(signed or unsigned), for cbf_set_integerarray, or IEEE doubles or
floats for cbf_set_realarray. If elsize is not equal to sizeof
(char), sizeof (short) or sizeof (int), the function returns
CBF_ARGUMENT.
ARGUMENTS
handle CBF handle. compression Compression method to use.
binary_id Integer binary identifier. array Pointer to the
source array. elsize Size in bytes of each source array
element. elsigned Set to non-0 if the source array elements are
signed. elements: The number of elements in the array.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_set_integerarray_wdims(self, compression, binary_id, data, elsize, elsigned, elements, bo, dimfast, dimmid, dimslow, padding)
def set_integration_time(self, time):
"""
Returns :
*args : Float time
C prototype: int cbf_set_integration_time (cbf_handle handle,
unsigned int reserved, double time);
CBFLib documentation:
DESCRIPTION
cbf_set_integration_time sets the integration time in seconds to the
value specified by time. The parameter reserved is presently unused
and should be set to 0.
ARGUMENTS
handle CBF handle. reserved Unused. Any value
other than 0 is invalid. time Integration time in seconds.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_set_integration_time(self, time)
def set_axis_setting(self, axis_id, start, increment):
"""
Returns :
*args : String axis_id,Float start,Float increment
C prototype: int cbf_set_axis_setting (cbf_handle handle,
unsigned int reserved, const char *axis_id, double start,
double increment);
CBFLib documentation:
DESCRIPTION
cbf_set_axis_setting sets the starting and increment values of the
axis axis_id to start and increment.
The parameter reserved is presently unused and should be set to 0.
ARGUMENTS
handle CBF handle. reserved Unused. Any value other than 0 is
invalid. axis_id Axis id. start Start value. increment
Increment value.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_set_axis_setting(self, axis_id, start, increment)
def get_real_image_as_string(self, element_number, elsize, ndimslow, ndimfast):
"""
Returns : (Binary)String
*args : int element_number,int elsize,int ndimslow,int ndimfast
C prototype: int cbf_get_real_image (cbf_handle handle, unsigned int reserved,
unsigned int element_number, void *array, size_t elsize,
size_t ndimslow, size_t ndimfast);
CBFLib documentation:
DESCRIPTION
cbf_get_image, cbf_get_image_fs and cbf_get_image_sf read the image
array for element number element_number into an array. The array
consists of ndimslow *ndimfast elements of elsize bytes each,
starting at array. The elements are signed if elsign is non-0 and
unsigned otherwise. cbf_get_real_image, cbf_get_real_image_fs and
cbf_get_real_image_sf read the image array of IEEE doubles or floats
for element number element_number into an array. A real array is
always signed. cbf_get_3d_image, cbf_get_3d_image_fs and
cbf_get_3d_image_sf read the 3D image array for element number
element_number into an array. The array consists of ndimslow *ndimmid
*ndimfast elements of elsize bytes each, starting at array. The
elements are signed if elsign is non-0 and unsigned otherwise.
cbf_get_real_3d_image, cbf_get_real_3d_image_fs,
cbf_get_real_3d_image_sf reads the 3D image array of IEEE doubles or
floats for element number element_number into an array. A real array
is always signed.
The _fs calls give the dimensions in a fast-to-slow order. The calls
with no suffix and the calls _sf calls give the dimensions in
slow-to-fast order
The structure of the array as a 1-, 2- or 3-dimensional array should
agree with the structure of the array given in the
ARRAY_STRUCTURE_LIST category. If the array is 1-dimensional,
ndimslow should be the array size and ndimfast and, for the 3D calls,
ndimmid, should be set to 1 both in the call and in the imgCIF data
being processed. If the array is 2-dimensional and a 3D call is used,
ndimslow and ndimmid should be the
"""
return _pycbf.cbf_handle_struct_get_real_image_as_string(self, element_number, elsize, ndimslow, ndimfast)
def get_axis_ancestor(self, axis_id, ancestor_index):
"""
Returns : String
*args : String axis_id,Integer ancestor_index
C prototype: int cbf_get_axis_ancestor (cbf_handle handle,
const char *axis_id, const unsigned int ancestor_index,
const char * *ancestor);
CBFLib documentation:
DESCRIPTION
cbf_count_axis_ancestors sets ancestors to the number of ancestors of
axis axis_id. cbf_get_axis_ancestor sets *ancestor to the ancestor
axis of index ancestor_index of axis axis_id, starting with axis_id
for ancestor_index 0.
cbf_get_axis_depends_on sets *depends_on to the immediate ancestor of
axis_id or to ". " if there is no such ancestor.
cbf_get_axis_equipment sets *equipment to the equipment of axis_id or
to ". " if there is no such equipment.
cbf_get_axis_equipment_component sets *equipment_component to the
equipment_component of axis_id or to ". " if there is no such
equipment_component.
cbf_get_axis_offset sets *offset1, *offset2 and *offset3 to the
components of the ofset of axis_id.
cbf_get_axis_rotation sets rotation to the rotation of axis_id or to
0 if there is no such rotation. cbf_get_axis_rotation_axis sets
*rotation_axis to the rotation_axis of axis_id or to ". " if there
is no such rotation_axis.
cbf_get_axis_setting sets *start and *increment to the corresponding
values of the axis axis_id. Any of the destination pointers may be
NULL.
cbf_get_axis_type sets axis_type to the type of axis_id.
cbf_get_axis_vector sets *vector1, *vector2 and *vector3 to the
components of the vector of axis_id.
The parameter reserved is presently unused and should be set to 0.
ARGUMENTS
handle CBF handle. reserved Unused. Any
value other than 0 is invalid. axis_id Axis id.
ancestor_index Integer index of the desired ancestor, starting
with 0 for the current axis_id. ancestor Pointer to
destination ancestor name pointer. depends_on Pointer to
destination depends_on name pointer. equipment Pointer to
destination equipment name pointer. equipment_component Pointer to
destination equipment_component name pointer. offset1
Pointer to destination first offset component value. offset2
Pointer to destination second offset component value. offset3
Pointer to destination third offset component value.
rotation Pointer to destination rotation value.
rotation_axis Pointer to destination rotation_axisn name
pointer. start Pointer to the destination start
value. increment Pointer to the destination increment
value. type Pointer to destination axis type of type
. vector1 Pointer to destination first vector component
value. vector2 Pointer to destination second vector
component value. vector3 Pointer to destination third
vector component value.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_get_axis_ancestor(self, axis_id, ancestor_index)
def get_3d_image_sf_as_string(self, element_number, elsize, elsign, ndimfast, ndimmid, ndimslow):
"""
Returns : (Binary)String
*args : int element_number,int elsize,int elsign,int ndimslow,int ndimmid,
int ndimfast
C prototype: int cbf_get_3d_image_sf (cbf_handle handle,
unsigned int reserved, unsigned int element_number,
void *array, size_t elsize, int elsign, size_t ndimslow,
size_t ndimmid, size_t ndimfast);
CBFLib documentation:
DESCRIPTION
cbf_get_image, cbf_get_image_fs and cbf_get_image_sf read the image
array for element number element_number into an array. The array
consists of ndimslow *ndimfast elements of elsize bytes each,
starting at array. The elements are signed if elsign is non-0 and
unsigned otherwise. cbf_get_real_image, cbf_get_real_image_fs and
cbf_get_real_image_sf read the image array of IEEE doubles or floats
for element number element_number into an array. A real array is
always signed. cbf_get_3d_image, cbf_get_3d_image_fs and
cbf_get_3d_image_sf read the 3D image array for element number
element_number into an array. The array consists of ndimslow *ndimmid
*ndimfast elements of elsize bytes each, starting at array. The
elements are signed if elsign is non-0 and unsigned otherwise.
cbf_get_real_3d_image, cbf_get_real_3d_image_fs,
cbf_get_real_3d_image_sf reads the 3D image array of IEEE doubles or
floats for element number element_number into an array. A real array
is always signed.
The _fs calls give the dimensions in a fast-to-slow order. The calls
with no suffix and the calls _sf calls give the dimensions in
slow-to-fast order
The structure of the array as a 1-, 2- or 3-dimensional array should
agree with the structure of the array given in the
ARRAY_STRUCTURE_LIST category. If the array is 1-dimensional,
ndimslow should be the array size and ndimfast and, for the 3D calls,
ndimmid, should be set to 1 both in the call and in the imgCIF data
being processed. If the array is 2-dimensional and a 3D call is used,
ndimslow and ndimmid should be the
"""
return _pycbf.cbf_handle_struct_get_3d_image_sf_as_string(self, element_number, elsize, elsign, ndimfast, ndimmid, ndimslow)
def set_real_image_fs(self, element_number, compression, data, elsize, ndimfast, ndimslow):
"""
Returns :
*args : int element_number,int compression,(binary) String data,int elsize,
int dimfast,int dimslow
C prototype: int cbf_set_real_image_fs(cbf_handle handle,
unsigned int reserved, unsigned int element_number,
unsigned int compression, void *array,size_t elsize,
size_t ndimfast, size_t ndimslow);
CBFLib documentation:
DESCRIPTION
cbf_set_image, cbf_set_image_fs and cbf_set_image_sf write the image
array for element number element_number. The array consists of
ndimfast *ndimslow elements of elsize bytes each, starting at array.
The elements are signed if elsign is non-zero and unsigned otherwise.
cbf_set_real_image, cbf_set_real_image_fs and cbf_set_real_image_sf
write the image array for element number element_number. The array
consists of ndimfast *ndimslow IEEE double or float elements of
elsize bytes each, starting at array. cbf_set_3d_image,
cbf_set_3d_image_fs and cbf_set_3d_image_sf write the 3D image array
for element number element_number. The array consists of ndimfast
*ndimmid *ndimslow elements of elsize bytes each, starting at array.
The elements are signed if elsign is non-0 and unsigned otherwise.
cbf_set_real_3d_image, cbf_set_real_3d_image_fs and
cbf_set_real_3d_image_sf writes the 3D image array for element number
element_number. The array consists of ndimfast *ndimmid *ndimslow
IEEE double or float elements of elsize bytes each, starting at
array.
The _fs calls give the dimensions in a fast-to-slow order. The calls
with no suffix and the calls _sf calls give the dimensions in
slow-to-fast order
If the array is 1-dimensional, ndimslow should be the array size and
ndimfast and, for the 3D calls, ndimmid, should be set to 1. If the
array is 2-dimensional and the 3D calls are used, ndimslow and
ndimmid should be used for the array dimensions and ndimfast should
be set to 1.
The array will be compressed using the compression scheme specifed by
compression. Currently, the available schemes are:
CBF_CANONICAL Canonical-code compression (section 3.3.1)
CBF_PACKED CCP4-style packing (section 3.3.2) CBF_PACKED_V2
CCP4-style packing, version 2 (section 3.3.2) CBF_BYTE_OFFSET
Simple "byte_offset " compression. CBF_NIBBLE_OFFSET Simple
"nibble_offset " compression. CBF_NONE No compression.
The values compressed are limited to 64 bits. If any element in the
array is larger than 64 bits, the value compressed is the nearest
64-bit value.
Currently, the source array must consist of chars, shorts or ints
(signed or unsigned)for cbf_set_image, or IEEE doubles or floats for
cbf_set_real_image. If elsize is not equal to sizeof (short), sizeof
(int), sizeof(double) or sizeof(float), the function returns
CBF_ARGUMENT.
The parameter reserved is presently unused and should be set to 0.
ARGUMENTS
handle CBF handle. reserved Unused. Any value other
than 0 is invalid. element_number The number of the detector
element counting from 0 by order of appearance in the
"diffrn_data_frame " category. compression Compression type.
array Pointer to the image array. elsize Size in
bytes of each image array element. elsigned Set to non-0 if
the image array elements are signed. ndimslow Slowest array
dimension. ndimmid Second slowest array dimension. ndimfast
Fastest array dimension.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_set_real_image_fs(self, element_number, compression, data, elsize, ndimfast, ndimslow)
def get_overload(self, element_number):
"""
Returns : Float overload
*args : Integer element_number
C prototype: int cbf_get_overload (cbf_handle handle,
unsigned int element_number, double *overload);
CBFLib documentation:
DESCRIPTION
cbf_get_overload sets *overload to the overload value for element
number element_number.
ARGUMENTS
handle CBF handle. element_number The number of the
detector element counting from 0 by order of appearance in the
"diffrn_data_frame " category. overload Pointer to the
destination overload.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_get_overload(self, element_number)
def get_wavelength(self):
"""
Returns : double
*args :
C prototype: int cbf_get_wavelength (cbf_handle handle, double *wavelength);
CBFLib documentation:
DESCRIPTION
cbf_get_wavelength sets *wavelength to the current wavelength in AA.
ARGUMENTS
handle CBF handle. wavelength Pointer to the destination.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_get_wavelength(self)
def next_datablock(self):
"""
Returns :
*args :
C prototype: int cbf_next_datablock (cbf_handle handle);
CBFLib documentation:
DESCRIPTION
cbf_next_datablock makes the data block following the current data
block the current data block.
If there are no more data blocks, the function returns CBF_NOTFOUND.
The current category becomes undefined.
ARGUMENTS
handle CBF handle.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_next_datablock(self)
def get_realarrayparameters_wdims(self):
"""
Returns : int compression,int binary_id,int elsize,int elements,char **bo,
int *bolen,int dimfast,int dimmid,int dimslow,int padding
*args :
C prototype: int cbf_get_realarrayparameters_wdims (cbf_handle handle,
unsigned int *compression, int *binary_id, size_t *elsize,
size_t *elements, const char **byteorder, size_t *dimfast,
size_t *dimmid, size_t *dimslow, size_t *padding);
CBFLib documentation:
DESCRIPTION
cbf_get_integerarrayparameters sets *compression, *binary_id,
*elsize, *elsigned, *elunsigned, *elements, *minelement and
*maxelement to values read from the binary value of the item at the
current column and row. This provides all the arguments needed for a
subsequent call to cbf_set_integerarray, if a copy of the array is to
be made into another CIF or CBF. cbf_get_realarrayparameters sets
*compression, *binary_id, *elsize, *elements to values read from the
binary value of the item at the current column and row. This provides
all the arguments needed for a subsequent call to cbf_set_realarray,
if a copy of the arry is to be made into another CIF or CBF.
The variants cbf_get_integerarrayparameters_wdims,
cbf_get_integerarrayparameters_wdims_fs,
cbf_get_integerarrayparameters_wdims_sf,
cbf_get_realarrayparameters_wdims,
cbf_get_realarrayparameters_wdims_fs,
cbf_get_realarrayparameters_wdims_sf set **byteorder, *dimfast,
*dimmid, *dimslow, and *padding as well, providing the additional
parameters needed for a subsequent call to cbf_set_integerarray_wdims
or cbf_set_realarray_wdims.
The value returned in *byteorder is a pointer either to the string
"little_endian " or to the string "big_endian ". This should be
the byte order of the data, not necessarily of the host machine. No
attempt should be made to modify this string. At this time only
"little_endian " will be returned.
The values returned in *dimfast, *dimmid and *dimslow are the sizes
of the fastest changing, second fastest changing and third fastest
changing dimensions of the array, if specified, or zero, if not
specified.
The value returned in *padding is the size of the post-data padding,
if any and if specified in the data header. The value is given as a
count of octets.
If the value is not binary, the function returns CBF_ASCII.
ARGUMENTS
handle CBF handle. compression Compression method used.
elsize Size in bytes of each array element. binary_id
Pointer to the destination integer binary identifier. elsigned
Pointer to an integer. Set to 1 if the elements can be read as signed
integers. elunsigned Pointer to an integer. Set to 1 if the
elements can be read as unsigned integers. elements Pointer to
the destination number of elements. minelement Pointer to the
destination smallest element. maxelement Pointer to the
destination largest element. byteorder Pointer to the destination
byte order. dimfast Pointer to the destination fastest
dimension. dimmid Pointer to the destination second fastest
dimension. dimslow Pointer to the destination third fastest
dimension. padding Pointer to the destination padding size.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_get_realarrayparameters_wdims(self)
def set_orientation_matrix(self, m0, m1, m2, m3, m4, m5, m6, m7, m8):
"""
Returns :
*args : Float matrix_0,Float matrix_1,Float matrix_2,Float matrix_3,
Float matrix_4,Float matrix_5,Float matrix_6,Float matrix_7,
Float matrix_8
C prototype: int cbf_set_orientation_matrix (cbf_handle handle,
double ub_matrix[9]);
CBFLib documentation:
DESCRIPTION
cbf_get_orientation_matrix sets ub_matrix to point to the array of
orientation matrix entries in the "diffrn " category in the order
of columns:
"UB[1][1] " "UB[1][2] " "UB[1][3] " "UB[2][1] "
"UB[2][2] " "UB[2][3] " "UB[3][1] " "UB[3][2] "
"UB[3][3] "
cbf_set_orientation_matrix sets the values in the "diffrn "
category to the values pointed to by ub_matrix.
ARGUMENTS
handle CBF handle. ubmatric Source or destination array of 9
doubles giving the orientation matrix parameters.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_set_orientation_matrix(self, m0, m1, m2, m3, m4, m5, m6, m7, m8)
def new_category(self, arg):
"""
Returns : string
*args :
C prototype: int cbf_new_category (cbf_handle handle,
const char *categoryname);
CBFLib documentation:
DESCRIPTION
cbf_new_category creates a new category in the current data block
with name categoryname and makes it the current category.
If a category with this name already exists, the existing category
becomes the current category.
ARGUMENTS
handle CBF handle. categoryname The name of the new
category.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_new_category(self, arg)
def set_gain(self, element_number, gain, gain_esd):
"""
Returns :
*args : Float gain,Float gain_esd
C prototype: int cbf_set_gain (cbf_handle handle, unsigned int element_number,
double gain, double gain_esd);
CBFLib documentation:
DESCRIPTION
cbf_set_gain sets the gain of element number element_number to the
values specified by gain and gain_esd.
ARGUMENTS
handle CBF handle. element_number The number of the
detector element counting from 0 by order of appearance in the
"diffrn_data_frame " category. gain New gain value.
gain_esd New gain_esd value.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_set_gain(self, element_number, gain, gain_esd)
def find_column(self, arg):
"""
Returns : string
*args :
C prototype: int cbf_find_column (cbf_handle handle, const char *columnname);
CBFLib documentation:
DESCRIPTION
cbf_find_column makes the columns in the current category with name
columnname the current column.
The comparison is case-insensitive.
If the column does not exist, the function returns CBF_NOTFOUND.
The current row is not affected.
ARGUMENTS
handle CBF handle. columnname The name of column to find.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_find_column(self, arg)
def remove_category(self):
"""
Returns :
*args :
C prototype: int cbf_remove_category (cbf_handle handle);
CBFLib documentation:
DESCRIPTION
cbf_remove_category deletes the current category.
The current category becomes undefined.
ARGUMENTS
handle CBF handle.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_remove_category(self)
def get_integerarrayparameters_wdims_sf(self):
"""
Returns : int compression,int binary_id,int elsize,int elsigned,int elunsigned,
int elements,int minelement,int maxelement,char **bo,int *bolen,
int dimslow,int dimmid,int dimfast,int padding
*args :
C prototype: int cbf_get_integerarrayparameters_wdims_sf (cbf_handle handle,
unsigned int *compression, int *binary_id, size_t *elsize,
int *elsigned, int *elunsigned, size_t *elements,
int *minelement, int *maxelement, const char **byteorder,
size_t *dimslow, size_t *dimmid, size_t *dimfast,
size_t *padding);
CBFLib documentation:
DESCRIPTION
cbf_get_integerarrayparameters sets *compression, *binary_id,
*elsize, *elsigned, *elunsigned, *elements, *minelement and
*maxelement to values read from the binary value of the item at the
current column and row. This provides all the arguments needed for a
subsequent call to cbf_set_integerarray, if a copy of the array is to
be made into another CIF or CBF. cbf_get_realarrayparameters sets
*compression, *binary_id, *elsize, *elements to values read from the
binary value of the item at the current column and row. This provides
all the arguments needed for a subsequent call to cbf_set_realarray,
if a copy of the arry is to be made into another CIF or CBF.
The variants cbf_get_integerarrayparameters_wdims,
cbf_get_integerarrayparameters_wdims_fs,
cbf_get_integerarrayparameters_wdims_sf,
cbf_get_realarrayparameters_wdims,
cbf_get_realarrayparameters_wdims_fs,
cbf_get_realarrayparameters_wdims_sf set **byteorder, *dimfast,
*dimmid, *dimslow, and *padding as well, providing the additional
parameters needed for a subsequent call to cbf_set_integerarray_wdims
or cbf_set_realarray_wdims.
The value returned in *byteorder is a pointer either to the string
"little_endian " or to the string "big_endian ". This should be
the byte order of the data, not necessarily of the host machine. No
attempt should be made to modify this string. At this time only
"little_endian " will be returned.
The values returned in *dimfast, *dimmid and *dimslow are the sizes
of the fastest changing, second fastest changing and third fastest
changing dimensions of the array, if specified, or zero, if not
specified.
The value returned in *padding is the size of the post-data padding,
if any and if specified in the data header. The value is given as a
count of octets.
If the value is not binary, the function returns CBF_ASCII.
ARGUMENTS
handle CBF handle. compression Compression method used.
elsize Size in bytes of each array element. binary_id
Pointer to the destination integer binary identifier. elsigned
Pointer to an integer. Set to 1 if the elements can be read as signed
integers. elunsigned Pointer to an integer. Set to 1 if the
elements can be read as unsigned integers. elements Pointer to
the destination number of elements. minelement Pointer to the
destination smallest element. maxelement Pointer to the
destination largest element. byteorder Pointer to the destination
byte order. dimfast Pointer to the destination fastest
dimension. dimmid Pointer to the destination second fastest
dimension. dimslow Pointer to the destination third fastest
dimension. padding Pointer to the destination padding size.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_get_integerarrayparameters_wdims_sf(self)
def get_pixel_size(self, element_number, axis_number):
"""
Returns : Float pixel_size
*args : Int element_number,Int axis_number
C prototype: int cbf_get_pixel_size (cbf_handle handle,
unsigned int element_number, int axis_number,
double *psize);
CBFLib documentation:
DESCRIPTION
cbf_get_pixel_size and cbf_get_pixel_size_sf set *psize to point to
the double value in millimeters of the axis axis_number of the
detector element element_number. The axis_number is numbered from 1,
starting with the slowest axis. cbf_get_pixel_size_fs sets *psize to
point to the double value in millimeters of the axis axis_number of
the detector element element_number. The axis_number is numbered from
1, starting with the fastest axis.
If a negative axis number is given, the order of axes is reversed, so
that -1 specifies the slowest axis for cbf_get_pixel_size_fs and the
fastest axis for cbf_get_pixel_size_sf.
If the pixel size is not given explcitly in the "array_element_size
" category, the function returns CBF_NOTFOUND.
ARGUMENTS
handle CBF handle. element_number The number of the
detector element counting from 0 by order of appearance in the
"diffrn_data_frame " category. axis_number The number of the
axis, starting from 1 for the fastest for cbf_get_pixel_size and
cbf_get_pixel_size_fs and the slowest for cbf_get_pixel_size_sf.
psize Pointer to the destination pixel size.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_get_pixel_size(self, element_number, axis_number)
def set_real_image_sf(self, element_number, compression, data, elsize, ndimslow, ndimfast):
"""
Returns :
*args : int element_number,int compression,(binary) String data,int elsize,
int dimslow,int dimfast
C prototype: int cbf_set_real_image_sf(cbf_handle handle,
unsigned int reserved, unsigned int element_number,
unsigned int compression, void *array,size_t elsize,
size_t ndimslow, size_t ndimfast);
CBFLib documentation:
DESCRIPTION
cbf_set_image, cbf_set_image_fs and cbf_set_image_sf write the image
array for element number element_number. The array consists of
ndimfast *ndimslow elements of elsize bytes each, starting at array.
The elements are signed if elsign is non-zero and unsigned otherwise.
cbf_set_real_image, cbf_set_real_image_fs and cbf_set_real_image_sf
write the image array for element number element_number. The array
consists of ndimfast *ndimslow IEEE double or float elements of
elsize bytes each, starting at array. cbf_set_3d_image,
cbf_set_3d_image_fs and cbf_set_3d_image_sf write the 3D image array
for element number element_number. The array consists of ndimfast
*ndimmid *ndimslow elements of elsize bytes each, starting at array.
The elements are signed if elsign is non-0 and unsigned otherwise.
cbf_set_real_3d_image, cbf_set_real_3d_image_fs and
cbf_set_real_3d_image_sf writes the 3D image array for element number
element_number. The array consists of ndimfast *ndimmid *ndimslow
IEEE double or float elements of elsize bytes each, starting at
array.
The _fs calls give the dimensions in a fast-to-slow order. The calls
with no suffix and the calls _sf calls give the dimensions in
slow-to-fast order
If the array is 1-dimensional, ndimslow should be the array size and
ndimfast and, for the 3D calls, ndimmid, should be set to 1. If the
array is 2-dimensional and the 3D calls are used, ndimslow and
ndimmid should be used for the array dimensions and ndimfast should
be set to 1.
The array will be compressed using the compression scheme specifed by
compression. Currently, the available schemes are:
CBF_CANONICAL Canonical-code compression (section 3.3.1)
CBF_PACKED CCP4-style packing (section 3.3.2) CBF_PACKED_V2
CCP4-style packing, version 2 (section 3.3.2) CBF_BYTE_OFFSET
Simple "byte_offset " compression. CBF_NIBBLE_OFFSET Simple
"nibble_offset " compression. CBF_NONE No compression.
The values compressed are limited to 64 bits. If any element in the
array is larger than 64 bits, the value compressed is the nearest
64-bit value.
Currently, the source array must consist of chars, shorts or ints
(signed or unsigned)for cbf_set_image, or IEEE doubles or floats for
cbf_set_real_image. If elsize is not equal to sizeof (short), sizeof
(int), sizeof(double) or sizeof(float), the function returns
CBF_ARGUMENT.
The parameter reserved is presently unused and should be set to 0.
ARGUMENTS
handle CBF handle. reserved Unused. Any value other
than 0 is invalid. element_number The number of the detector
element counting from 0 by order of appearance in the
"diffrn_data_frame " category. compression Compression type.
array Pointer to the image array. elsize Size in
bytes of each image array element. elsigned Set to non-0 if
the image array elements are signed. ndimslow Slowest array
dimension. ndimmid Second slowest array dimension. ndimfast
Fastest array dimension.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_set_real_image_sf(self, element_number, compression, data, elsize, ndimslow, ndimfast)
def require_category(self, arg):
"""
Returns : string
*args :
C prototype: int cbf_require_category (cbf_handle handle,
const char *categoryname);
CBFLib documentation:
DESCRIPTION
cbf_rewuire_category makes the category in the current data block
with name categoryname the current category, if it exists, or creates
the catagory if it does not exist.
The comparison is case-insensitive.
The current column and row become undefined.
ARGUMENTS
handle CBF handle. categoryname The name of the category to
find.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_require_category(self, arg)
def get_reciprocal_cell(self):
"""
Returns : Float astar,Float bstar,Float cstar,Float alphastar,Float betastar,
Float gammastar
*args :
C prototype: int cbf_get_reciprocal_cell (cbf_handle handle, double cell[6],
double cell_esd[6] );
CBFLib documentation:
DESCRIPTION
cbf_get_reciprocal_cell sets cell[0:2] to the double values of the
reciprocal cell edge lengths a*, b* and c* in AAngstroms-1, cell[3:5]
to the double values of the reciprocal cell angles a*, b* and g* in
degrees, cell_esd[0:2] to the double values of the estimated
strandard deviations of the reciprocal cell edge lengths a*, b* and
c* in AAngstroms-1, cell_esd[3:5] to the double values of the
estimated standard deviations of the the reciprocal cell angles a*,
b* and g* in degrees.
The values returned are retrieved from the first row of the "cell
" category. The value of "_cell.entry_id " is ignored.
cell or cell_esd may be NULL.
If cell is NULL, the reciprocal cell parameters are not retrieved.
If cell_esd is NULL, the reciprocal cell parameter esds are not
retrieved.
If the "cell " category is present, but some of the values are
missing, zeros are returned for the missing values.
ARGUMENTS
handle CBF handle. cell Pointer to the destination array of
6 doubles for the reciprocal cell parameters. cell_esd Pointer to
the destination array of 6 doubles for the reciprocal cell parameter
esds.
RETURN VALUE
Returns an error code on failure or 0 for success. No errors is
returned for missing values if the "cell " category exists.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_get_reciprocal_cell(self)
def get_reciprocal_cell_esd(self):
"""get_reciprocal_cell_esd(cbf_handle_struct self)"""
return _pycbf.cbf_handle_struct_get_reciprocal_cell_esd(self)
def get_3d_image_size(self, element_number):
"""
Returns : size_t ndimslow,size_t ndimmid,size_t ndimfast
*args : Integer element_number
C prototype: int cbf_get_3d_image_size (cbf_handle handle,
unsigned int reserved, unsigned int element_number,
size_t *ndimslow, size_t *ndimmid, size_t *ndimfast);
CBFLib documentation:
DESCRIPTION
cbf_get_image_size, cbf_get_image_size_fs and cbf_get_image_size_sf
set *ndimslow and *ndimfast to the slow and fast dimensions of the
image array for element number element_number. If the array is
1-dimensional, *ndimslow will be set to the array size and *ndimfast
will be set to 1. If the array is 3-dimensional an error code will be
returned. cbf_get_3d_image_size, cbf_get_3d_image_size_fs and
cbf_get_3d_image_size_sf set *ndimslow, *ndimmid and *ndimfast to the
slowest, next fastest and fastest dimensions, respectively, of the 3D
image array for element number element_number. If the array is
1-dimensional, *ndimslow will be set to the array size and *ndimmid
and
"""
return _pycbf.cbf_handle_struct_get_3d_image_size(self, element_number)
def find_tag_root(self, tagname):
"""
Returns : String tagroot
*args : String tagname
C prototype: int cbf_find_tag_root (cbf_handle handle, const char* tagname,
const char** tagroot);
CBFLib documentation:
DESCRIPTION
cbf_find_tag_root sets *tagroot to the root tag of which tagname is
an alias. cbf_set_tag_root sets tagname as an alias of tagroot_in in
the dictionary associated with handle, creating the dictionary if
necessary. cbf_require_tag_root sets *tagroot to the root tag of
which tagname is an alias, if there is one, or to the value of
tagname, if tagname is not an alias.
A returned tagroot string must not be modified in any way.
ARGUMENTS
handle CBF handle. tagname tag name which may be an alias.
tagroot pointer to a returned tag root name. tagroot_in input
tag root name.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_find_tag_root(self, tagname)
def require_category_root(self, categoryname):
"""require_category_root(cbf_handle_struct self, char const * categoryname) -> char const *"""
return _pycbf.cbf_handle_struct_require_category_root(self, categoryname)
def set_realarray_wdims_sf(self, compression, binary_id, data, elsize, elements, bo, dimslow, dimmid, dimfast, padding):
"""
Returns :
*args : int compression,int binary_id,(binary) String data,int elsize,
int elements,String byteorder,int dimslow,int dimmid,int dimfast,
int padding
C prototype: int cbf_set_realarray_wdims_sf (cbf_handle handle,
unsigned int compression, int binary_id, void *array,
size_t elsize, size_t elements, const char *byteorder,
size_t dimslow, size_t dimmid, size_t dimfast,
size_t padding);
CBFLib documentation:
DESCRIPTION
cbf_set_integerarray sets the binary value of the item at the current
column and row to an integer array. The array consists of elements
elements of elsize bytes each, starting at array. The elements are
signed if elsigned is non-0 and unsigned otherwise. binary_id is the
binary section identifier. cbf_set_realarray sets the binary value of
the item at the current column and row to an integer array. The array
consists of elements elements of elsize bytes each, starting at
array. binary_id is the binary section identifier.
The cbf_set_integerarray_wdims, cbf_set_integerarray_wdims_fs,
cbf_set_integerarray_wdims_sf, cbf_set_realarray_wdims,
cbf_set_realarray_wdims_fs and cbf_set_realarray_wdims_sf variants
allow the data header values of byteorder, dimfast, dimmid, dimslow
and padding to be set to the data byte order, the fastest, second
fastest and third fastest array dimensions and the size in byte of
the post data padding to be used.
The array will be compressed using the compression scheme specifed by
compression. Currently, the available schemes are:
CBF_CANONICAL Canonical-code compression (section 3.3.1)
CBF_PACKED CCP4-style packing (section 3.3.2) CBF_PACKED_V2
CCP4-style packing, version 2 (section 3.3.2) CBF_BYTE_OFFSET
Simple "byte_offset " compression. CBF_NIBBLE_OFFSET Simple
"nibble_offset " compression. CBF_NONE No compression.
NOTE: This scheme is by far the slowest of the four and uses much
more disk space. It is intended for routine use with small arrays
only. With large arrays (like images) it should be used only for
debugging.
The values compressed are limited to 64 bits. If any element in the
array is larger than 64 bits, the value compressed is the nearest
64-bit value.
Currently, the source array must consist of chars, shorts or ints
(signed or unsigned), for cbf_set_integerarray, or IEEE doubles or
floats for cbf_set_realarray. If elsize is not equal to sizeof
(char), sizeof (short) or sizeof (int), the function returns
CBF_ARGUMENT.
ARGUMENTS
handle CBF handle. compression Compression method to use.
binary_id Integer binary identifier. array Pointer to the
source array. elsize Size in bytes of each source array
element. elsigned Set to non-0 if the source array elements are
signed. elements: The number of elements in the array.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_set_realarray_wdims_sf(self, compression, binary_id, data, elsize, elements, bo, dimslow, dimmid, dimfast, padding)
def set_integervalue(self, number):
"""
Returns : int number
*args :
C prototype: int cbf_set_integervalue (cbf_handle handle, int number);
CBFLib documentation:
DESCRIPTION
cbf_set_integervalue sets the item at the current column and row to
the integer value number written as a decimal ASCII string.
ARGUMENTS
handle CBF handle. number Integer value.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_set_integervalue(self, number)
def category_name(self):
"""
Returns :
*args : string
C prototype: int cbf_category_name (cbf_handle handle,
const char **categoryname);
CBFLib documentation:
DESCRIPTION
cbf_category_name sets *categoryname to point to the name of the
current category of the current data block.
The category name will be valid as long as the category exists.
The name must not be modified by the program in any way.
ARGUMENTS
handle CBF handle. categoryname Pointer to the destination
category name pointer.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_category_name(self)
def get_typeofvalue(self):
"""
Returns :
*args : string
C prototype: int cbf_get_typeofvalue (cbf_handle handle,
const char **typeofvalue);
CBFLib documentation:
DESCRIPTION
cbf_get_value sets *typeofvalue to point an ASCII descriptor of the
value of the item at the current column and row. The strings that may
be returned are:
"null " for a null value indicated by a ". " or a "? "
"bnry " for a binary value "word " for an unquoted string
"dblq " for a double-quoted string "sglq " for a single-quoted
string "text " for a semicolon-quoted string (multiline text
field) "prns " for a parenthesis-bracketed string (multiline text
field) "brcs " for a brace-bracketed string (multiline text field)
"bkts " for a square-bracket-bracketed string (multiline text
field) "tsqs " for a treble-single-quote quoted string (multiline
text field) "tdqs " for a treble-double-quote quoted string
(multiline text field)
Not all types are valid for all type of CIF files. In partcular the
types "prns ", "brcs ", "bkts " were introduced with DDLm
and are not valid in DDL1 or DDL2 CIFS. The types "tsqs " and
"tdqs " are not formally part of the CIF syntax. A field for which
no value has been set sets *typeofvalue to NULL rather than to the
string "null ".
The typeofvalue must not be modified by the program in any way.
ARGUMENTS
handle CBF handle. typeofvalue Pointer to the destination
type-of-value string pointer.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_get_typeofvalue(self)
def set_real_image(self, element_number, compression, data, elsize, ndimslow, ndimfast):
"""
Returns :
*args : int element_number,int compression,(binary) String data,int elsize,
int dimslow,int dimfast
C prototype: int cbf_set_real_image (cbf_handle handle, unsigned int reserved,
unsigned int element_number, unsigned int compression,
void *array,size_t elsize, size_t ndimslow,
size_t ndimfast);
CBFLib documentation:
DESCRIPTION
cbf_set_image, cbf_set_image_fs and cbf_set_image_sf write the image
array for element number element_number. The array consists of
ndimfast *ndimslow elements of elsize bytes each, starting at array.
The elements are signed if elsign is non-zero and unsigned otherwise.
cbf_set_real_image, cbf_set_real_image_fs and cbf_set_real_image_sf
write the image array for element number element_number. The array
consists of ndimfast *ndimslow IEEE double or float elements of
elsize bytes each, starting at array. cbf_set_3d_image,
cbf_set_3d_image_fs and cbf_set_3d_image_sf write the 3D image array
for element number element_number. The array consists of ndimfast
*ndimmid *ndimslow elements of elsize bytes each, starting at array.
The elements are signed if elsign is non-0 and unsigned otherwise.
cbf_set_real_3d_image, cbf_set_real_3d_image_fs and
cbf_set_real_3d_image_sf writes the 3D image array for element number
element_number. The array consists of ndimfast *ndimmid *ndimslow
IEEE double or float elements of elsize bytes each, starting at
array.
The _fs calls give the dimensions in a fast-to-slow order. The calls
with no suffix and the calls _sf calls give the dimensions in
slow-to-fast order
If the array is 1-dimensional, ndimslow should be the array size and
ndimfast and, for the 3D calls, ndimmid, should be set to 1. If the
array is 2-dimensional and the 3D calls are used, ndimslow and
ndimmid should be used for the array dimensions and ndimfast should
be set to 1.
The array will be compressed using the compression scheme specifed by
compression. Currently, the available schemes are:
CBF_CANONICAL Canonical-code compression (section 3.3.1)
CBF_PACKED CCP4-style packing (section 3.3.2) CBF_PACKED_V2
CCP4-style packing, version 2 (section 3.3.2) CBF_BYTE_OFFSET
Simple "byte_offset " compression. CBF_NIBBLE_OFFSET Simple
"nibble_offset " compression. CBF_NONE No compression.
The values compressed are limited to 64 bits. If any element in the
array is larger than 64 bits, the value compressed is the nearest
64-bit value.
Currently, the source array must consist of chars, shorts or ints
(signed or unsigned)for cbf_set_image, or IEEE doubles or floats for
cbf_set_real_image. If elsize is not equal to sizeof (short), sizeof
(int), sizeof(double) or sizeof(float), the function returns
CBF_ARGUMENT.
The parameter reserved is presently unused and should be set to 0.
ARGUMENTS
handle CBF handle. reserved Unused. Any value other
than 0 is invalid. element_number The number of the detector
element counting from 0 by order of appearance in the
"diffrn_data_frame " category. compression Compression type.
array Pointer to the image array. elsize Size in
bytes of each image array element. elsigned Set to non-0 if
the image array elements are signed. ndimslow Slowest array
dimension. ndimmid Second slowest array dimension. ndimfast
Fastest array dimension.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_set_real_image(self, element_number, compression, data, elsize, ndimslow, ndimfast)
def get_3d_image_as_string(self, element_number, elsize, elsign, ndimfast, ndimmid, ndimslow):
"""
Returns : (Binary)String
*args : int element_number,int elsize,int elsign,int ndimslow,int ndimmid,
int ndimfast
C prototype: int cbf_get_3d_image (cbf_handle handle, unsigned int reserved,
unsigned int element_number, void *array, size_t elsize,
int elsign, size_t ndimslow, size_t ndimmid,
size_t ndimfast);
CBFLib documentation:
DESCRIPTION
cbf_get_image, cbf_get_image_fs and cbf_get_image_sf read the image
array for element number element_number into an array. The array
consists of ndimslow *ndimfast elements of elsize bytes each,
starting at array. The elements are signed if elsign is non-0 and
unsigned otherwise. cbf_get_real_image, cbf_get_real_image_fs and
cbf_get_real_image_sf read the image array of IEEE doubles or floats
for element number element_number into an array. A real array is
always signed. cbf_get_3d_image, cbf_get_3d_image_fs and
cbf_get_3d_image_sf read the 3D image array for element number
element_number into an array. The array consists of ndimslow *ndimmid
*ndimfast elements of elsize bytes each, starting at array. The
elements are signed if elsign is non-0 and unsigned otherwise.
cbf_get_real_3d_image, cbf_get_real_3d_image_fs,
cbf_get_real_3d_image_sf reads the 3D image array of IEEE doubles or
floats for element number element_number into an array. A real array
is always signed.
The _fs calls give the dimensions in a fast-to-slow order. The calls
with no suffix and the calls _sf calls give the dimensions in
slow-to-fast order
The structure of the array as a 1-, 2- or 3-dimensional array should
agree with the structure of the array given in the
ARRAY_STRUCTURE_LIST category. If the array is 1-dimensional,
ndimslow should be the array size and ndimfast and, for the 3D calls,
ndimmid, should be set to 1 both in the call and in the imgCIF data
being processed. If the array is 2-dimensional and a 3D call is used,
ndimslow and ndimmid should be the
"""
return _pycbf.cbf_handle_struct_get_3d_image_as_string(self, element_number, elsize, elsign, ndimfast, ndimmid, ndimslow)
def get_axis_reference_poise(self, axis_id):
"""
Returns : Float vector1,Float vector2,Float vector3,Float offset1,Float offset2,
Float offset3
*args : String axis_id
C prototype: int cbf_get_axis_reference_poise(cbf_handle handle,
double * vector1, double * vector2, double * vector3,
double * offset1, double * offset2, double * offset3,
const char * axis_id);
CBFLib documentation:
DESCRIPTION
cbf_get_axis_poise sets vector1, vector2, vector3 to point to the
components of the axis vector for axis axis_id, offset1, offset2,
offset3 to point to the components of the axis base offset vector for
axis axis_id, and angle to point to the angle of rotation of axis
axis_id after application of the axis settings for frame frame_id,
using ratio, a value between 0 and 1, indicating how far into the
internal motion in the frame to go. If frame_id is the string ".
", the first frame found is used. If there is more than one frame,
which frame will be found is indeterminate. If frame_id is NULL, the
overall setting for the scan are used, rather than those for any
particular frame. The vector and offset reported are the reference
vector and offset of the axis axis_id transformed by application of
all motions of the axes on which axis_id depends.
cbf_get_goniometer_poise vector1, vector2, vector3 to point to the
components of the axis vector for the goniometer axis, offset1,
offset2, offset3 to point to the components of the axis base offset
vector for the goniometer axis, and angle to point to the angle of
rotation of the goniometer axis after application of all axis
settings in the goniometer deriving the vector, offset and angle from
the resulting matrix. Calculation of the vector is indeterminate if
the angle is zero.
cbf_get_axis_reference_poise sets vector1, vector2, vector3 to point
to the components of the axis vector for axis axis_id, offset1,
offset2, offset3 to point to the components of the axis base offset
vector for axis axis_id unmodified by axis rotations. Any of the
pointers may be specified as NULL.
ARGUMENTS
handle CBF handle. ratio A number between 0 and 1
indication how far into the frame to go vector1 Pointer to the
first component of the axis vector vector2 Pointer to the second
component of the axis vector vector3 Pointer to the third
component of the axis vector offset1 Pointer to the first
component of the axis offset offset2 Pointer to the second
component of the axis offset offset3 Pointer to the third
component of the axis offset angle Pointer to the rotation
angle axis_id The specified axis frame_id The specified
frame positioner CBF goniometer
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_get_axis_reference_poise(self, axis_id)
def remove_row(self):
"""
Returns :
*args :
C prototype: int cbf_remove_row (cbf_handle handle);
CBFLib documentation:
DESCRIPTION
cbf_remove_row deletes the current row in the current category.
If the current row was the last row, it will move down by 1,
otherwise, it will remain the same.
ARGUMENTS
handle CBF handle.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_remove_row(self)
def set_overload(self, element_number, overload):
"""
Returns :
*args : Integer element_number,Float overload
C prototype: int cbf_set_overload (cbf_handle handle,
unsigned int element_number, double overload);
CBFLib documentation:
DESCRIPTION
cbf_set_overload sets the overload value of element number
element_number to overload.
ARGUMENTS
handle CBF handle. element_number The number of the
detector element counting from 0 by order of appearance in the
"diffrn_data_frame " category. overload New overload value.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_set_overload(self, element_number, overload)
def get_image_size(self, element_number):
"""
Returns : size_t ndim1,size_t ndim2
*args : Integer element_number
C prototype: int cbf_get_image_size (cbf_handle handle, unsigned int reserved,
unsigned int element_number, size_t *ndimslow,
size_t *ndimfast);
CBFLib documentation:
DESCRIPTION
cbf_get_image_size, cbf_get_image_size_fs and cbf_get_image_size_sf
set *ndimslow and *ndimfast to the slow and fast dimensions of the
image array for element number element_number. If the array is
1-dimensional, *ndimslow will be set to the array size and *ndimfast
will be set to 1. If the array is 3-dimensional an error code will be
returned. cbf_get_3d_image_size, cbf_get_3d_image_size_fs and
cbf_get_3d_image_size_sf set *ndimslow, *ndimmid and *ndimfast to the
slowest, next fastest and fastest dimensions, respectively, of the 3D
image array for element number element_number. If the array is
1-dimensional, *ndimslow will be set to the array size and *ndimmid
and
"""
return _pycbf.cbf_handle_struct_get_image_size(self, element_number)
def set_3d_image_sf(self, element_number, compression, data, elsize, elsign, ndimslow, ndimmid, ndimfast):
"""
Returns :
*args : int element_number,int compression,(binary) String data,int elsize,
int elsign,int dimslow,int dimmid,int dimfast
C prototype: int cbf_set_3d_image_sf(cbf_handle handle, unsigned int reserved,
unsigned int element_number, unsigned int compression,
void *array, size_t elsize, int elsign, size_t ndimslow,
size_t ndimmid, size_t ndimfast);
CBFLib documentation:
DESCRIPTION
cbf_set_image, cbf_set_image_fs and cbf_set_image_sf write the image
array for element number element_number. The array consists of
ndimfast *ndimslow elements of elsize bytes each, starting at array.
The elements are signed if elsign is non-zero and unsigned otherwise.
cbf_set_real_image, cbf_set_real_image_fs and cbf_set_real_image_sf
write the image array for element number element_number. The array
consists of ndimfast *ndimslow IEEE double or float elements of
elsize bytes each, starting at array. cbf_set_3d_image,
cbf_set_3d_image_fs and cbf_set_3d_image_sf write the 3D image array
for element number element_number. The array consists of ndimfast
*ndimmid *ndimslow elements of elsize bytes each, starting at array.
The elements are signed if elsign is non-0 and unsigned otherwise.
cbf_set_real_3d_image, cbf_set_real_3d_image_fs and
cbf_set_real_3d_image_sf writes the 3D image array for element number
element_number. The array consists of ndimfast *ndimmid *ndimslow
IEEE double or float elements of elsize bytes each, starting at
array.
The _fs calls give the dimensions in a fast-to-slow order. The calls
with no suffix and the calls _sf calls give the dimensions in
slow-to-fast order
If the array is 1-dimensional, ndimslow should be the array size and
ndimfast and, for the 3D calls, ndimmid, should be set to 1. If the
array is 2-dimensional and the 3D calls are used, ndimslow and
ndimmid should be used for the array dimensions and ndimfast should
be set to 1.
The array will be compressed using the compression scheme specifed by
compression. Currently, the available schemes are:
CBF_CANONICAL Canonical-code compression (section 3.3.1)
CBF_PACKED CCP4-style packing (section 3.3.2) CBF_PACKED_V2
CCP4-style packing, version 2 (section 3.3.2) CBF_BYTE_OFFSET
Simple "byte_offset " compression. CBF_NIBBLE_OFFSET Simple
"nibble_offset " compression. CBF_NONE No compression.
The values compressed are limited to 64 bits. If any element in the
array is larger than 64 bits, the value compressed is the nearest
64-bit value.
Currently, the source array must consist of chars, shorts or ints
(signed or unsigned)for cbf_set_image, or IEEE doubles or floats for
cbf_set_real_image. If elsize is not equal to sizeof (short), sizeof
(int), sizeof(double) or sizeof(float), the function returns
CBF_ARGUMENT.
The parameter reserved is presently unused and should be set to 0.
ARGUMENTS
handle CBF handle. reserved Unused. Any value other
than 0 is invalid. element_number The number of the detector
element counting from 0 by order of appearance in the
"diffrn_data_frame " category. compression Compression type.
array Pointer to the image array. elsize Size in
bytes of each image array element. elsigned Set to non-0 if
the image array elements are signed. ndimslow Slowest array
dimension. ndimmid Second slowest array dimension. ndimfast
Fastest array dimension.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_set_3d_image_sf(self, element_number, compression, data, elsize, elsign, ndimslow, ndimmid, ndimfast)
def get_real_image_sf_as_string(self, element_number, elsize, ndimslow, ndimfast):
"""
Returns : (Binary)String
*args : int element_number,int elsize,int ndimslow,int ndimfast
C prototype: int cbf_get_real_image_sf (cbf_handle handle,
unsigned int reserved, unsigned int element_number,
void *array, size_t elsize, size_t ndimslow,
size_t ndimfast);
CBFLib documentation:
DESCRIPTION
cbf_get_image, cbf_get_image_fs and cbf_get_image_sf read the image
array for element number element_number into an array. The array
consists of ndimslow *ndimfast elements of elsize bytes each,
starting at array. The elements are signed if elsign is non-0 and
unsigned otherwise. cbf_get_real_image, cbf_get_real_image_fs and
cbf_get_real_image_sf read the image array of IEEE doubles or floats
for element number element_number into an array. A real array is
always signed. cbf_get_3d_image, cbf_get_3d_image_fs and
cbf_get_3d_image_sf read the 3D image array for element number
element_number into an array. The array consists of ndimslow *ndimmid
*ndimfast elements of elsize bytes each, starting at array. The
elements are signed if elsign is non-0 and unsigned otherwise.
cbf_get_real_3d_image, cbf_get_real_3d_image_fs,
cbf_get_real_3d_image_sf reads the 3D image array of IEEE doubles or
floats for element number element_number into an array. A real array
is always signed.
The _fs calls give the dimensions in a fast-to-slow order. The calls
with no suffix and the calls _sf calls give the dimensions in
slow-to-fast order
The structure of the array as a 1-, 2- or 3-dimensional array should
agree with the structure of the array given in the
ARRAY_STRUCTURE_LIST category. If the array is 1-dimensional,
ndimslow should be the array size and ndimfast and, for the 3D calls,
ndimmid, should be set to 1 both in the call and in the imgCIF data
being processed. If the array is 2-dimensional and a 3D call is used,
ndimslow and ndimmid should be the
"""
return _pycbf.cbf_handle_struct_get_real_image_sf_as_string(self, element_number, elsize, ndimslow, ndimfast)
def get_image_as_string(self, element_number, elsize, elsign, ndimslow, ndimfast):
"""
Returns : (Binary)String
*args : int element_number,int elsize,int elsign,int ndimslow,int ndimfast
C prototype: int cbf_get_image (cbf_handle handle, unsigned int reserved,
unsigned int element_number, void *array, size_t elsize,
int elsign, size_t ndimslow, size_t ndimfast);
CBFLib documentation:
DESCRIPTION
cbf_get_image, cbf_get_image_fs and cbf_get_image_sf read the image
array for element number element_number into an array. The array
consists of ndimslow *ndimfast elements of elsize bytes each,
starting at array. The elements are signed if elsign is non-0 and
unsigned otherwise. cbf_get_real_image, cbf_get_real_image_fs and
cbf_get_real_image_sf read the image array of IEEE doubles or floats
for element number element_number into an array. A real array is
always signed. cbf_get_3d_image, cbf_get_3d_image_fs and
cbf_get_3d_image_sf read the 3D image array for element number
element_number into an array. The array consists of ndimslow *ndimmid
*ndimfast elements of elsize bytes each, starting at array. The
elements are signed if elsign is non-0 and unsigned otherwise.
cbf_get_real_3d_image, cbf_get_real_3d_image_fs,
cbf_get_real_3d_image_sf reads the 3D image array of IEEE doubles or
floats for element number element_number into an array. A real array
is always signed.
The _fs calls give the dimensions in a fast-to-slow order. The calls
with no suffix and the calls _sf calls give the dimensions in
slow-to-fast order
The structure of the array as a 1-, 2- or 3-dimensional array should
agree with the structure of the array given in the
ARRAY_STRUCTURE_LIST category. If the array is 1-dimensional,
ndimslow should be the array size and ndimfast and, for the 3D calls,
ndimmid, should be set to 1 both in the call and in the imgCIF data
being processed. If the array is 2-dimensional and a 3D call is used,
ndimslow and ndimmid should be the
"""
return _pycbf.cbf_handle_struct_get_image_as_string(self, element_number, elsize, elsign, ndimslow, ndimfast)
def set_tag_root(self, tagname, tagroot_in):
"""
Returns :
*args : String tagname,String tagroot_in
C prototype: int cbf_set_tag_root (cbf_handle handle, const char* tagname,
const char*tagroot_in);
CBFLib documentation:
DESCRIPTION
cbf_find_tag_root sets *tagroot to the root tag of which tagname is
an alias. cbf_set_tag_root sets tagname as an alias of tagroot_in in
the dictionary associated with handle, creating the dictionary if
necessary. cbf_require_tag_root sets *tagroot to the root tag of
which tagname is an alias, if there is one, or to the value of
tagname, if tagname is not an alias.
A returned tagroot string must not be modified in any way.
ARGUMENTS
handle CBF handle. tagname tag name which may be an alias.
tagroot pointer to a returned tag root name. tagroot_in input
tag root name.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_set_tag_root(self, tagname, tagroot_in)
def write_widefile(self, filename, ciforcbf, headers, encoding):
"""
Returns :
*args : String filename,Integer ciforcbf,Integer Headers,Integer encoding
C prototype: int cbf_write_widefile (cbf_handle handle, FILE *file,
int readable, int ciforcbf, int flags, int encoding);
CBFLib documentation:
DESCRIPTION
cbf_write_file writes the CBF object specified by handle into the
file file, following CIF 1.0 conventions of 80 character lines.
cbf_write_widefile writes the CBF object specified by handle into the
file file, following CIF 1.1 conventions of 2048 character lines. A
warning is issued to stderr for ascii lines over the limit, and an
attempt is made to fold lines to fit. No test is performed on binary
sections.
If a dictionary has been provided, aliases will be applied on output.
Unlike cbf_read_file, the file does not have to be random-access.
If the file is random-access and readable, readable can be set to
non-0 to indicate to CBFlib that the file can be used as a buffer to
conserve disk space. If the file is not random-access or not
readable, readable must be 0.
"""
return _pycbf.cbf_handle_struct_write_widefile(self, filename, ciforcbf, headers, encoding)
def count_rows(self):
"""
Returns : Integer
*args :
C prototype: int cbf_count_rows (cbf_handle handle, unsigned int *rows);
CBFLib documentation:
DESCRIPTION
cbf_count_rows puts the number of rows in the current category in
*rows .
ARGUMENTS
handle CBF handle. rows Pointer to the destination row count.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_count_rows(self)
def require_datablock(self, arg):
"""
Returns : string
*args :
C prototype: int cbf_require_datablock (cbf_handle handle,
const char *datablockname);
CBFLib documentation:
DESCRIPTION
cbf_require_datablock makes the data block with name datablockname
the current data block, if it exists, or creates it if it does not.
The comparison is case-insensitive.
The current category becomes undefined.
ARGUMENTS
handle CBF handle. datablockname The name of the data
block to find or create.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_require_datablock(self, arg)
def set_integerarray(self, compression, binary_id, data, elsize, elsigned, elements):
"""
Returns :
*args : int compression,int binary_id,(binary) String data,int elsize,
int elsigned,int elements
C prototype: int cbf_set_integerarray (cbf_handle handle,
unsigned int compression, int binary_id, void *array,
size_t elsize, int elsigned, size_t elements);
CBFLib documentation:
DESCRIPTION
cbf_set_integerarray sets the binary value of the item at the current
column and row to an integer array. The array consists of elements
elements of elsize bytes each, starting at array. The elements are
signed if elsigned is non-0 and unsigned otherwise. binary_id is the
binary section identifier. cbf_set_realarray sets the binary value of
the item at the current column and row to an integer array. The array
consists of elements elements of elsize bytes each, starting at
array. binary_id is the binary section identifier.
The cbf_set_integerarray_wdims, cbf_set_integerarray_wdims_fs,
cbf_set_integerarray_wdims_sf, cbf_set_realarray_wdims,
cbf_set_realarray_wdims_fs and cbf_set_realarray_wdims_sf variants
allow the data header values of byteorder, dimfast, dimmid, dimslow
and padding to be set to the data byte order, the fastest, second
fastest and third fastest array dimensions and the size in byte of
the post data padding to be used.
The array will be compressed using the compression scheme specifed by
compression. Currently, the available schemes are:
CBF_CANONICAL Canonical-code compression (section 3.3.1)
CBF_PACKED CCP4-style packing (section 3.3.2) CBF_PACKED_V2
CCP4-style packing, version 2 (section 3.3.2) CBF_BYTE_OFFSET
Simple "byte_offset " compression. CBF_NIBBLE_OFFSET Simple
"nibble_offset " compression. CBF_NONE No compression.
NOTE: This scheme is by far the slowest of the four and uses much
more disk space. It is intended for routine use with small arrays
only. With large arrays (like images) it should be used only for
debugging.
The values compressed are limited to 64 bits. If any element in the
array is larger than 64 bits, the value compressed is the nearest
64-bit value.
Currently, the source array must consist of chars, shorts or ints
(signed or unsigned), for cbf_set_integerarray, or IEEE doubles or
floats for cbf_set_realarray. If elsize is not equal to sizeof
(char), sizeof (short) or sizeof (int), the function returns
CBF_ARGUMENT.
ARGUMENTS
handle CBF handle. compression Compression method to use.
binary_id Integer binary identifier. array Pointer to the
source array. elsize Size in bytes of each source array
element. elsigned Set to non-0 if the source array elements are
signed. elements: The number of elements in the array.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_set_integerarray(self, compression, binary_id, data, elsize, elsigned, elements)
def new_datablock(self, arg):
"""
Returns : string
*args :
C prototype: int cbf_new_datablock (cbf_handle handle,
const char *datablockname);
CBFLib documentation:
DESCRIPTION
cbf_new_datablock creates a new data block with name datablockname
and makes it the current data block. cbf_new_saveframe creates a new
save frame with name saveframename within the current data block and
makes the new save frame the current save frame.
If a data block or save frame with this name already exists, the
existing data block or save frame becomes the current data block or
save frame.
ARGUMENTS
handle CBF handle. datablockname The name of the new data
block. saveframename The name of the new save frame.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_new_datablock(self, arg)
def set_datestamp(self, year, month, day, hour, minute, second, timezone, precision):
"""
Returns :
*args : int year,int month,int day,int hour,int minute,double second,
int timezone,Float precision
C prototype: int cbf_set_datestamp (cbf_handle handle, unsigned int reserved,
int year, int month, int day, int hour, int minute,
double second, int timezone, double precision);
CBFLib documentation:
DESCRIPTION
cbf_set_datestamp sets the collection timestamp in seconds since
January 1 1970 to the value specified by time. The timezone
difference from UTC
"""
return _pycbf.cbf_handle_struct_set_datestamp(self, year, month, day, hour, minute, second, timezone, precision)
def next_row(self):
"""
Returns :
*args :
C prototype: int cbf_next_row (cbf_handle handle);
CBFLib documentation:
DESCRIPTION
cbf_next_row makes the row following the current row in the current
category the current row.
If there are no more rows, the function returns CBF_NOTFOUND.
The current column is not affected.
ARGUMENTS
handle CBF handle.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_next_row(self)
def set_category_root(self, categoryname, categoryroot):
"""
Returns :
*args : String categoryname,String categoryroot
C prototype: int cbf_set_category_root (cbf_handle handle,
const char* categoryname_in, const char*categoryroot);
CBFLib documentation:
DESCRIPTION
cbf_find_category_root sets *categoryroot to the root category of
which categoryname is an alias. cbf_set_category_root sets
categoryname_in as an alias of categoryroot in the dictionary
associated with handle, creating the dictionary if necessary.
cbf_require_category_root sets *categoryroot to the root category of
which categoryname is an alias, if there is one, or to the value of
categoryname, if categoryname is not an alias.
A returned categoryroot string must not be modified in any way.
ARGUMENTS
handle CBF handle. categoryname category name which
may be an alias. categoryroot pointer to a returned category
root name. categoryroot_in input category root name.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_set_category_root(self, categoryname, categoryroot)
def get_axis_offset(self, axis_id):
"""
Returns : Float offset1,Float offset2,Float offset3
*args : String axis_id
C prototype: int cbf_get_axis_offset (cbf_handle handle, const char *axis_id,
double *offset1, double *offset2, double *offset3);
CBFLib documentation:
DESCRIPTION
cbf_count_axis_ancestors sets ancestors to the number of ancestors of
axis axis_id. cbf_get_axis_ancestor sets *ancestor to the ancestor
axis of index ancestor_index of axis axis_id, starting with axis_id
for ancestor_index 0.
cbf_get_axis_depends_on sets *depends_on to the immediate ancestor of
axis_id or to ". " if there is no such ancestor.
cbf_get_axis_equipment sets *equipment to the equipment of axis_id or
to ". " if there is no such equipment.
cbf_get_axis_equipment_component sets *equipment_component to the
equipment_component of axis_id or to ". " if there is no such
equipment_component.
cbf_get_axis_offset sets *offset1, *offset2 and *offset3 to the
components of the ofset of axis_id.
cbf_get_axis_rotation sets rotation to the rotation of axis_id or to
0 if there is no such rotation. cbf_get_axis_rotation_axis sets
*rotation_axis to the rotation_axis of axis_id or to ". " if there
is no such rotation_axis.
cbf_get_axis_setting sets *start and *increment to the corresponding
values of the axis axis_id. Any of the destination pointers may be
NULL.
cbf_get_axis_type sets axis_type to the type of axis_id.
cbf_get_axis_vector sets *vector1, *vector2 and *vector3 to the
components of the vector of axis_id.
The parameter reserved is presently unused and should be set to 0.
ARGUMENTS
handle CBF handle. reserved Unused. Any
value other than 0 is invalid. axis_id Axis id.
ancestor_index Integer index of the desired ancestor, starting
with 0 for the current axis_id. ancestor Pointer to
destination ancestor name pointer. depends_on Pointer to
destination depends_on name pointer. equipment Pointer to
destination equipment name pointer. equipment_component Pointer to
destination equipment_component name pointer. offset1
Pointer to destination first offset component value. offset2
Pointer to destination second offset component value. offset3
Pointer to destination third offset component value.
rotation Pointer to destination rotation value.
rotation_axis Pointer to destination rotation_axisn name
pointer. start Pointer to the destination start
value. increment Pointer to the destination increment
value. type Pointer to destination axis type of type
. vector1 Pointer to destination first vector component
value. vector2 Pointer to destination second vector
component value. vector3 Pointer to destination third
vector component value.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_get_axis_offset(self, axis_id)
def set_pixel_size_fs(self, element_number, axis_number, psize):
"""
Returns :
*args : Int element_number,Int axis_number,Float pixel size
C prototype: int cbf_set_pixel_size_fs(cbf_handle handle,
unsigned int element_number, int axis_number,
double psize);
CBFLib documentation:
DESCRIPTION
cbf_set_pixel_size and cbf_set_pixel_size_sf set the item in the
"e;size"e; column of the "array_structure_list " category
at the row which matches axis axis_number of the detector element
element_number converting the double pixel size psize from meters to
millimeters in storing it in the "size " column for the axis
axis_number of the detector element element_number. The axis_number
is numbered from 1, starting with the slowest axis.
cbf_set_pixel_size_fs sets the item
"""
return _pycbf.cbf_handle_struct_set_pixel_size_fs(self, element_number, axis_number, psize)
def insert_row(self, arg):
"""
Returns :
*args : Integer
C prototype: int cbf_insert_row (cbf_handle handle, unsigned int rownumber);
CBFLib documentation:
DESCRIPTION
cbf_insert_row adds a new row to the current category. The new row is
inserted as row rownumber and existing rows starting from rownumber
are moved up by 1. The new row becomes the current row.
If the category has fewer than rownumber rows, the function returns
CBF_NOTFOUND.
The row numbers start from 0.
ARGUMENTS
handle CBF handle. rownumber The row number of the new row.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_insert_row(self, arg)
def new_column(self, arg):
"""
Returns : string
*args :
C prototype: int cbf_new_column (cbf_handle handle, const char *columnname);
CBFLib documentation:
DESCRIPTION
cbf_new_column creates a new column in the current category with name
columnname and makes it the current column.
If a column with this name already exists, the existing column
becomes the current category.
ARGUMENTS
handle CBF handle. columnname The name of the new column.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_new_column(self, arg)
def get_real_3d_image_as_string(self, element_number, elsize, ndimslow, ndimmid, ndimfast):
"""
Returns : (Binary)String
*args : int element_number,int elsize,int ndimslow,int ndimmid,int ndimfast
C prototype: int cbf_get_real_3d_image (cbf_handle handle,
unsigned int reserved, unsigned int element_number,
void *array, size_t elsize, size_t ndimslow,
size_t ndimmid, size_t ndimfast);
CBFLib documentation:
DESCRIPTION
cbf_get_image, cbf_get_image_fs and cbf_get_image_sf read the image
array for element number element_number into an array. The array
consists of ndimslow *ndimfast elements of elsize bytes each,
starting at array. The elements are signed if elsign is non-0 and
unsigned otherwise. cbf_get_real_image, cbf_get_real_image_fs and
cbf_get_real_image_sf read the image array of IEEE doubles or floats
for element number element_number into an array. A real array is
always signed. cbf_get_3d_image, cbf_get_3d_image_fs and
cbf_get_3d_image_sf read the 3D image array for element number
element_number into an array. The array consists of ndimslow *ndimmid
*ndimfast elements of elsize bytes each, starting at array. The
elements are signed if elsign is non-0 and unsigned otherwise.
cbf_get_real_3d_image, cbf_get_real_3d_image_fs,
cbf_get_real_3d_image_sf reads the 3D image array of IEEE doubles or
floats for element number element_number into an array. A real array
is always signed.
The _fs calls give the dimensions in a fast-to-slow order. The calls
with no suffix and the calls _sf calls give the dimensions in
slow-to-fast order
The structure of the array as a 1-, 2- or 3-dimensional array should
agree with the structure of the array given in the
ARRAY_STRUCTURE_LIST category. If the array is 1-dimensional,
ndimslow should be the array size and ndimfast and, for the 3D calls,
ndimmid, should be set to 1 both in the call and in the imgCIF data
being processed. If the array is 2-dimensional and a 3D call is used,
ndimslow and ndimmid should be the
"""
return _pycbf.cbf_handle_struct_get_real_3d_image_as_string(self, element_number, elsize, ndimslow, ndimmid, ndimfast)
def get_integration_time(self):
"""
Returns : Float time
*args :
C prototype: int cbf_get_integration_time (cbf_handle handle,
unsigned int reserved, double *time);
CBFLib documentation:
DESCRIPTION
cbf_get_integration_time sets *time to the integration time in
seconds. The parameter reserved is presently unused and should be set
to 0.
ARGUMENTS
handle CBF handle. reserved Unused. Any value other than 0 is
invalid. time Pointer to the destination time.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_get_integration_time(self)
def set_realarray(self, compression, binary_id, data, elsize, elements):
"""
Returns :
*args : int compression,int binary_id,(binary) String data,int elsize,
int elements
C prototype: int cbf_set_realarray (cbf_handle handle,
unsigned int compression, int binary_id, void *array,
size_t elsize, size_t elements);
CBFLib documentation:
DESCRIPTION
cbf_set_integerarray sets the binary value of the item at the current
column and row to an integer array. The array consists of elements
elements of elsize bytes each, starting at array. The elements are
signed if elsigned is non-0 and unsigned otherwise. binary_id is the
binary section identifier. cbf_set_realarray sets the binary value of
the item at the current column and row to an integer array. The array
consists of elements elements of elsize bytes each, starting at
array. binary_id is the binary section identifier.
The cbf_set_integerarray_wdims, cbf_set_integerarray_wdims_fs,
cbf_set_integerarray_wdims_sf, cbf_set_realarray_wdims,
cbf_set_realarray_wdims_fs and cbf_set_realarray_wdims_sf variants
allow the data header values of byteorder, dimfast, dimmid, dimslow
and padding to be set to the data byte order, the fastest, second
fastest and third fastest array dimensions and the size in byte of
the post data padding to be used.
The array will be compressed using the compression scheme specifed by
compression. Currently, the available schemes are:
CBF_CANONICAL Canonical-code compression (section 3.3.1)
CBF_PACKED CCP4-style packing (section 3.3.2) CBF_PACKED_V2
CCP4-style packing, version 2 (section 3.3.2) CBF_BYTE_OFFSET
Simple "byte_offset " compression. CBF_NIBBLE_OFFSET Simple
"nibble_offset " compression. CBF_NONE No compression.
NOTE: This scheme is by far the slowest of the four and uses much
more disk space. It is intended for routine use with small arrays
only. With large arrays (like images) it should be used only for
debugging.
The values compressed are limited to 64 bits. If any element in the
array is larger than 64 bits, the value compressed is the nearest
64-bit value.
Currently, the source array must consist of chars, shorts or ints
(signed or unsigned), for cbf_set_integerarray, or IEEE doubles or
floats for cbf_set_realarray. If elsize is not equal to sizeof
(char), sizeof (short) or sizeof (int), the function returns
CBF_ARGUMENT.
ARGUMENTS
handle CBF handle. compression Compression method to use.
binary_id Integer binary identifier. array Pointer to the
source array. elsize Size in bytes of each source array
element. elsigned Set to non-0 if the source array elements are
signed. elements: The number of elements in the array.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_set_realarray(self, compression, binary_id, data, elsize, elements)
def get_element_id(self, element_number):
"""
Returns : String
*args : Integer element_number
C prototype: int cbf_get_element_id (cbf_handle handle,
unsigned int element_number, const char **element_id);
CBFLib documentation:
DESCRIPTION
cbf_get_element_number sets element_number to a number that can be
used in other cbf_simple calls to identify the detector element
element_id and optionally the specific array_id> and
array_section_id. cbf_get_element_id sets *element_id to point to the
ASCII value of the element_number'th
"diffrn_data_frame.detector_element_id " entry, counting from 0.
The element_number is the ordinal of the detector element in the
DIFFRN_DETECTOR_ELEMENT category. If an array_section_id is specified
(i.e. is not NULL), the element_number is the sum of the ordinal of
the detector element plus the number of detector elements multiplied
by the ordinal of array_section_id for the specified array_id> in the
ARRAY_STRUCTURE_LIST_SECTION category.
If the detector element does not exist, the function returns
CBF_NOTFOUND.
The element_id will be valid as long as the item exists and has not
been set to a new value.
The element_id must not be modified by the program in any way.
ARGUMENTS
handle CBF handle. element_number The number of the
detector element counting from 0 by order of appearance in the
"diffrn_data_frame " category. element_id Pointer to the
destination string for cbf_get_element_id, but the string itself for
cbf_get_element_number. array_id The optional array id or
NULL. array_section_id The optional array_section_id or NULL.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_get_element_id(self, element_number)
def get_image_sf_as_string(self, element_number, elsize, elsign, ndimslow, ndimfast):
"""
Returns : (Binary)String
*args : int element_number,int elsize,int elsign,int ndimslow,int ndimfast
C prototype: int cbf_get_image_sf (cbf_handle handle, unsigned int reserved,
unsigned int element_number, void *array, size_t elsize,
int elsign, size_t ndimslow, size_t ndimfast);
CBFLib documentation:
DESCRIPTION
cbf_get_image, cbf_get_image_fs and cbf_get_image_sf read the image
array for element number element_number into an array. The array
consists of ndimslow *ndimfast elements of elsize bytes each,
starting at array. The elements are signed if elsign is non-0 and
unsigned otherwise. cbf_get_real_image, cbf_get_real_image_fs and
cbf_get_real_image_sf read the image array of IEEE doubles or floats
for element number element_number into an array. A real array is
always signed. cbf_get_3d_image, cbf_get_3d_image_fs and
cbf_get_3d_image_sf read the 3D image array for element number
element_number into an array. The array consists of ndimslow *ndimmid
*ndimfast elements of elsize bytes each, starting at array. The
elements are signed if elsign is non-0 and unsigned otherwise.
cbf_get_real_3d_image, cbf_get_real_3d_image_fs,
cbf_get_real_3d_image_sf reads the 3D image array of IEEE doubles or
floats for element number element_number into an array. A real array
is always signed.
The _fs calls give the dimensions in a fast-to-slow order. The calls
with no suffix and the calls _sf calls give the dimensions in
slow-to-fast order
The structure of the array as a 1-, 2- or 3-dimensional array should
agree with the structure of the array given in the
ARRAY_STRUCTURE_LIST category. If the array is 1-dimensional,
ndimslow should be the array size and ndimfast and, for the 3D calls,
ndimmid, should be set to 1 both in the call and in the imgCIF data
being processed. If the array is 2-dimensional and a 3D call is used,
ndimslow and ndimmid should be the
"""
return _pycbf.cbf_handle_struct_get_image_sf_as_string(self, element_number, elsize, elsign, ndimslow, ndimfast)
def construct_positioner(self, axis_id):
"""
Returns : pycbf positioner object
*args : String axis_id
C prototype: int cbf_construct_positioner (cbf_handle handle,
cbf_positioner *positioner, const char *axis_id);
CBFLib documentation:
DESCRIPTION
cbf_construct_positioner constructs a positioner object for the axis
given by axis_id using the description in the CBF object handle and
initialises the positioner handle *positioner.
cbf_construct_reference positioner constructs a positioner object for
the axis given by axis_id using the description in the CBF object
handle and initialises the detector handle *detector using the
reference settings of the axes.
ARGUMENTS
handle CBF handle. detector Pointer to the destination detector
handle. axis_id The identifier of the axis in the "axis "
category.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_construct_positioner(self, axis_id)
def get_3d_image_size_fs(self, element_number):
"""get_3d_image_size_fs(cbf_handle_struct self, unsigned int element_number)"""
return _pycbf.cbf_handle_struct_get_3d_image_size_fs(self, element_number)
def set_value(self, arg):
"""
Returns : string
*args :
C prototype: int cbf_set_value (cbf_handle handle, const char *value);
CBFLib documentation:
DESCRIPTION
cbf_set_value sets the item at the current column and row to the
ASCII value value.
ARGUMENTS
handle CBF handle. value ASCII value.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_set_value(self, arg)
def set_current_timestamp(self, timezone):
"""
Returns :
*args : Integer timezone
C prototype: int cbf_set_current_timestamp (cbf_handle handle,
unsigned int reserved, int timezone);
CBFLib documentation:
DESCRIPTION
cbf_set_current_timestamp sets the collection timestamp to the
current time. The timezone difference from UTC in minutes is set to
timezone. If no timezone is desired, timezone should be
CBF_NOTIMEZONE. If no timezone is used, the timest amp will be UTC.
The parameter reserved is presently unused and should be set to 0.
The new timestamp will have a precision of 1 second.
ARGUMENTS
handle CBF handle. reserved Unused. Any value other than 0 is
invalid. timezone Timezone difference from UTC in minutes or
CBF_NOTIMEZONE.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_set_current_timestamp(self, timezone)
def require_doublevalue(self, defaultvalue):
"""
Returns : Float Number
*args : Float Default
C prototype: int cbf_require_doublevalue (cbf_handle handle, double *number,
double defaultvalue);
CBFLib documentation:
DESCRIPTION
cbf_get_doublevalue sets *number to the value of the ASCII item at
the current column and row interpreted as a decimal floating-point
number. cbf_require_doublevalue sets *number to the value of the
ASCII item at the current column and row interpreted as a decimal
floating-point number, setting it to defaultvalue if necessary.
If the value is not ASCII, the function returns CBF_BINARY.
ARGUMENTS
handle CBF handle. number Pointer to the destination
number. defaultvalue default number value.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_require_doublevalue(self, defaultvalue)
def rewind_datablock(self):
"""
Returns :
*args :
C prototype: int cbf_rewind_datablock (cbf_handle handle);
CBFLib documentation:
DESCRIPTION
cbf_rewind_datablock makes the first data block the current data
block.
If there are no data blocks, the function returns CBF_NOTFOUND.
The current category becomes undefined.
ARGUMENTS
handle CBF handle.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_rewind_datablock(self)
def require_column_value(self, columnname, defaultvalue):
"""
Returns : String Name
*args : String columnnanme,String Default
C prototype: int cbf_require_column_value (cbf_handle handle,
const char *columnname, const char **value,
const char *defaultvalue);
CBFLib documentation:
DESCRIPTION
cbf_require_column_doublevalue sets *value to the ASCII item at the
current row for the column given with the name given by *columnname,
or to the string given by defaultvalue if the item cannot be found.
ARGUMENTS
handle CBF handle. columnname Name of the column
containing the number. value pointer to the location to
receive the value. defaultvalue Value to use if the requested
column and value cannot be found.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_require_column_value(self, columnname, defaultvalue)
def get_dictionary(self):
"""
Returns : CBFHandle dictionary
*args :
C prototype: int cbf_get_dictionary (cbf_handle handle,
cbf_handle * dictionary);
CBFLib documentation:
DESCRIPTION
cbf_get_dictionary sets *dictionary to the handle of a CBF which has
been associated with the CBF handle by cbf_set_dictionary.
cbf_set_dictionary associates the CBF handle dictionary_in with
handle as its dictionary. cbf_require_dictionary sets *dictionary to
the handle of a CBF which has been associated with the CBF handle by
cbf_set_dictionary or creates a new empty CBF and associates it with
handle, returning the new handle in *dictionary.
ARGUMENTS
handle CBF handle. dictionary Pointer to CBF handle of
dictionary. dictionary_in CBF handle of dcitionary.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_get_dictionary(self)
def reset_saveframe(self):
"""
Returns :
*args :
C prototype: int cbf_reset_saveframe (cbf_handle handle);
CBFLib documentation:
DESCRIPTION
cbf_reset_datablock deletes all categories from the current data
block. cbf_reset_saveframe deletes all categories from the current
save frame.
ARGUMENTS
handle CBF handle.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_reset_saveframe(self)
def set_reciprocal_cell(self, cell):
"""
Returns :
*args : double cell[6]
C prototype: int cbf_set_reciprocal_cell (cbf_handle handle, double cell[6],
double cell_esd[6] );
CBFLib documentation:
DESCRIPTION
cbf_set_reciprocal_cell sets the reciprocal cell parameters to the
double values given in cell[0:2] for the reciprocal cell edge lengths
a*, b* and c* in AAngstroms-1, the double values given in cell[3:5]
for the reciprocal cell angles a*, b* and g* in degrees, the double
values given in cell_esd[0:2] for the estimated strandard deviations
of the reciprocal cell edge lengths a*, b* and c* in AAngstroms, and
the double values given in cell_esd[3:5] for the estimated standard
deviations of the reciprocal cell angles a*, b* and g* in degrees.
The values are placed in the first row of the "cell " category. If
no value has been given for "_cell.entry_id ", it is set to the
value of the "diffrn.id " entry of the current data block.
cell or cell_esd may be NULL.
If cell is NULL, the reciprocal cell parameters are not set.
If cell_esd is NULL, the reciprocal cell parameter esds are not set.
If the "cell " category is not present, it is created. If any of
the necessary columns are not present, they are created.
ARGUMENTS
handle CBF handle. cell Pointer to the array of 6 doubles
for the reciprocal cell parameters. cell_esd Pointer to the array
of 6 doubles for the reciprocal cell parameter esds.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_set_reciprocal_cell(self, cell)
def set_reciprocal_cell_esd(self, cell_esd):
"""
Returns :
*args : double cell_esd[6]
C prototype: int cbf_set_reciprocal_cell (cbf_handle handle, double cell[6],
double cell_esd[6] );
CBFLib documentation:
DESCRIPTION
cbf_set_reciprocal_cell sets the reciprocal cell parameters to the
double values given in cell[0:2] for the reciprocal cell edge lengths
a*, b* and c* in AAngstroms-1, the double values given in cell[3:5]
for the reciprocal cell angles a*, b* and g* in degrees, the double
values given in cell_esd[0:2] for the estimated strandard deviations
of the reciprocal cell edge lengths a*, b* and c* in AAngstroms, and
the double values given in cell_esd[3:5] for the estimated standard
deviations of the reciprocal cell angles a*, b* and g* in degrees.
The values are placed in the first row of the "cell " category. If
no value has been given for "_cell.entry_id ", it is set to the
value of the "diffrn.id " entry of the current data block.
cell or cell_esd may be NULL.
If cell is NULL, the reciprocal cell parameters are not set.
If cell_esd is NULL, the reciprocal cell parameter esds are not set.
If the "cell " category is not present, it is created. If any of
the necessary columns are not present, they are created.
ARGUMENTS
handle CBF handle. cell Pointer to the array of 6 doubles
for the reciprocal cell parameters. cell_esd Pointer to the array
of 6 doubles for the reciprocal cell parameter esds.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_set_reciprocal_cell_esd(self, cell_esd)
def set_real_3d_image_fs(self, element_number, compression, data, elsize, ndimfast, ndimmid, ndimslow):
"""
Returns :
*args : int element_number,int compression,(binary) String data,int elsize,
int dimfast,int dimmid,int dimslow
C prototype: int cbf_set_real_3d_image_fs(cbf_handle handle,
unsigned int reserved, unsigned int element_number,
unsigned int compression, void *array,size_t elsize,
size_t ndimfast, size_t ndimmid, size_t ndimslow);
CBFLib documentation:
DESCRIPTION
cbf_set_image, cbf_set_image_fs and cbf_set_image_sf write the image
array for element number element_number. The array consists of
ndimfast *ndimslow elements of elsize bytes each, starting at array.
The elements are signed if elsign is non-zero and unsigned otherwise.
cbf_set_real_image, cbf_set_real_image_fs and cbf_set_real_image_sf
write the image array for element number element_number. The array
consists of ndimfast *ndimslow IEEE double or float elements of
elsize bytes each, starting at array. cbf_set_3d_image,
cbf_set_3d_image_fs and cbf_set_3d_image_sf write the 3D image array
for element number element_number. The array consists of ndimfast
*ndimmid *ndimslow elements of elsize bytes each, starting at array.
The elements are signed if elsign is non-0 and unsigned otherwise.
cbf_set_real_3d_image, cbf_set_real_3d_image_fs and
cbf_set_real_3d_image_sf writes the 3D image array for element number
element_number. The array consists of ndimfast *ndimmid *ndimslow
IEEE double or float elements of elsize bytes each, starting at
array.
The _fs calls give the dimensions in a fast-to-slow order. The calls
with no suffix and the calls _sf calls give the dimensions in
slow-to-fast order
If the array is 1-dimensional, ndimslow should be the array size and
ndimfast and, for the 3D calls, ndimmid, should be set to 1. If the
array is 2-dimensional and the 3D calls are used, ndimslow and
ndimmid should be used for the array dimensions and ndimfast should
be set to 1.
The array will be compressed using the compression scheme specifed by
compression. Currently, the available schemes are:
CBF_CANONICAL Canonical-code compression (section 3.3.1)
CBF_PACKED CCP4-style packing (section 3.3.2) CBF_PACKED_V2
CCP4-style packing, version 2 (section 3.3.2) CBF_BYTE_OFFSET
Simple "byte_offset " compression. CBF_NIBBLE_OFFSET Simple
"nibble_offset " compression. CBF_NONE No compression.
The values compressed are limited to 64 bits. If any element in the
array is larger than 64 bits, the value compressed is the nearest
64-bit value.
Currently, the source array must consist of chars, shorts or ints
(signed or unsigned)for cbf_set_image, or IEEE doubles or floats for
cbf_set_real_image. If elsize is not equal to sizeof (short), sizeof
(int), sizeof(double) or sizeof(float), the function returns
CBF_ARGUMENT.
The parameter reserved is presently unused and should be set to 0.
ARGUMENTS
handle CBF handle. reserved Unused. Any value other
than 0 is invalid. element_number The number of the detector
element counting from 0 by order of appearance in the
"diffrn_data_frame " category. compression Compression type.
array Pointer to the image array. elsize Size in
bytes of each image array element. elsigned Set to non-0 if
the image array elements are signed. ndimslow Slowest array
dimension. ndimmid Second slowest array dimension. ndimfast
Fastest array dimension.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_set_real_3d_image_fs(self, element_number, compression, data, elsize, ndimfast, ndimmid, ndimslow)
def set_doublevalue(self, format, number):
"""
Returns :
*args : String format,Float number
C prototype: int cbf_set_doublevalue (cbf_handle handle, const char *format,
double number);
CBFLib documentation:
DESCRIPTION
cbf_set_doublevalue sets the item at the current column and row to
the floating-point value number written as an ASCII string with the
format specified by format as appropriate for the printf function.
ARGUMENTS
handle CBF handle. format Format for the number. number
Floating-point value.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_set_doublevalue(self, format, number)
def find_category(self, arg):
"""
Returns : string
*args :
C prototype: int cbf_find_category (cbf_handle handle,
const char *categoryname);
CBFLib documentation:
DESCRIPTION
cbf_find_category makes the category in the current data block with
name categoryname the current category.
The comparison is case-insensitive.
If the category does not exist, the function returns CBF_NOTFOUND.
The current column and row become undefined.
ARGUMENTS
handle CBF handle. categoryname The name of the category to
find.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_find_category(self, arg)
def get_integerarrayparameters_wdims_fs(self):
"""
Returns : int compression,int binary_id,int elsize,int elsigned,int elunsigned,
int elements,int minelement,int maxelement,char **bo,int *bolen,
int dimfast,int dimmid,int dimslow,int padding
*args :
C prototype: int cbf_get_integerarrayparameters_wdims_fs (cbf_handle handle,
unsigned int *compression, int *binary_id, size_t *elsize,
int *elsigned, int *elunsigned, size_t *elements,
int *minelement, int *maxelement, const char **byteorder,
size_t *dimfast, size_t *dimmid, size_t *dimslow,
size_t *padding);
CBFLib documentation:
DESCRIPTION
cbf_get_integerarrayparameters sets *compression, *binary_id,
*elsize, *elsigned, *elunsigned, *elements, *minelement and
*maxelement to values read from the binary value of the item at the
current column and row. This provides all the arguments needed for a
subsequent call to cbf_set_integerarray, if a copy of the array is to
be made into another CIF or CBF. cbf_get_realarrayparameters sets
*compression, *binary_id, *elsize, *elements to values read from the
binary value of the item at the current column and row. This provides
all the arguments needed for a subsequent call to cbf_set_realarray,
if a copy of the arry is to be made into another CIF or CBF.
The variants cbf_get_integerarrayparameters_wdims,
cbf_get_integerarrayparameters_wdims_fs,
cbf_get_integerarrayparameters_wdims_sf,
cbf_get_realarrayparameters_wdims,
cbf_get_realarrayparameters_wdims_fs,
cbf_get_realarrayparameters_wdims_sf set **byteorder, *dimfast,
*dimmid, *dimslow, and *padding as well, providing the additional
parameters needed for a subsequent call to cbf_set_integerarray_wdims
or cbf_set_realarray_wdims.
The value returned in *byteorder is a pointer either to the string
"little_endian " or to the string "big_endian ". This should be
the byte order of the data, not necessarily of the host machine. No
attempt should be made to modify this string. At this time only
"little_endian " will be returned.
The values returned in *dimfast, *dimmid and *dimslow are the sizes
of the fastest changing, second fastest changing and third fastest
changing dimensions of the array, if specified, or zero, if not
specified.
The value returned in *padding is the size of the post-data padding,
if any and if specified in the data header. The value is given as a
count of octets.
If the value is not binary, the function returns CBF_ASCII.
ARGUMENTS
handle CBF handle. compression Compression method used.
elsize Size in bytes of each array element. binary_id
Pointer to the destination integer binary identifier. elsigned
Pointer to an integer. Set to 1 if the elements can be read as signed
integers. elunsigned Pointer to an integer. Set to 1 if the
elements can be read as unsigned integers. elements Pointer to
the destination number of elements. minelement Pointer to the
destination smallest element. maxelement Pointer to the
destination largest element. byteorder Pointer to the destination
byte order. dimfast Pointer to the destination fastest
dimension. dimmid Pointer to the destination second fastest
dimension. dimslow Pointer to the destination third fastest
dimension. padding Pointer to the destination padding size.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_get_integerarrayparameters_wdims_fs(self)
def set_realarray_wdims_fs(self, compression, binary_id, data, elsize, elements, bo, dimfast, dimmid, dimslow, padding):
"""
Returns :
*args : int compression,int binary_id,(binary) String data,int elsize,
int elements,String byteorder,int dimfast,int dimmid,int dimslow,
int padding
C prototype: int cbf_set_realarray_wdims_fs (cbf_handle handle,
unsigned int compression, int binary_id, void *array,
size_t elsize, size_t elements, const char *byteorder,
size_t dimfast, size_t dimmid, size_t dimslow,
size_t padding);
CBFLib documentation:
DESCRIPTION
cbf_set_integerarray sets the binary value of the item at the current
column and row to an integer array. The array consists of elements
elements of elsize bytes each, starting at array. The elements are
signed if elsigned is non-0 and unsigned otherwise. binary_id is the
binary section identifier. cbf_set_realarray sets the binary value of
the item at the current column and row to an integer array. The array
consists of elements elements of elsize bytes each, starting at
array. binary_id is the binary section identifier.
The cbf_set_integerarray_wdims, cbf_set_integerarray_wdims_fs,
cbf_set_integerarray_wdims_sf, cbf_set_realarray_wdims,
cbf_set_realarray_wdims_fs and cbf_set_realarray_wdims_sf variants
allow the data header values of byteorder, dimfast, dimmid, dimslow
and padding to be set to the data byte order, the fastest, second
fastest and third fastest array dimensions and the size in byte of
the post data padding to be used.
The array will be compressed using the compression scheme specifed by
compression. Currently, the available schemes are:
CBF_CANONICAL Canonical-code compression (section 3.3.1)
CBF_PACKED CCP4-style packing (section 3.3.2) CBF_PACKED_V2
CCP4-style packing, version 2 (section 3.3.2) CBF_BYTE_OFFSET
Simple "byte_offset " compression. CBF_NIBBLE_OFFSET Simple
"nibble_offset " compression. CBF_NONE No compression.
NOTE: This scheme is by far the slowest of the four and uses much
more disk space. It is intended for routine use with small arrays
only. With large arrays (like images) it should be used only for
debugging.
The values compressed are limited to 64 bits. If any element in the
array is larger than 64 bits, the value compressed is the nearest
64-bit value.
Currently, the source array must consist of chars, shorts or ints
(signed or unsigned), for cbf_set_integerarray, or IEEE doubles or
floats for cbf_set_realarray. If elsize is not equal to sizeof
(char), sizeof (short) or sizeof (int), the function returns
CBF_ARGUMENT.
ARGUMENTS
handle CBF handle. compression Compression method to use.
binary_id Integer binary identifier. array Pointer to the
source array. elsize Size in bytes of each source array
element. elsigned Set to non-0 if the source array elements are
signed. elements: The number of elements in the array.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_set_realarray_wdims_fs(self, compression, binary_id, data, elsize, elements, bo, dimfast, dimmid, dimslow, padding)
def find_category_root(self, categoryname):
"""
Returns : String categoryroot
*args : String categoryname
C prototype: int cbf_find_category_root (cbf_handle handle,
const char* categoryname, const char** categoryroot);
CBFLib documentation:
DESCRIPTION
cbf_find_category_root sets *categoryroot to the root category of
which categoryname is an alias. cbf_set_category_root sets
categoryname_in as an alias of categoryroot in the dictionary
associated with handle, creating the dictionary if necessary.
cbf_require_category_root sets *categoryroot to the root category of
which categoryname is an alias, if there is one, or to the value of
categoryname, if categoryname is not an alias.
A returned categoryroot string must not be modified in any way.
ARGUMENTS
handle CBF handle. categoryname category name which
may be an alias. categoryroot pointer to a returned category
root name. categoryroot_in input category root name.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_find_category_root(self, categoryname)
def set_integerarray_wdims_fs(self, compression, binary_id, data, elsize, elsigned, elements, bo, dimfast, dimmid, dimslow, padding):
"""
Returns :
*args : int compression,int binary_id,(binary) String data,int elsize,
int elsigned,int elements,String byteorder,int dimfast,int dimmid,
int dimslow,int padding
C prototype: int cbf_set_integerarray_wdims_fs (cbf_handle handle,
unsigned int compression, int binary_id, void *array,
size_t elsize, int elsigned, size_t elements,
const char *byteorder, size_t dimfast, size_t dimmid,
size_t dimslow, size_t padding);
CBFLib documentation:
DESCRIPTION
cbf_set_integerarray sets the binary value of the item at the current
column and row to an integer array. The array consists of elements
elements of elsize bytes each, starting at array. The elements are
signed if elsigned is non-0 and unsigned otherwise. binary_id is the
binary section identifier. cbf_set_realarray sets the binary value of
the item at the current column and row to an integer array. The array
consists of elements elements of elsize bytes each, starting at
array. binary_id is the binary section identifier.
The cbf_set_integerarray_wdims, cbf_set_integerarray_wdims_fs,
cbf_set_integerarray_wdims_sf, cbf_set_realarray_wdims,
cbf_set_realarray_wdims_fs and cbf_set_realarray_wdims_sf variants
allow the data header values of byteorder, dimfast, dimmid, dimslow
and padding to be set to the data byte order, the fastest, second
fastest and third fastest array dimensions and the size in byte of
the post data padding to be used.
The array will be compressed using the compression scheme specifed by
compression. Currently, the available schemes are:
CBF_CANONICAL Canonical-code compression (section 3.3.1)
CBF_PACKED CCP4-style packing (section 3.3.2) CBF_PACKED_V2
CCP4-style packing, version 2 (section 3.3.2) CBF_BYTE_OFFSET
Simple "byte_offset " compression. CBF_NIBBLE_OFFSET Simple
"nibble_offset " compression. CBF_NONE No compression.
NOTE: This scheme is by far the slowest of the four and uses much
more disk space. It is intended for routine use with small arrays
only. With large arrays (like images) it should be used only for
debugging.
The values compressed are limited to 64 bits. If any element in the
array is larger than 64 bits, the value compressed is the nearest
64-bit value.
Currently, the source array must consist of chars, shorts or ints
(signed or unsigned), for cbf_set_integerarray, or IEEE doubles or
floats for cbf_set_realarray. If elsize is not equal to sizeof
(char), sizeof (short) or sizeof (int), the function returns
CBF_ARGUMENT.
ARGUMENTS
handle CBF handle. compression Compression method to use.
binary_id Integer binary identifier. array Pointer to the
source array. elsize Size in bytes of each source array
element. elsigned Set to non-0 if the source array elements are
signed. elements: The number of elements in the array.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_set_integerarray_wdims_fs(self, compression, binary_id, data, elsize, elsigned, elements, bo, dimfast, dimmid, dimslow, padding)
def set_image_sf(self, element_number, compression, data, elsize, elsign, ndimslow, ndimfast):
"""
Returns :
*args : int element_number,int compression,(binary) String data,int elsize,
int elsign,int dimslow,int dimfast
C prototype: int cbf_set_image_sf(cbf_handle handle, unsigned int reserved,
unsigned int element_number, unsigned int compression,
void *array, size_t elsize, int elsign, size_t ndimslow,
size_t ndimfast);
CBFLib documentation:
DESCRIPTION
cbf_set_image, cbf_set_image_fs and cbf_set_image_sf write the image
array for element number element_number. The array consists of
ndimfast *ndimslow elements of elsize bytes each, starting at array.
The elements are signed if elsign is non-zero and unsigned otherwise.
cbf_set_real_image, cbf_set_real_image_fs and cbf_set_real_image_sf
write the image array for element number element_number. The array
consists of ndimfast *ndimslow IEEE double or float elements of
elsize bytes each, starting at array. cbf_set_3d_image,
cbf_set_3d_image_fs and cbf_set_3d_image_sf write the 3D image array
for element number element_number. The array consists of ndimfast
*ndimmid *ndimslow elements of elsize bytes each, starting at array.
The elements are signed if elsign is non-0 and unsigned otherwise.
cbf_set_real_3d_image, cbf_set_real_3d_image_fs and
cbf_set_real_3d_image_sf writes the 3D image array for element number
element_number. The array consists of ndimfast *ndimmid *ndimslow
IEEE double or float elements of elsize bytes each, starting at
array.
The _fs calls give the dimensions in a fast-to-slow order. The calls
with no suffix and the calls _sf calls give the dimensions in
slow-to-fast order
If the array is 1-dimensional, ndimslow should be the array size and
ndimfast and, for the 3D calls, ndimmid, should be set to 1. If the
array is 2-dimensional and the 3D calls are used, ndimslow and
ndimmid should be used for the array dimensions and ndimfast should
be set to 1.
The array will be compressed using the compression scheme specifed by
compression. Currently, the available schemes are:
CBF_CANONICAL Canonical-code compression (section 3.3.1)
CBF_PACKED CCP4-style packing (section 3.3.2) CBF_PACKED_V2
CCP4-style packing, version 2 (section 3.3.2) CBF_BYTE_OFFSET
Simple "byte_offset " compression. CBF_NIBBLE_OFFSET Simple
"nibble_offset " compression. CBF_NONE No compression.
The values compressed are limited to 64 bits. If any element in the
array is larger than 64 bits, the value compressed is the nearest
64-bit value.
Currently, the source array must consist of chars, shorts or ints
(signed or unsigned)for cbf_set_image, or IEEE doubles or floats for
cbf_set_real_image. If elsize is not equal to sizeof (short), sizeof
(int), sizeof(double) or sizeof(float), the function returns
CBF_ARGUMENT.
The parameter reserved is presently unused and should be set to 0.
ARGUMENTS
handle CBF handle. reserved Unused. Any value other
than 0 is invalid. element_number The number of the detector
element counting from 0 by order of appearance in the
"diffrn_data_frame " category. compression Compression type.
array Pointer to the image array. elsize Size in
bytes of each image array element. elsigned Set to non-0 if
the image array elements are signed. ndimslow Slowest array
dimension. ndimmid Second slowest array dimension. ndimfast
Fastest array dimension.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_set_image_sf(self, element_number, compression, data, elsize, elsign, ndimslow, ndimfast)
def get_axis_equipment(self, axis_id):
"""
Returns : String
*args : String axis_id
C prototype: int cbf_get_axis_equipment (cbf_handle handle,
const char *axis_id, const char * *equipment);
CBFLib documentation:
DESCRIPTION
cbf_count_axis_ancestors sets ancestors to the number of ancestors of
axis axis_id. cbf_get_axis_ancestor sets *ancestor to the ancestor
axis of index ancestor_index of axis axis_id, starting with axis_id
for ancestor_index 0.
cbf_get_axis_depends_on sets *depends_on to the immediate ancestor of
axis_id or to ". " if there is no such ancestor.
cbf_get_axis_equipment sets *equipment to the equipment of axis_id or
to ". " if there is no such equipment.
cbf_get_axis_equipment_component sets *equipment_component to the
equipment_component of axis_id or to ". " if there is no such
equipment_component.
cbf_get_axis_offset sets *offset1, *offset2 and *offset3 to the
components of the ofset of axis_id.
cbf_get_axis_rotation sets rotation to the rotation of axis_id or to
0 if there is no such rotation. cbf_get_axis_rotation_axis sets
*rotation_axis to the rotation_axis of axis_id or to ". " if there
is no such rotation_axis.
cbf_get_axis_setting sets *start and *increment to the corresponding
values of the axis axis_id. Any of the destination pointers may be
NULL.
cbf_get_axis_type sets axis_type to the type of axis_id.
cbf_get_axis_vector sets *vector1, *vector2 and *vector3 to the
components of the vector of axis_id.
The parameter reserved is presently unused and should be set to 0.
ARGUMENTS
handle CBF handle. reserved Unused. Any
value other than 0 is invalid. axis_id Axis id.
ancestor_index Integer index of the desired ancestor, starting
with 0 for the current axis_id. ancestor Pointer to
destination ancestor name pointer. depends_on Pointer to
destination depends_on name pointer. equipment Pointer to
destination equipment name pointer. equipment_component Pointer to
destination equipment_component name pointer. offset1
Pointer to destination first offset component value. offset2
Pointer to destination second offset component value. offset3
Pointer to destination third offset component value.
rotation Pointer to destination rotation value.
rotation_axis Pointer to destination rotation_axisn name
pointer. start Pointer to the destination start
value. increment Pointer to the destination increment
value. type Pointer to destination axis type of type
. vector1 Pointer to destination first vector component
value. vector2 Pointer to destination second vector
component value. vector3 Pointer to destination third
vector component value.
RETURN VALUE
Returns an error code on failure or 0 for success.
----------------------------------------------------------------------
"""
return _pycbf.cbf_handle_struct_get_axis_equipment(self, axis_id)
def set_unit_cell(self, cell):
"""
Returns :
*args : double cell[6]
C prototype: int cbf_set_unit_cell (cbf_handle handle, double cell[6],
double cell_esd[6] );
CBFLib documentation:
DESCRIPTION
cbf_set_unit_cell sets the cell parameters to the double values given
in cell[0:2] for the cell edge lengths a, b and c in AAngstroms, the
double values given in cell[3:5] for the cell angles a, b and g in
degrees, the double values given in cell_esd[0:2] for the estimated
strandard deviations of the cell edge lengths a, b and c in
AAngstroms, and the double values given in cell_esd[3:5] for the
estimated standard deviations of the the cell angles a, b and g in
degrees.
The values are placed in the first row of the "cell " category. If
no value has been given for "_cell.entry_id ", it is set to the
value of the "diffrn.id " entry of the current data block.
cell or cell_esd may be NULL.
If cell is NULL, the cell parameters are not set.
If cell_esd is NULL, the cell parameter esds are not set.
If the "cell " category is not present, it is created. If any of
the necessary columns are not present, they are created.
ARGUMENTS
handle CBF handle. cell Pointer to the array of 6 doubles
for the cell parameters. cell_esd Pointer to the array of 6 doubles
for the cell parameter esds.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_set_unit_cell(self, cell)
def set_unit_cell_esd(self, cell_esd):
"""
Returns :
*args : double cell_esd[6]
C prototype: int cbf_set_unit_cell (cbf_handle handle, double cell[6],
double cell_esd[6] );
CBFLib documentation:
DESCRIPTION
cbf_set_unit_cell sets the cell parameters to the double values given
in cell[0:2] for the cell edge lengths a, b and c in AAngstroms, the
double values given in cell[3:5] for the cell angles a, b and g in
degrees, the double values given in cell_esd[0:2] for the estimated
strandard deviations of the cell edge lengths a, b and c in
AAngstroms, and the double values given in cell_esd[3:5] for the
estimated standard deviations of the the cell angles a, b and g in
degrees.
The values are placed in the first row of the "cell " category. If
no value has been given for "_cell.entry_id ", it is set to the
value of the "diffrn.id " entry of the current data block.
cell or cell_esd may be NULL.
If cell is NULL, the cell parameters are not set.
If cell_esd is NULL, the cell parameter esds are not set.
If the "cell " category is not present, it is created. If any of
the necessary columns are not present, they are created.
ARGUMENTS
handle CBF handle. cell Pointer to the array of 6 doubles
for the cell parameters. cell_esd Pointer to the array of 6 doubles
for the cell parameter esds.
RETURN VALUE
Returns an error code on failure or 0 for success.
SEE ALSO
"""
return _pycbf.cbf_handle_struct_set_unit_cell_esd(self, cell_esd)
cbf_handle_struct_swigregister = _pycbf.cbf_handle_struct_swigregister
cbf_handle_struct_swigregister(cbf_handle_struct)
# This file is compatible with both classic and new-style classes.
| 47.840907
| 168
| 0.656805
| 58,254
| 443,246
| 4.828716
| 0.019054
| 0.01326
| 0.014206
| 0.021341
| 0.943628
| 0.925192
| 0.907665
| 0.891213
| 0.874429
| 0.862769
| 0
| 0.007394
| 0.290243
| 443,246
| 9,264
| 169
| 47.846071
| 0.886741
| 0.761895
| 0
| 0.153571
| 1
| 0.00119
| 0.027792
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.308333
| false
| 0.002381
| 0.022619
| 0.020238
| 0.704762
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 9
|
cb182bdac43854b12e7ead65a31d0087c00d9db1
| 179
|
py
|
Python
|
core/src/zeit/content/author/tests/test_doctest.py
|
rickdg/vivi
|
16134ac954bf8425646d4ad47bdd1f372e089355
|
[
"BSD-3-Clause"
] | 5
|
2019-05-16T09:51:29.000Z
|
2021-05-31T09:30:03.000Z
|
core/src/zeit/content/author/tests/test_doctest.py
|
rickdg/vivi
|
16134ac954bf8425646d4ad47bdd1f372e089355
|
[
"BSD-3-Clause"
] | 107
|
2019-05-24T12:19:02.000Z
|
2022-03-23T15:05:56.000Z
|
core/src/zeit/content/author/tests/test_doctest.py
|
rickdg/vivi
|
16134ac954bf8425646d4ad47bdd1f372e089355
|
[
"BSD-3-Clause"
] | 3
|
2020-08-14T11:01:17.000Z
|
2022-01-08T17:32:19.000Z
|
import zeit.content.author.testing
def test_suite():
return zeit.content.author.testing.FunctionalDocFileSuite(
'README.txt',
package='zeit.content.author')
| 22.375
| 62
| 0.715084
| 20
| 179
| 6.35
| 0.65
| 0.259843
| 0.401575
| 0.377953
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.167598
| 179
| 7
| 63
| 25.571429
| 0.852349
| 0
| 0
| 0
| 0
| 0
| 0.162011
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| true
| 0
| 0.2
| 0.2
| 0.6
| 0
| 1
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 1
| 0
|
0
| 8
|
cb284b2b1f0ef4fcd5682da80d006661e5623b50
| 96
|
py
|
Python
|
gpflow/covariances/__init__.py
|
elvijs/GPflow
|
056e59f2c5aa2b5021de9b7b91ce1cee2ea0bb92
|
[
"Apache-2.0"
] | null | null | null |
gpflow/covariances/__init__.py
|
elvijs/GPflow
|
056e59f2c5aa2b5021de9b7b91ce1cee2ea0bb92
|
[
"Apache-2.0"
] | null | null | null |
gpflow/covariances/__init__.py
|
elvijs/GPflow
|
056e59f2c5aa2b5021de9b7b91ce1cee2ea0bb92
|
[
"Apache-2.0"
] | null | null | null |
from .dispatch import Kuf
from .dispatch import Kuu
from . import kufs, kuus, mo_kufs, mo_kuus
| 19.2
| 42
| 0.770833
| 16
| 96
| 4.5
| 0.5
| 0.333333
| 0.5
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.166667
| 96
| 4
| 43
| 24
| 0.9
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
cb854c3a0985930a86e32e4ec7c7eabe6fab6c9e
| 15,651
|
py
|
Python
|
src/methods/plot/plots.py
|
itatop/popsimenv
|
520050db600fbdcd36d54ba7cac5a36e10090c27
|
[
"MIT"
] | null | null | null |
src/methods/plot/plots.py
|
itatop/popsimenv
|
520050db600fbdcd36d54ba7cac5a36e10090c27
|
[
"MIT"
] | null | null | null |
src/methods/plot/plots.py
|
itatop/popsimenv
|
520050db600fbdcd36d54ba7cac5a36e10090c27
|
[
"MIT"
] | null | null | null |
"""
Code for generating plots.
"""
import pandas
import seaborn as sns
import matplotlib
from matplotlib import pyplot as plt
import numpy as np
import subprocess
# Force matplotlib to not use any Xwindows backend.
matplotlib.use('Agg')
sns.set_style("darkgrid")
def plot_fsc_results_human_IM_general(fsc_infile, outfile, simulated_genome_length, params):
sns.set(style="whitegrid")
## convert fsc estimates to be comparable and add "A-" needed for converting df to long format
fsc = pandas.read_csv(fsc_infile, skiprows=0, sep="\t")
fsc['A-Na'] = fsc['ANCSIZE']/2
fsc['A-N1'] = fsc['NPOP2']/2
fsc['A-N2'] = fsc['NPOP1']/2
fsc['A-TDIV'] = fsc['TDIV']
fsc['A-MIG12'] =fsc['MIG12']
fsc['A-MIG21'] =fsc['MIG21']
#create and plot data frame of pop size and t div estimates
f, ax = plt.subplots(figsize=(10, 10))
# need to convert Tdiv from years to generations
# Neu (N1) computed as harmonic mean over history of european pop
# truth_N = pandas.DataFrame(np.array([[7300,12300,3517.113,T_Div]]), columns=['A-Na','A-N1','A-N2','A-TDIV'])
truth_N = pandas.DataFrame(params, columns=['A-Na','A-N1','A-N2','A-TDIV'])
data_N = fsc[['A-Na','A-N1','A-N2','A-TDIV']]
data_N=data_N.append(truth_N, sort=True)
num_sims = fsc.shape[0]
data_N['method']=['fsc']*num_sims+['truth']
data_N=data_N.reset_index(drop=True).reset_index()
data_N_long=pandas.wide_to_long(df=data_N,stubnames=["A"],i='index',j='parameter',sep="-",suffix='(\d+|\w+)').reset_index().rename(columns={'A':'estimate','method':'method'})
# add 'truth' from mean coalescence time method
meal_coal_time_N1 = pandas.DataFrame(np.array([["N1","N_mean_coal_time",18114.993411358824/2]]), columns=['parameter','method','estimate'])
meal_coal_time_N2 = pandas.DataFrame(np.array([["N2","N_mean_coal_time",13021.533578633795/2]]), columns=['parameter','method','estimate'])
data_N_long = data_N_long.append(meal_coal_time_N1,sort=True)
data_N_long = data_N_long.append(meal_coal_time_N2,sort=True)
# add 'truth' from: N = - T/(2*log(P(not coalesced at split)))
truth_p_not_coal_N1 = pandas.DataFrame(np.array([["N1","N_p_not_coal",11671.97129362]]), columns=['parameter','method','estimate'])
truth_p_not_coal_N2 = pandas.DataFrame(np.array([["N2","N_p_not_coal",5352.07636014]]), columns=['parameter','method','estimate'])
data_N_long = data_N_long.append(truth_p_not_coal_N1,sort=True)
data_N_long = data_N_long.append(truth_p_not_coal_N2,sort=True)
sns.stripplot(data=data_N_long,x='parameter',y='estimate', hue='method', jitter=True, palette='muted', size=7, linewidth=1).set_title('Human IM inference')
ax.set(ylim=(0, 20000))
f.savefig(outfile[0], bbox_inches='tight', alpha=0.8)
#create and plot data frame of migration rate estimates
f, ax = plt.subplots(figsize=(10, 10))
truth_M = pandas.DataFrame(np.array([[3e-5,3e-5]]), columns=['A-MIG12','A-MIG21'])
data_M = fsc[['A-MIG12','A-MIG21']]
data_M=data_M.append(truth_M, sort=True)
num_sims = fsc.shape[0]
data_M['method']=['fsc']*num_sims+['truth']
data_M=data_M.reset_index(drop=True).reset_index()
data_M_long=pandas.wide_to_long(df=data_M,stubnames=["A"],i='index',j='parameter',sep="-",suffix='(\d+|\w+)').reset_index().rename(columns={'A':'estimate','method':'method'})
sns.stripplot(data=data_M_long,x='parameter',y='estimate', hue='method', jitter=True, palette='muted', size=7, linewidth=1)
ax.set(ylim=(-1e-5, 4e-4))
f.savefig(outfile[1], bbox_inches='tight', alpha=0.8)
def plot_fsc_results_human_IM(fsc_infile, outfile, simulated_genome_length,T_Div):
sns.set(style="whitegrid")
## convert fsc estimates to be comparable and add "A-" needed for converting df to long format
fsc = pandas.read_csv(fsc_infile, skiprows=0, sep="\t")
fsc['A-Na'] = fsc['ANCSIZE']/2
fsc['A-N1'] = fsc['NPOP2']/2
fsc['A-N2'] = fsc['NPOP1']/2
fsc['A-TDIV'] = fsc['TDIV']
fsc['A-MIG12'] =fsc['MIG12']
fsc['A-MIG21'] =fsc['MIG21']
#create and plot data frame of pop size and t div estimates
f, ax = plt.subplots(figsize=(10, 10))
# need to convert Tdiv from years to generations
# Neu (N1) computed as harmonic mean over history of european pop
truth_N = pandas.DataFrame(np.array([[7300,12300,3517.113,T_Div]]), columns=['A-Na','A-N1','A-N2','A-TDIV'])
data_N = fsc[['A-Na','A-N1','A-N2','A-TDIV']]
data_N=data_N.append(truth_N, sort=True)
num_sims = fsc.shape[0]
data_N['method']=['fsc']*num_sims+['truth']
data_N=data_N.reset_index(drop=True).reset_index()
data_N_long=pandas.wide_to_long(df=data_N,stubnames=["A"],i='index',j='parameter',sep="-",suffix='(\d+|\w+)').reset_index().rename(columns={'A':'estimate','method':'method'})
# add 'truth' from mean coalescence time method
meal_coal_time_N1 = pandas.DataFrame(np.array([["N1","N_mean_coal_time",18114.993411358824/2]]), columns=['parameter','method','estimate'])
meal_coal_time_N2 = pandas.DataFrame(np.array([["N2","N_mean_coal_time",13021.533578633795/2]]), columns=['parameter','method','estimate'])
data_N_long = data_N_long.append(meal_coal_time_N1,sort=True)
data_N_long = data_N_long.append(meal_coal_time_N2,sort=True)
# add 'truth' from: N = - T/(2*log(P(not coalesced at split)))
truth_p_not_coal_N1 = pandas.DataFrame(np.array([["N1","N_p_not_coal",11671.97129362]]), columns=['parameter','method','estimate'])
truth_p_not_coal_N2 = pandas.DataFrame(np.array([["N2","N_p_not_coal",5352.07636014]]), columns=['parameter','method','estimate'])
data_N_long = data_N_long.append(truth_p_not_coal_N1,sort=True)
data_N_long = data_N_long.append(truth_p_not_coal_N2,sort=True)
sns.stripplot(data=data_N_long,x='parameter',y='estimate', hue='method', jitter=True, palette='muted', size=7, linewidth=1).set_title('Human IM inference')
ax.set(ylim=(0, 20000))
f.savefig(outfile[0], bbox_inches='tight', alpha=0.8)
#create and plot data frame of migration rate estimates
f, ax = plt.subplots(figsize=(10, 10))
truth_M = pandas.DataFrame(np.array([[3e-5,3e-5]]), columns=['A-MIG12','A-MIG21'])
data_M = fsc[['A-MIG12','A-MIG21']]
data_M=data_M.append(truth_M, sort=True)
num_sims = fsc.shape[0]
data_M['method']=['fsc']*num_sims+['truth']
data_M=data_M.reset_index(drop=True).reset_index()
data_M_long=pandas.wide_to_long(df=data_M,stubnames=["A"],i='index',j='parameter',sep="-",suffix='(\d+|\w+)').reset_index().rename(columns={'A':'estimate','method':'method'})
sns.stripplot(data=data_M_long,x='parameter',y='estimate', hue='method', jitter=True, palette='muted', size=7, linewidth=1)
ax.set(ylim=(-1e-5, 4e-4))
f.savefig(outfile[1], bbox_inches='tight', alpha=0.8)
def plot_fsc_dadi_smcpp_results_human_IM(dadi_infile,fsc_infile,smcpp_infile, outfile, simulated_genome_length):
sns.set(style="whitegrid")
## convert dadi and fsc estimates to be comparable and add "A-" needed for converting df to long format
dadi = pandas.read_csv(dadi_infile, skiprows=0, sep="\t")
dadi['A-Na'] = dadi['theta']/(4*1e-8*simulated_genome_length)
dadi['A-N2'] = dadi['nu2']*dadi['A-Na']
dadi['A-N1'] = dadi['nu1']*dadi['A-Na']
dadi['A-TDIV'] = dadi['T']*dadi['A-Na']*2
dadi['A-MIG12'] = dadi['m1']/(dadi['A-Na']*2)
dadi['A-MIG21'] = dadi['m2']/(dadi['A-Na']*2)
fsc = pandas.read_csv(fsc_infile, skiprows=0, sep="\t")
fsc['A-Na'] = fsc['ANCSIZE']/2
fsc['A-N1'] = fsc['NPOP2']/2
fsc['A-N2'] = fsc['NPOP1']/2
fsc['A-TDIV'] = fsc['TDIV']
fsc['A-MIG12'] =fsc['MIG12']
fsc['A-MIG21'] =fsc['MIG21']
smcpp = pandas.read_csv(smcpp_infile, skiprows=0, sep="\t")
smcpp['A-N1'] = smcpp['HarmonicMeanPop1']
smcpp['A-N2'] = smcpp['HarmonicMeanPop2']
smcpp['A-Na'] = None
smcpp['A-TDIV'] = smcpp['DivTime']
#create and plot data frame of pop size and t div estimates
f, ax = plt.subplots(figsize=(10, 10))
# need to convert Tdiv from years to generations
# Neu (N1) computed as harmonic mean over history of european pop
truth_N = pandas.DataFrame(np.array([[7300,12300,3517.113,140000/25]]), columns=['A-Na','A-N1','A-N2','A-TDIV'])
data_N = fsc[['A-Na','A-N1','A-N2','A-TDIV']]
data_N=data_N.append(dadi[['A-Na','A-N1','A-N2','A-TDIV']], sort=True)
data_N=data_N.append(smcpp[['A-Na','A-N1','A-N2','A-TDIV']], sort=True)
data_N=data_N.append(truth_N, sort=True)
num_sims = dadi.shape[0]
data_N['method']=['fsc']*num_sims+['dadi']*num_sims+['smcpp']*num_sims+['truth']
data_N=data_N.reset_index(drop=True).reset_index()
data_N_long=pandas.wide_to_long(df=data_N,stubnames=["A"],i='index',j='parameter',sep="-",suffix='(\d+|\w+)').reset_index().rename(columns={'A':'estimate','method':'method'})
# add 'truth' from mean coalescence time method
meal_coal_time_N1 = pandas.DataFrame(np.array([["N1","N_mean_coal_time",18114.993411358824/2]]), columns=['parameter','method','estimate'])
meal_coal_time_N2 = pandas.DataFrame(np.array([["N2","N_mean_coal_time",13021.533578633795/2]]), columns=['parameter','method','estimate'])
data_N_long = data_N_long.append(meal_coal_time_N1,sort=True)
data_N_long = data_N_long.append(meal_coal_time_N2,sort=True)
# add 'truth' from: N = - T/(2*log(P(not coalesced at split)))
truth_p_not_coal_N1 = pandas.DataFrame(np.array([["N1","N_p_not_coal",11671.97129362]]), columns=['parameter','method','estimate'])
truth_p_not_coal_N2 = pandas.DataFrame(np.array([["N2","N_p_not_coal",5352.07636014]]), columns=['parameter','method','estimate'])
data_N_long = data_N_long.append(truth_p_not_coal_N1,sort=True)
data_N_long = data_N_long.append(truth_p_not_coal_N2,sort=True)
sns.stripplot(data=data_N_long,x='parameter',y='estimate', hue='method', jitter=True, palette='muted', size=7, linewidth=1).set_title('Human IM inference')
ax.set(ylim=(0, 20000))
f.savefig(outfile[0], bbox_inches='tight', alpha=0.8)
#create and plot data frame of migration rate estimates
f, ax = plt.subplots(figsize=(10, 10))
truth_M = pandas.DataFrame(np.array([[3e-5,3e-5]]), columns=['A-MIG12','A-MIG21'])
data_M = fsc[['A-MIG12','A-MIG21']]
data_M=data_M.append(dadi[['A-MIG12','A-MIG21']], sort=True)
data_M=data_M.append(truth_M, sort=True)
num_sims = dadi.shape[0]
data_M['method']=['fsc']*num_sims+['dadi']*num_sims+['truth']
data_M=data_M.reset_index(drop=True).reset_index()
data_M_long=pandas.wide_to_long(df=data_M,stubnames=["A"],i='index',j='parameter',sep="-",suffix='(\d+|\w+)').reset_index().rename(columns={'A':'estimate','method':'method'})
sns.stripplot(data=data_M_long,x='parameter',y='estimate', hue='method', jitter=True, palette='muted', size=7, linewidth=1)
ax.set(ylim=(-1e-5, 4e-4))
f.savefig(outfile[1], bbox_inches='tight', alpha=0.8)
def plot_fsc_dadi_smcpp_results_drosophila_IM(dadi_infile,fsc_infile, smcpp_infile, outfile, simulated_genome_length):
## convert dadi and fsc estimates to be comparable and add "A-" needed for converting df to long format
dadi = pandas.read_csv(dadi_infile, skiprows=0, sep="\t")
dadi['A-Na'] = dadi['theta']/(4*8.4e-9*simulated_genome_length)
dadi['A-N2'] = dadi['nu2']*dadi['A-Na']
dadi['A-N1'] = dadi['nu1']*dadi['A-Na']
dadi['A-TDIV'] = dadi['T']*dadi['A-Na']*2
dadi['A-MIG12'] = dadi['m1']/(dadi['A-Na']*2)
dadi['A-MIG21'] = dadi['m2']/(dadi['A-Na']*2)
fsc = pandas.read_csv(fsc_infile, skiprows=0, sep="\t")
fsc['A-Na'] = fsc['ANCSIZE']/2
fsc['A-N1'] = fsc['NPOP2']/2
fsc['A-N2'] = fsc['NPOP1']/2
fsc['A-TDIV'] = fsc['TDIV']
fsc['A-MIG12'] =fsc['MIG12']
fsc['A-MIG21'] =fsc['MIG21']
smcpp = pandas.read_csv(smcpp_infile, skiprows=0, sep="\t")
smcpp['A-N1'] = smcpp['HarmonicMeanPop1']
smcpp['A-N2'] = smcpp['HarmonicMeanPop2']
smcpp['A-Na'] = None
smcpp['A-TDIV'] = smcpp['DivTime']
sns.set(style="whitegrid")
#create and plot data frame of pop size and t div estimates
f, ax = plt.subplots(figsize=(10, 10))
# value for Neu (N1) calculated as harmonic mean of Ne1 and Ne0
truth_N = pandas.DataFrame(np.array([[8.603e06,8.603e06,95365.76,158000]]), columns=['A-Na','A-N1','A-N2','A-TDIV'])
#truth_N1 = pandas.DataFrame(np.array([[8.603e06/5,-1,-1,-1]]), columns=['A-Na','A-N2','A-N1','A-TDIV'])
data_N = fsc[['A-Na','A-N1','A-N2','A-TDIV']]
data_N=data_N.append(dadi[['A-Na','A-N1','A-N2','A-TDIV']], sort=True)
data_N=data_N.append(smcpp[['A-Na','A-N1','A-N2','A-TDIV']], sort=True)
data_N=data_N.append(truth_N, sort=True)
#data_N=data_N.append(truth_N1, sort=True)
num_sims = dadi.shape[0]
data_N['method']=['fsc']*num_sims+['dadi']*num_sims+['smcpp']*num_sims+['truth']
data_N=data_N.reset_index(drop=True).reset_index()
data_N_long=pandas.wide_to_long(df=data_N,stubnames=["A"],i='index',j='parameter',sep="-",suffix='(\d+|\w+)').reset_index().rename(columns={'A':'estimate','method':'method'})
#add extra Na point for Li & Stephan model
Na_truth = pandas.DataFrame(np.array([["Na","truth",8.603e06/5]]), columns=['parameter','method','estimate'])
data_N_long = data_N_long.append(Na_truth,sort=True)
# add 'truth' from mean coalescence time method
mean_coal_time_N1 = pandas.DataFrame(np.array([["N1","N_mean_coal_time",3910531.1902434235/2]]), columns=['parameter','method','estimate'])
mean_coal_time_N2 = pandas.DataFrame(np.array([["N2","N_mean_coal_time",1779082.8243646843/2]]), columns=['parameter','method','estimate'])
data_N_long = data_N_long.append(mean_coal_time_N1,sort=True)
data_N_long = data_N_long.append(mean_coal_time_N2,sort=True)
# add 'truth' from: N = - T/(2*log(P(not coalesced at split)))
truth_p_not_coal_N1 = pandas.DataFrame(np.array([["N1","N_p_not_coal",8603000.00000001]]), columns=['parameter','method','estimate'])
truth_p_not_coal_N2 = pandas.DataFrame(np.array([["N2","N_p_not_coal",344699.62629219]]), columns=['parameter','method','estimate'])
data_N_long = data_N_long.append(truth_p_not_coal_N1,sort=True)
data_N_long = data_N_long.append(truth_p_not_coal_N2,sort=True)
sns.stripplot(data=data_N_long,x='parameter',y='estimate', hue='method', jitter=True, palette='muted', size=7, linewidth=1)
f.savefig(outfile[0], bbox_inches='tight', alpha=0.8)
#create and plot data frame of migration rate estimates
f, ax = plt.subplots(figsize=(10, 10))
truth_M = pandas.DataFrame(np.array([[0,0]]), columns=['A-MIG12','A-MIG21'])
data_M = fsc[['A-MIG12','A-MIG21']]
data_M=data_M.append(dadi[['A-MIG12','A-MIG21']], sort=True)
data_M=data_M.append(truth_M, sort=True)
num_sims = dadi.shape[0]
data_M['method']=['fsc']*num_sims+['dadi']*num_sims+['truth']
data_M=data_M.reset_index(drop=True).reset_index()
data_M_long=pandas.wide_to_long(df=data_M,stubnames=["A"],i='index',j='parameter',sep="-",suffix='(\d+|\w+)').reset_index().rename(columns={'A':'estimate','method':'method'})
sns.stripplot(data=data_M_long,x='parameter',y='estimate', hue='method', jitter=True, palette='muted', size=7, linewidth=1)
ax.set(ylim=(-1e-7, 1e-6))
f.savefig(outfile[1], bbox_inches='tight', alpha=0.8)
def plot_compound_smcpp(infiles, outfile):
cmd = f"smc++ plot {outfile} {infiles}"
#for infile in infiles:
#cmd = cmd = + f" {infile}"
#logging.info("Running:" + cmd)
print ("Running this! " + cmd)
subprocess.run(cmd, shell=True, check=True)
| 49.062696
| 178
| 0.668903
| 2,571
| 15,651
| 3.882536
| 0.083625
| 0.040072
| 0.037868
| 0.057303
| 0.929974
| 0.923863
| 0.906231
| 0.902525
| 0.900421
| 0.900421
| 0
| 0.051913
| 0.124912
| 15,651
| 318
| 179
| 49.216981
| 0.676913
| 0.13456
| 0
| 0.834171
| 0
| 0
| 0.180976
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.025126
| false
| 0
| 0.030151
| 0
| 0.055276
| 0.005025
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
cbacb39a2cd4c14dc724ca1f0e00b9fa886a2c14
| 164
|
py
|
Python
|
src/core/admin.py
|
CodeForTravel/DynamicFilterWithDjango
|
4d342e53995ebbffbd002104874cb673a56c5539
|
[
"bzip2-1.0.6"
] | null | null | null |
src/core/admin.py
|
CodeForTravel/DynamicFilterWithDjango
|
4d342e53995ebbffbd002104874cb673a56c5539
|
[
"bzip2-1.0.6"
] | null | null | null |
src/core/admin.py
|
CodeForTravel/DynamicFilterWithDjango
|
4d342e53995ebbffbd002104874cb673a56c5539
|
[
"bzip2-1.0.6"
] | null | null | null |
from django.contrib import admin
from . import models
admin.site.register(models.Author)
admin.site.register(models.Category)
admin.site.register(models.Journal)
| 20.5
| 36
| 0.817073
| 23
| 164
| 5.826087
| 0.478261
| 0.201493
| 0.380597
| 0.514925
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.079268
| 164
| 7
| 37
| 23.428571
| 0.887417
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.4
| 0
| 0.4
| 0
| 1
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 7
|
cbe2f469ff9565a53b10d5759bdc892642c738aa
| 500
|
py
|
Python
|
python/191105.py
|
Xanonymous-GitHub/main
|
53120110bd8dc9ab33424fa26d1a8ca5b9256ebe
|
[
"Apache-2.0"
] | 1
|
2019-09-27T17:46:41.000Z
|
2019-09-27T17:46:41.000Z
|
python/191105.py
|
Xanonymous-GitHub/main
|
53120110bd8dc9ab33424fa26d1a8ca5b9256ebe
|
[
"Apache-2.0"
] | null | null | null |
python/191105.py
|
Xanonymous-GitHub/main
|
53120110bd8dc9ab33424fa26d1a8ca5b9256ebe
|
[
"Apache-2.0"
] | 5
|
2019-09-30T16:41:14.000Z
|
2019-10-25T11:13:39.000Z
|
import base64 as Xanonymous
print(Xanonymous.b64decode(''.join([chr(x) for x in (83, 71, 70, 119, 99, 72, 107, 103, 81, 109, 108, 121, 100, 71, 104, 107, 89, 88, 107, 104, 73, 69, 107, 103, 97, 71, 57, 119, 90, 83, 66, 104, 98, 71, 119, 103, 101, 87, 57, 49, 99, 105, 66, 105, 97, 88, 74, 48, 97, 71, 82, 104, 101, 83, 66, 51, 97, 88, 78, 111, 90, 88, 77, 103, 89, 87, 53, 107, 73, 71, 82, 121, 90, 87, 70, 116, 99, 121, 66, 105, 90, 87, 78, 118, 98, 87, 85, 103, 100, 72, 74, 49, 90, 83, 52, 61)])))
| 250
| 472
| 0.572
| 109
| 500
| 2.623853
| 0.46789
| 0.041958
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.574307
| 0.206
| 500
| 2
| 472
| 250
| 0.146096
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.5
| 0
| 0.5
| 0.5
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 1
|
0
| 7
|
1ddd3f4d0232df4626384a01a6210726d1af39dd
| 26,673
|
py
|
Python
|
dymos/transcriptions/explicit_shooting/test/test_explicit_shooting.py
|
joel-martin/dymos
|
02e4f36cab2a00b23b322852709521a660d2dda5
|
[
"Apache-2.0"
] | null | null | null |
dymos/transcriptions/explicit_shooting/test/test_explicit_shooting.py
|
joel-martin/dymos
|
02e4f36cab2a00b23b322852709521a660d2dda5
|
[
"Apache-2.0"
] | null | null | null |
dymos/transcriptions/explicit_shooting/test/test_explicit_shooting.py
|
joel-martin/dymos
|
02e4f36cab2a00b23b322852709521a660d2dda5
|
[
"Apache-2.0"
] | null | null | null |
import unittest
import warnings
import numpy as np
import openmdao.api as om
import dymos as dm
from openmdao.utils.assert_utils import assert_check_partials, assert_near_equal
from openmdao.utils.testing_utils import use_tempdirs, require_pyoptsparse
from dymos.examples.brachistochrone.brachistochrone_ode import BrachistochroneODE
class Simple2StateODE(om.ExplicitComponent):
"""
A simple ODE from https://math.okstate.edu/people/yqwang/teaching/math4513_fall11/Notes/rungekutta.pdf
"""
def initialize(self):
self.options.declare('num_nodes', types=(int,))
def setup(self):
nn = self.options['num_nodes']
self.add_input('x', shape=(nn,), units='s**2')
self.add_input('y', shape=(nn,), units='s')
self.add_input('t', shape=(nn,), units='s')
self.add_input('p', shape=(nn,), units='s**2')
self.add_output('x_dot', shape=(nn,), units='s')
self.add_output('y_dot', shape=(nn,), units=None)
ar = np.arange(nn, dtype=int)
self.declare_partials(of='x_dot', wrt='x', rows=ar, cols=ar, val=1.0)
self.declare_partials(of='x_dot', wrt='t', rows=ar, cols=ar)
self.declare_partials(of='x_dot', wrt='p', rows=ar, cols=ar, val=1.0)
self.declare_partials(of='y_dot', wrt='y', rows=ar, cols=ar, val=-2.0)
self.declare_partials(of='y_dot', wrt='t', rows=ar, cols=ar, val=1.0)
def compute(self, inputs, outputs):
x = inputs['x']
y = inputs['y']
t = inputs['t']
p = inputs['p']
outputs['x_dot'] = x - t**2 + p
outputs['y_dot'] = -2 * y + t**3 * np.exp(-2*t)
def compute_partials(self, inputs, partials):
t = inputs['t']
partials['x_dot', 't'] = -2*t
partials['y_dot', 't'] = -np.exp(-2*t) * t**2 * (2 * t - 3)
class Simple1StateODE(om.ExplicitComponent):
"""
A simple ODE from https://math.okstate.edu/people/yqwang/teaching/math4513_fall11/Notes/rungekutta.pdf
"""
def initialize(self):
self.options.declare('num_nodes', types=(int,))
def setup(self):
nn = self.options['num_nodes']
self.add_input('y', shape=(nn,), units=None)
self.add_input('t', shape=(nn,), units='s')
self.add_output('y_dot', shape=(nn,), units='1/s')
ar = np.arange(nn, dtype=int)
self.declare_partials(of='y_dot', wrt='y', rows=ar, cols=ar, val=-2.0)
self.declare_partials(of='y_dot', wrt='t', rows=ar, cols=ar, val=1.0)
def compute(self, inputs, outputs):
y = inputs['y']
t = inputs['t']
outputs['y_dot'] = -2 * y + t**3 * np.exp(-2*t)
def compute_partials(self, inputs, partials):
t = inputs['t']
partials['y_dot', 't'] = -np.exp(-2*t) * t**2 * (2 * t - 3)
@use_tempdirs
class TestExplicitShooting(unittest.TestCase):
def test_1_state_run_model(self):
prob = om.Problem()
tx = dm.transcriptions.ExplicitShooting(num_segments=1, grid='gauss-lobatto', method='rk4',
order=3, num_steps_per_segment=10, compressed=True)
phase = dm.Phase(ode_class=Simple1StateODE, transcription=tx)
phase.set_time_options(targets=['t'], units='s')
# automatically discover states
phase.set_state_options('y', targets=['y'], rate_source='y_dot')
prob.model.add_subsystem('phase0', phase)
prob.setup(force_alloc_complex=False)
prob.set_val('phase0.t_initial', 0.0)
prob.set_val('phase0.t_duration', 1.0)
prob.set_val('phase0.states:y', 1.0)
prob.run_model()
with np.printoptions(linewidth=1024):
cpd = prob.check_partials(compact_print=True)
assert_check_partials(cpd, rtol=1.0E-5)
def test_2_states_run_model(self):
for method in ['rk4', 'euler', '3/8', 'ralston', 'rkf', 'rkck', 'dopri']:
with self.subTest(f"test brachistochrone explicit shooting with method '{method}'"):
prob = om.Problem()
tx = dm.transcriptions.ExplicitShooting(num_segments=2, grid='gauss-lobatto',
method=method, order=3,
num_steps_per_segment=50, compressed=True)
phase = dm.Phase(ode_class=Simple2StateODE, transcription=tx)
phase.set_time_options(targets=['t'], units='s')
# automatically discover states
phase.set_state_options('x', targets=['x'], rate_source='x_dot')
phase.set_state_options('y', targets=['y'], rate_source='y_dot')
phase.add_parameter('p', targets=['p'])
prob.model.add_subsystem('phase0', phase)
prob.setup(force_alloc_complex=True)
prob.set_val('phase0.t_initial', 0.0)
prob.set_val('phase0.t_duration', 1.0)
prob.set_val('phase0.states:x', 0.5)
prob.set_val('phase0.states:y', 1.0)
prob.set_val('phase0.parameters:p', 1)
prob.run_model()
t_f = prob.get_val('phase0.integrator.t_final')
x_f = prob.get_val('phase0.integrator.states_out:x')
y_f = prob.get_val('phase0.integrator.states_out:y')
if method == 'euler':
tol = 5.0E-2
else:
tol = 1.0E-3
assert_near_equal(t_f, 1.0)
assert_near_equal(x_f[-1, ...], 2.64085909, tolerance=tol)
assert_near_equal(y_f[-1, ...], 0.1691691, tolerance=tol)
with np.printoptions(linewidth=1024):
cpd = prob.check_partials(compact_print=True, method='cs')
assert_check_partials(cpd, atol=1.0E-5, rtol=1.0E-5)
@require_pyoptsparse(optimizer='SLSQP')
def test_brachistochrone_explicit_shooting(self):
for method in ['rk4', 'ralston']:
for compressed in [True, False]:
with self.subTest(f"test brachistochrone explicit shooting with method '{method}'"):
prob = om.Problem()
prob.driver = om.pyOptSparseDriver(optimizer='SLSQP')
tx = dm.ExplicitShooting(num_segments=3, grid='gauss-lobatto',
method=method, order=5,
num_steps_per_segment=5,
compressed=compressed)
phase = dm.Phase(ode_class=BrachistochroneODE, transcription=tx)
phase.set_time_options(units='s', fix_initial=True, duration_bounds=(1.0, 10.0))
# automatically discover states
phase.set_state_options('x', fix_initial=True)
phase.set_state_options('y', fix_initial=True)
phase.set_state_options('v', fix_initial=True)
phase.add_parameter('g', val=1.0, units='m/s**2', opt=True, lower=1, upper=9.80665)
phase.add_control('theta', val=45.0, units='deg', opt=True, lower=1.0E-6, upper=179.9,
ref=90., rate2_continuity=True)
phase.add_boundary_constraint('x', loc='final', equals=10.0)
phase.add_boundary_constraint('y', loc='final', equals=5.0)
prob.model.add_subsystem('phase0', phase)
phase.add_objective('time', loc='final')
prob.setup(force_alloc_complex=True)
prob.set_val('phase0.t_initial', 0.0)
prob.set_val('phase0.t_duration', 2)
prob.set_val('phase0.states:x', 0.0)
prob.set_val('phase0.states:y', 10.0)
prob.set_val('phase0.states:v', 1.0E-6)
prob.set_val('phase0.parameters:g', 1.0, units='m/s**2')
prob.set_val('phase0.controls:theta', phase.interp('theta', ys=[0.01, 90]), units='deg')
prob.run_driver()
x = prob.get_val('phase0.timeseries.states:x')
y = prob.get_val('phase0.timeseries.states:y')
t = prob.get_val('phase0.timeseries.time')
theta = prob.get_val('phase0.timeseries.controls:theta')
theta_rate = prob.get_val('phase0.timeseries.control_rates:theta_rate')
theta_rate2 = prob.get_val('phase0.timeseries.control_rates:theta_rate2')
assert_near_equal(x[-1, ...], 10.0, tolerance=1.0E-3)
assert_near_equal(y[-1, ...], 5.0, tolerance=1.0E-3)
assert_near_equal(t[-1, ...], 1.8016, tolerance=1.0E-2)
# Test the continuity constraints
tol = 1.0E-6
assert_near_equal(theta[1:-2:2, ...], theta[2::2, ...], tolerance=tol)
assert_near_equal(theta_rate[1:-2:2, ...], theta_rate[2::2, ...], tolerance=tol)
assert_near_equal(theta_rate2[1:-2:2, ...], theta_rate2[2::2, ...], tolerance=tol)
with np.printoptions(linewidth=1024):
cpd = prob.check_partials(compact_print=True, method='cs', out_stream=None)
assert_check_partials(cpd, atol=1.0E-5, rtol=1.0E-5)
@require_pyoptsparse(optimizer='SLSQP')
def test_brachistochrone_explicit_shooting_path_constraint(self):
for method in ['rk4', 'ralston']:
with self.subTest(f"test brachistochrone explicit shooting with method '{method}'"):
prob = om.Problem()
prob.driver = om.pyOptSparseDriver(optimizer='SLSQP')
tx = dm.transcriptions.ExplicitShooting(num_segments=10, grid='gauss-lobatto', method=method,
order=3, num_steps_per_segment=5, compressed=True)
phase = dm.Phase(ode_class=BrachistochroneODE, transcription=tx)
phase.set_time_options(units='s', fix_initial=True, duration_bounds=(1.0, 10.0))
# automatically discover states
phase.set_state_options('x', fix_initial=True)
phase.set_state_options('y', fix_initial=True)
phase.set_state_options('v', fix_initial=True)
phase.add_parameter('g', val=9, units='m/s**2', opt=True, lower=9, upper=9.80665)
phase.add_control('theta', val=45.0, units='deg', opt=True, lower=1.0E-6, upper=179.9)
phase.add_boundary_constraint('x', loc='final', equals=10.0)
phase.add_boundary_constraint('y', loc='final', equals=5.0)
phase.add_path_constraint('ydot', lower=-100, upper=0)
prob.model.add_subsystem('phase0', phase)
phase.add_objective('time', loc='final')
prob.setup(force_alloc_complex=True)
prob.set_val('phase0.t_initial', 0.0)
prob.set_val('phase0.t_duration', 2)
prob.set_val('phase0.states:x', 0.0)
prob.set_val('phase0.states:y', 10.0)
prob.set_val('phase0.states:v', 1.0E-6)
prob.set_val('phase0.controls:theta', phase.interp('theta', ys=[0.01, 90]), units='deg')
prob.run_driver()
x = prob.get_val('phase0.timeseries.states:x')
y = prob.get_val('phase0.timeseries.states:y')
ydot = prob.get_val('phase0.timeseries.ydot')
assert_near_equal(x[-1, ...], 10.0, tolerance=1.0E-3)
self.assertTrue(np.all(ydot < 1.0E-6), msg='Not all elements of path constraint satisfied')
assert_near_equal(y[-1, ...], 5.0, tolerance=1.0E-3)
with np.printoptions(linewidth=1024):
cpd = prob.check_partials(compact_print=False, method='cs', out_stream=None)
assert_check_partials(cpd, atol=1.0E-5, rtol=1.0E-5)
@require_pyoptsparse(optimizer='SLSQP')
def test_brachistochrone_explicit_shooting_path_constraint_polynomial_control(self):
for method in ['euler', '3/8']:
with self.subTest(f"test brachistochrone explicit shooting with method '{method}'"):
prob = om.Problem()
prob.driver = om.pyOptSparseDriver(optimizer='SLSQP')
tx = dm.transcriptions.ExplicitShooting(num_segments=1, grid='gauss-lobatto', method=method,
order=3, num_steps_per_segment=50, compressed=True)
phase = dm.Phase(ode_class=BrachistochroneODE, transcription=tx)
phase.set_time_options(units='s', fix_initial=True, duration_bounds=(1.0, 10.0))
# automatically discover states
phase.set_state_options('x', fix_initial=True)
phase.set_state_options('y', fix_initial=True)
phase.set_state_options('v', fix_initial=True)
phase.add_parameter('g', val=9, units='m/s**2', opt=True, lower=9, upper=9.80665)
phase.add_polynomial_control('theta', order=5, val=45.0, units='deg', lower=1.0E-6, upper=179.9)
phase.add_boundary_constraint('x', loc='final', equals=10.0)
phase.add_boundary_constraint('y', loc='final', equals=5.0)
phase.add_path_constraint('ydot', lower=-100, upper=0)
prob.model.add_subsystem('phase0', phase)
phase.add_objective('time', loc='final')
prob.setup(force_alloc_complex=True)
prob.set_val('phase0.t_initial', 0.0)
prob.set_val('phase0.t_duration', 2)
prob.set_val('phase0.states:x', 0.0)
prob.set_val('phase0.states:y', 10.0)
prob.set_val('phase0.states:v', 1.0E-6)
prob.set_val('phase0.polynomial_controls:theta', phase.interp('theta', ys=[0.01, 90]), units='deg')
prob.run_driver()
x = prob.get_val('phase0.timeseries.states:x')
y = prob.get_val('phase0.timeseries.states:y')
ydot = prob.get_val('phase0.timeseries.ydot')
assert_near_equal(x[-1, ...], 10.0, tolerance=1.0E-3)
self.assertTrue(np.all(ydot < 1.0E-6), msg='Not all elements of path constraint satisfied')
assert_near_equal(y[-1, ...], 5.0, tolerance=1.0E-3)
with np.printoptions(linewidth=1024):
cpd = prob.check_partials(compact_print=False, method='cs', out_stream=None)
assert_check_partials(cpd, atol=1.0E-5, rtol=1.0E-5)
@require_pyoptsparse(optimizer='SLSQP')
def test_brachistochrone_explicit_shooting_path_constraint_renamed(self):
for method in ['rk4', 'ralston']:
with self.subTest(f"test brachistochrone explicit shooting with method '{method}'"):
prob = om.Problem()
prob.driver = om.pyOptSparseDriver(optimizer='SLSQP')
tx = dm.transcriptions.ExplicitShooting(num_segments=10, grid='gauss-lobatto', method=method,
order=3, num_steps_per_segment=5, compressed=True)
phase = dm.Phase(ode_class=BrachistochroneODE, transcription=tx)
phase.set_time_options(units='s', fix_initial=True, duration_bounds=(1.0, 10.0))
# automatically discover states
phase.set_state_options('x', fix_initial=True)
phase.set_state_options('y', fix_initial=True)
phase.set_state_options('v', fix_initial=True)
phase.add_parameter('g', val=9.80665, units='m/s**2', opt=False)
phase.add_control('theta', val=45.0, units='deg', opt=True, lower=1.0E-6, upper=179.9)
phase.add_boundary_constraint('x', loc='final', equals=10.0)
phase.add_boundary_constraint('y', loc='final', equals=5.0)
phase.add_path_constraint('ydot', constraint_name='foo', lower=-100, upper=0)
prob.model.add_subsystem('phase0', phase)
phase.add_objective('time', loc='final')
prob.setup(force_alloc_complex=True)
prob.set_val('phase0.t_initial', 0.0)
prob.set_val('phase0.t_duration', 2)
prob.set_val('phase0.states:x', 0.0)
prob.set_val('phase0.states:y', 10.0)
prob.set_val('phase0.states:v', 1.0E-6)
prob.set_val('phase0.controls:theta', phase.interp('theta', ys=[0.01, 90]), units='deg')
prob.run_driver()
x = prob.get_val('phase0.timeseries.states:x')
y = prob.get_val('phase0.timeseries.states:y')
ydot = prob.get_val('phase0.timeseries.foo')
assert_near_equal(x[-1, ...], 10.0, tolerance=1.0E-3)
self.assertTrue(np.all(ydot <= 1.0E-6), msg='Not all elements of path constraint satisfied')
assert_near_equal(y[-1, ...], 5.0, tolerance=1.0E-3)
with np.printoptions(linewidth=1024):
cpd = prob.check_partials(compact_print=True, method='cs', out_stream=None)
assert_check_partials(cpd, atol=1.0E-5, rtol=1.0E-5)
@require_pyoptsparse(optimizer='SLSQP')
def test_brachistochrone_explicit_shooting_path_constraint_invalid_renamed(self):
for method in ['rk4', 'ralston']:
with self.subTest(f"test brachistochrone explicit shooting with method '{method}'"):
prob = om.Problem()
prob.driver = om.pyOptSparseDriver(optimizer='SLSQP')
tx = dm.transcriptions.ExplicitShooting(num_segments=10, grid='gauss-lobatto', method=method,
order=3, num_steps_per_segment=5, compressed=True)
phase = dm.Phase(ode_class=BrachistochroneODE, transcription=tx)
phase.set_time_options(units='s', fix_initial=True, duration_bounds=(1.0, 10.0))
# automatically discover states
phase.set_state_options('x', fix_initial=True)
phase.set_state_options('y', fix_initial=True)
phase.set_state_options('v', fix_initial=True)
phase.add_parameter('g', val=9.80665, units='m/s**2', opt=False)
phase.add_control('theta', val=45.0, units='deg', opt=True, lower=1.0E-6, upper=179.9)
phase.add_boundary_constraint('x', loc='final', equals=10.0)
phase.add_boundary_constraint('y', loc='final', equals=5.0)
phase.add_path_constraint('y', constraint_name='foo', lower=5, upper=100)
prob.model.add_subsystem('phase0', phase)
phase.add_objective('time', loc='final')
with warnings.catch_warnings(record=True) as ctx:
warnings.simplefilter('always')
prob.setup(check=True)
self.assertIn("Option 'constraint_name' on path constraint y is only valid for "
"ODE outputs. The option is being ignored.", [str(w.message) for w in ctx])
@require_pyoptsparse(optimizer='SLSQP')
def test_brachistochrone_explicit_shooting_polynomial_control(self):
prob = om.Problem()
prob.driver = om.pyOptSparseDriver(optimizer='SLSQP')
tx = dm.transcriptions.ExplicitShooting(num_segments=3, grid='radau-ps', method='rk4',
order=3, num_steps_per_segment=10, compressed=True)
phase = dm.Phase(ode_class=BrachistochroneODE, transcription=tx)
phase.set_time_options(units='s', fix_initial=True, duration_bounds=(1.0, 10.0))
# automatically discover states
phase.set_state_options('x', fix_initial=True)
phase.set_state_options('y', fix_initial=True)
phase.set_state_options('v', fix_initial=True)
phase.add_parameter('g', val=1.0, units='m/s**2', opt=True, lower=1, upper=9.80665)
phase.add_polynomial_control('theta', order=9, val=45.0, units='deg', opt=True, lower=1.0E-6, upper=179.9)
phase.add_boundary_constraint('x', loc='final', equals=10.0)
phase.add_boundary_constraint('y', loc='final', equals=5.0)
prob.model.add_subsystem('phase0', phase)
phase.add_objective('time', loc='final')
prob.setup(force_alloc_complex=True)
prob.set_val('phase0.t_initial', 0.0)
prob.set_val('phase0.t_duration', 2)
prob.set_val('phase0.states:x', 0.0)
prob.set_val('phase0.states:y', 10.0)
prob.set_val('phase0.states:v', 1.0E-6)
prob.set_val('phase0.parameters:g', 1.0, units='m/s**2')
prob.set_val('phase0.polynomial_controls:theta', phase.interp('theta', ys=[0.01, 90]), units='deg')
prob.run_driver()
x = prob.get_val('phase0.timeseries.states:x')
y = prob.get_val('phase0.timeseries.states:y')
t = prob.get_val('phase0.timeseries.time')
tp = prob.get_val('phase0.timeseries.time_phase')
assert_near_equal(x[-1, ...], 10.0, tolerance=1.0E-5)
assert_near_equal(y[-1, ...], 5.0, tolerance=1.0E-5)
assert_near_equal(t[-1, ...], 1.8016, tolerance=5.0E-3)
assert_near_equal(tp[-1, ...], 1.8016, tolerance=5.0E-3)
with np.printoptions(linewidth=1024):
cpd = prob.check_partials(compact_print=False, method='cs', out_stream=None)
assert_check_partials(cpd, atol=1.0E-5, rtol=1.0E-5)
@require_pyoptsparse(optimizer='SLSQP')
def test_explicit_shooting_timeseries_ode_output(self):
for method in ['rk4', 'ralston']:
with self.subTest(f"test brachistochrone explicit shooting with method '{method}'"):
prob = om.Problem()
prob.driver = om.pyOptSparseDriver(optimizer='SLSQP')
tx = dm.transcriptions.ExplicitShooting(num_segments=5, grid='gauss-lobatto', method=method,
order=3, num_steps_per_segment=10, compressed=True)
phase = dm.Phase(ode_class=BrachistochroneODE, transcription=tx)
phase.set_time_options(units='s', fix_initial=True, duration_bounds=(1.0, 10.0))
# automatically discover states
phase.set_state_options('x', fix_initial=True)
phase.set_state_options('y', fix_initial=True)
phase.set_state_options('v', fix_initial=True)
phase.add_parameter('g', val=1.0, units='m/s**2', opt=True, lower=1, upper=9.80665)
phase.add_control('theta', val=45.0, units='deg', opt=True, lower=1.0E-6, upper=179.9)
phase.add_boundary_constraint('x', loc='final', equals=10.0)
phase.add_boundary_constraint('y', loc='final', equals=5.0)
phase.add_timeseries_output('*')
prob.model.add_subsystem('phase0', phase)
phase.add_objective('time', loc='final')
prob.setup(force_alloc_complex=True)
prob.set_val('phase0.t_initial', 0.0)
prob.set_val('phase0.t_duration', 2)
prob.set_val('phase0.states:x', 0.0)
prob.set_val('phase0.states:y', 10.0)
prob.set_val('phase0.states:v', 1.0E-6)
prob.set_val('phase0.parameters:g', 1.0, units='m/s**2')
prob.set_val('phase0.controls:theta', phase.interp('theta', ys=[0.01, 90]), units='deg')
dm.run_problem(prob, run_driver=True)
x = prob.get_val('phase0.timeseries.states:x')
y = prob.get_val('phase0.timeseries.states:y')
v = prob.get_val('phase0.timeseries.states:v')
theta = prob.get_val('phase0.timeseries.controls:theta', units='rad')
check = prob.get_val('phase0.timeseries.check')
t = prob.get_val('phase0.timeseries.time')
assert_near_equal(x[-1, ...], 10.0, tolerance=1.0E-3)
assert_near_equal(y[-1, ...], 5.0, tolerance=1.0E-3)
assert_near_equal(t[-1, ...], 1.8016, tolerance=1.0E-2)
assert_near_equal(check, v / np.sin(theta))
with np.printoptions(linewidth=1024):
cpd = prob.check_partials(method='cs', out_stream=None)
assert_check_partials(cpd, atol=1.0E-5, rtol=1.0E-5)
@require_pyoptsparse(optimizer='SLSQP')
def test_explicit_shooting_unknown_timeseries(self):
for method in ['euler']:
with self.subTest(f"test brachistochrone explicit shooting with method '{method}'"):
prob = om.Problem()
prob.driver = om.pyOptSparseDriver(optimizer='SLSQP')
tx = dm.transcriptions.ExplicitShooting(num_segments=5, grid='gauss-lobatto', method=method,
order=3, num_steps_per_segment=10, compressed=True)
phase = dm.Phase(ode_class=BrachistochroneODE, transcription=tx)
phase.set_time_options(units='s', fix_initial=True, duration_bounds=(1.0, 10.0))
# automatically discover states
phase.set_state_options('x', fix_initial=True)
phase.set_state_options('y', fix_initial=True)
phase.set_state_options('v', fix_initial=True)
phase.add_parameter('g', val=1.0, units='m/s**2', opt=True, lower=1, upper=9.80665)
phase.add_control('theta', val=45.0, units='deg', opt=True, lower=1.0E-6, upper=179.9)
phase.add_boundary_constraint('x', loc='final', equals=10.0)
phase.add_boundary_constraint('y', loc='final', equals=5.0)
phase.add_timeseries_output('*')
phase.add_timeseries_output('foo')
prob.model.add_subsystem('phase0', phase)
phase.add_objective('time', loc='final')
msg = "The following timeseries outputs were requested but not found in the " \
"ODE: foo"
with warnings.catch_warnings(record=True) as ctx:
warnings.simplefilter('always')
prob.setup(force_alloc_complex=True)
self.assertIn(msg, [str(w.message) for w in ctx])
| 45.13198
| 115
| 0.578263
| 3,407
| 26,673
| 4.353977
| 0.071324
| 0.045504
| 0.031684
| 0.050694
| 0.908319
| 0.895982
| 0.879736
| 0.863085
| 0.839625
| 0.821491
| 0
| 0.042178
| 0.282683
| 26,673
| 590
| 116
| 45.208475
| 0.733131
| 0.02017
| 0
| 0.736709
| 0
| 0
| 0.128459
| 0.034567
| 0
| 0
| 0
| 0
| 0.093671
| 1
| 0.04557
| false
| 0
| 0.020253
| 0
| 0.073418
| 0.037975
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
3812a2696cb6ba7be52ff699a1adc344aabfc8dd
| 5,865
|
py
|
Python
|
NiaPy/tests/test_es.py
|
lukapecnik/NiaPy
|
a40ac08a4c06a13019ec5e39cc137461884928b0
|
[
"MIT"
] | 1
|
2020-03-16T11:15:43.000Z
|
2020-03-16T11:15:43.000Z
|
NiaPy/tests/test_es.py
|
lukapecnik/NiaPy
|
a40ac08a4c06a13019ec5e39cc137461884928b0
|
[
"MIT"
] | null | null | null |
NiaPy/tests/test_es.py
|
lukapecnik/NiaPy
|
a40ac08a4c06a13019ec5e39cc137461884928b0
|
[
"MIT"
] | 1
|
2020-03-25T16:20:36.000Z
|
2020-03-25T16:20:36.000Z
|
# encoding=utf8
# pylint: disable=mixed-indentation, multiple-statements, line-too-long
from unittest import TestCase
from NiaPy.tests.test_algorithm import AlgorithmTestCase, MyBenchmark
from NiaPy.algorithms.basic import EvolutionStrategy1p1, EvolutionStrategyMp1, EvolutionStrategyMpL, EvolutionStrategyML, CovarianceMatrixAdaptionEvolutionStrategy
from NiaPy.algorithms.basic.es import IndividualES
class IndividualESTestCase(TestCase):
def test_init_ok_one(self):
i = IndividualES()
self.assertEqual(i.rho, 1.0)
def test_init_ok_two(self):
i = IndividualES(rho=10)
self.assertEqual(i.rho, 10)
class ES1p1TestCase(AlgorithmTestCase):
def test_custom_works_fine(self):
es_custom = EvolutionStrategy1p1(k=10, c_a=1.5, c_r=0.42, seed=self.seed)
es_customc = EvolutionStrategy1p1(k=10, c_a=1.5, c_r=0.42, seed=self.seed)
AlgorithmTestCase.algorithm_run_test(self, es_custom, es_customc, MyBenchmark())
def test_griewank_works_fine(self):
es_griewank = EvolutionStrategy1p1(k=15, c_a=1.2, c_r=0.5, seed=self.seed)
es_griewankc = EvolutionStrategy1p1(k=15, c_a=1.2, c_r=0.5, seed=self.seed)
AlgorithmTestCase.algorithm_run_test(self, es_griewank, es_griewankc)
class ESMp1TestCase(AlgorithmTestCase):
def test_custom_works_fine(self):
es_custom = EvolutionStrategyMp1(mu=45, k=50, c_a=1.1, c_r=0.5, seed=self.seed)
es_customc = EvolutionStrategyMp1(mu=45, k=50, c_a=1.1, c_r=0.5, seed=self.seed)
AlgorithmTestCase.algorithm_run_test(self, es_custom, es_customc, MyBenchmark())
def test_griewank_works_fine(self):
es_griewank = EvolutionStrategyMp1(mu=30, k=25, c_a=1.5, c_r=0.5, seed=self.seed)
es_griewankc = EvolutionStrategyMp1(mu=30, k=25, c_a=1.5, c_r=0.5, seed=self.seed)
AlgorithmTestCase.algorithm_run_test(self, es_griewank, es_griewankc)
class ESMpLTestCase(AlgorithmTestCase):
def test_typeParametes(self):
d = EvolutionStrategyML.typeParameters()
self.assertTrue(d['lam'](10))
self.assertFalse(d['lam'](10.10))
self.assertFalse(d['lam'](0))
self.assertFalse(d['lam'](-10))
def test_custom_works_fine(self):
es_custom = EvolutionStrategyMpL(mu=45, lam=55, k=50, c_a=1.1, c_r=0.5, seed=self.seed)
es_customc = EvolutionStrategyMpL(mu=45, lam=55, k=50, c_a=1.1, c_r=0.5, seed=self.seed)
AlgorithmTestCase.algorithm_run_test(self, es_custom, es_customc, MyBenchmark())
def test_griewank_works_fine(self):
es_griewank = EvolutionStrategyMpL(mu=30, lam=50, k=25, c_a=1.5, c_r=0.5, seed=self.seed)
es_griewankc = EvolutionStrategyMpL(mu=30, lam=50, k=25, c_a=1.5, c_r=0.5, seed=self.seed)
AlgorithmTestCase.algorithm_run_test(self, es_griewank, es_griewankc)
def test_custom1_works_fine(self):
es1_custom = EvolutionStrategyMpL(mu=55, lam=45, k=50, c_a=1.1, c_r=0.5, seed=self.seed)
es1_customc = EvolutionStrategyMpL(mu=55, lam=45, k=50, c_a=1.1, c_r=0.5, seed=self.seed)
AlgorithmTestCase.algorithm_run_test(self, es1_custom, es1_customc, MyBenchmark())
def test_griewank1_works_fine(self):
es1_griewank = EvolutionStrategyMpL(mu=50, lam=30, k=25, c_a=1.5, c_r=0.5, seed=self.seed)
es1_griewankc = EvolutionStrategyMpL(mu=50, lam=30, k=25, c_a=1.5, c_r=0.5, seed=self.seed)
AlgorithmTestCase.algorithm_run_test(self, es1_griewank, es1_griewankc)
class ESMLTestCase(AlgorithmTestCase):
def test_custom_works_fine(self):
es_custom = EvolutionStrategyML(mu=45, k=50, c_a=1.1, c_r=0.5, seed=self.seed)
es_customc = EvolutionStrategyML(mu=45, k=50, c_a=1.1, c_r=0.5, seed=self.seed)
AlgorithmTestCase.algorithm_run_test(self, es_custom, es_customc, MyBenchmark())
def test_griewank_works_fine(self):
es_griewank = EvolutionStrategyML(mu=35, lam=45, k=45, c_a=1.5, c_r=0.5, seed=self.seed)
es_griewankc = EvolutionStrategyML(mu=35, lam=45, k=45, c_a=1.5, c_r=0.5, seed=self.seed)
AlgorithmTestCase.algorithm_run_test(self, es_griewank, es_griewankc)
def test_custom1_works_fine(self):
es1_custom = EvolutionStrategyML(mu=45, lam=35, k=50, c_a=1.1, c_r=0.5, seed=self.seed)
es1_customc = EvolutionStrategyML(mu=45, lam=35, k=50, c_a=1.1, c_r=0.5, seed=self.seed)
AlgorithmTestCase.algorithm_run_test(self, es1_custom, es1_customc, MyBenchmark())
def test_griewank1_works_fine(self):
es1_griewank = EvolutionStrategyML(mu=45, lam=35, k=25, c_a=1.5, c_r=0.5, seed=self.seed)
es1_griewankc = EvolutionStrategyML(mu=45, lam=35, k=25, c_a=1.5, c_r=0.5, seed=self.seed)
AlgorithmTestCase.algorithm_run_test(self, es1_griewank, es1_griewankc)
class CMAESTestCase(AlgorithmTestCase):
def test_typeParametes(self):
d = CovarianceMatrixAdaptionEvolutionStrategy.typeParameters()
self.assertTrue(d['epsilon'](0.234))
self.assertFalse(d['epsilon'](-0.234))
self.assertFalse(d['epsilon'](10000.234))
self.assertFalse(d['epsilon'](10))
def test_custom_works_fine(self):
es_custom = CovarianceMatrixAdaptionEvolutionStrategy(seed=self.seed)
es_customc = CovarianceMatrixAdaptionEvolutionStrategy(seed=self.seed)
AlgorithmTestCase.algorithm_run_test(self, es_custom, es_customc, MyBenchmark())
def test_griewank_works_fine(self):
es_griewank = CovarianceMatrixAdaptionEvolutionStrategy(seed=self.seed)
es_griewankc = CovarianceMatrixAdaptionEvolutionStrategy(seed=self.seed)
AlgorithmTestCase.algorithm_run_test(self, es_griewank, es_griewankc)
def test_custom1_works_fine(self):
es1_custom = CovarianceMatrixAdaptionEvolutionStrategy(seed=self.seed)
es1_customc = CovarianceMatrixAdaptionEvolutionStrategy(seed=self.seed)
AlgorithmTestCase.algorithm_run_test(self, es1_custom, es1_customc, MyBenchmark())
def test_griewank1_works_fine(self):
es1_griewank = CovarianceMatrixAdaptionEvolutionStrategy(seed=self.seed)
es1_griewankc = CovarianceMatrixAdaptionEvolutionStrategy(seed=self.seed)
AlgorithmTestCase.algorithm_run_test(self, es1_griewank, es1_griewankc)
# vim: tabstop=3 noexpandtab shiftwidth=3 softtabstop=3
| 50.128205
| 163
| 0.783973
| 901
| 5,865
| 4.880133
| 0.099889
| 0.058222
| 0.087332
| 0.020014
| 0.832386
| 0.759609
| 0.740505
| 0.740505
| 0.726404
| 0.672731
| 0
| 0.056077
| 0.090878
| 5,865
| 116
| 164
| 50.560345
| 0.768567
| 0.023359
| 0
| 0.369565
| 0
| 0
| 0.006988
| 0
| 0
| 0
| 0
| 0
| 0.108696
| 1
| 0.217391
| false
| 0
| 0.043478
| 0
| 0.326087
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
38286a1c40b4bfbdc397cb279e4609f14d5bdf6e
| 14,382
|
py
|
Python
|
helpers/attention.py
|
albenoit/DeepLearningTools
|
c3a1d4243805fd00a889d5d8453afe7972d19b73
|
[
"MIT"
] | 6
|
2018-10-25T21:12:04.000Z
|
2021-09-23T12:03:04.000Z
|
helpers/attention.py
|
albenoit/DeepLearningTools
|
c3a1d4243805fd00a889d5d8453afe7972d19b73
|
[
"MIT"
] | null | null | null |
helpers/attention.py
|
albenoit/DeepLearningTools
|
c3a1d4243805fd00a889d5d8453afe7972d19b73
|
[
"MIT"
] | 1
|
2021-04-16T09:40:33.000Z
|
2021-04-16T09:40:33.000Z
|
''' a collection of attention modules '''
import tensorflow as tf
import helpers.loss as loss
import helpers.model as model
def squeeze_excitation(input_features):
''' apply squeeze and exitation auto attention
from https://arxiv.org/abs/1709.01507
extended to support 2D and 3D data
Args:
input_features, the input features of shape [batch, height, width, channels]
Returns:
the channel weighed features weights of same shape as the input
'''
with tf.name_scope('Squeeze_and_excitation'):
#reduction_ratio=16 #default reduction factor used to reduce the dimension of the first channel interractions
#first apply gobal average pooling to obtain channel average activation
print('input features shape', input_features.shape)
features_dim=len(input_features.get_shape().as_list())
if features_dim==4:
print('2D squeeze and axcitation module')
features_averages= tf.keras.layers.GlobalAveragePooling2D()(input_features)
elif features_dim==5:
print('3D squeeze and axcitation module')
features_averages= tf.keras.layers.GlobalAveragePooling3D()(input_features)
else:
raise ValueError('Input features are expected to be 4D(2D data) or 5D(3D, volumetric data)')
print('pooled features shape', features_averages.shape)
#excitation model
first_interractions=tf.keras.layers.Dense(units=input_features.shape[-1]//16,
activation=tf.keras.activations.relu,
kernel_initializer=tf.keras.initializers.Orthogonal(),
bias_initializer=tf.initializers.constant(0.001),
kernel_regularizer=loss.Regularizer_soft_orthogonality(),
)(features_averages)
channel_weights=tf.keras.layers.Dense(units=input_features.shape[-1],
activation=tf.keras.activations.sigmoid,
kernel_initializer=tf.keras.initializers.Orthogonal(),
bias_initializer=tf.initializers.constant(0.001),
kernel_regularizer=loss.Regularizer_soft_orthogonality(),
)(first_interractions)
#return the weighted features
channel_weights = tf.reshape(channel_weights, [-1]+[1]*(features_dim-2)+[input_features.shape[-1]])
return input_features * channel_weights
def spatial_attention(input_features):
''' create a spatial maps that highlights regions of interest (autoattention based..)
Args:
input_features, the input features of shape [batch, height, width, channels]
Returns:
weights of shape [batch, height, width, 1]
from https://arxiv.org/pdf/2001.07645.pdf
'''
with tf.name_scope('Spatial_attention'):
print('input features shape', input_features.shape)
features_dim=len(input_features.get_shape().as_list())
if features_dim==4:
print('2D spatial attention module')
conv_op=tf.keras.layers.Conv2D
kernel=[1,1]
strides=(1,1)
dilation_rate=(1, 1)
elif features_dim==5:
print('3D attention module')
conv_op=tf.keras.layers.Conv3D
kernel=(1,1,1)
dilation_rate=(1, 1, 1)
else:
raise ValueError('Input features are expected to be 4D(2D data) or 5D(3D, volumetric data)')
print('input features shape', input_features.shape)
#excitation model
first_interractions=conv_op(
filters=input_features.shape[-1]//2,
kernel_size=kernel,
strides=strides,
padding='same',
data_format='channels_last',
dilation_rate=dilation_rate,
activation=tf.keras.activations.relu,
use_bias=True,
kernel_initializer=tf.keras.initializers.Orthogonal(),
bias_initializer=tf.initializers.constant(0.001),
kernel_regularizer=loss.Regularizer_soft_orthogonality(),
bias_regularizer=None,
activity_regularizer=None,
kernel_constraint=None,
bias_constraint=None
)(input_features)
spatial_weights=conv_op(
filters=1,
kernel_size=kernel,
strides=strides,
padding='same',
data_format='channels_last',
dilation_rate=dilation_rate,
activation=tf.keras.activations.sigmoid,
use_bias=True,
kernel_initializer=tf.keras.initializers.Orthogonal(),
bias_initializer=tf.initializers.constant(0.001),
kernel_regularizer=loss.Regularizer_soft_orthogonality(),
bias_regularizer=None,
activity_regularizer=None,
kernel_constraint=None,
bias_constraint=None
)(first_interractions)
#return the weighted features
return spatial_weights
def dual_attention(input_features):
''' combine spatial AND channel attention weighting (autoattention based..)
Args:
4D or 5D data if respecively image or volume samples
input_features, the input features of shape [batch, height, width, (depth), channels]
Returns:
spatially and channely weighted features of same shape as input [batch, height, width, (depth), channels]
from https://arxiv.org/pdf/2001.07645.pdf
'''
return squeeze_excitation(input_features)*(1.+spatial_attention(input_features))
def aconv(input_features, sampling_rate=8):
''' combine spatial AND channel attention weighting
Actually very similar to squeeze and excitation BUT squeeze is only a subsampling thus forcing local neighbors agregation
The excitation process then relies on convolutions before the final upsampling and activation step
Args:
4D or 5D data if respecively image or volume samples
input_features, the input features of shape [batch, height, width, (depth), channels]
sampling_rate: the downsampling rate that is applied to the input features
Returns:
spatially and channely weighted features of same shape as input [batch, height, width, (depth), channels]
inspired from https://openaccess.thecvf.com/content_CVPR_2020/html/Zhong_Squeeze-and-Attention_Networks_for_Semantic_Segmentation_CVPR_2020_paper.html
'''
features_dim=len(input_features.get_shape().as_list())
features_subsampler=None
features_upscaler=None
with tf.name_scope('attention_convolution'):
if features_dim==4:
print('2D spatial attention module')
conv_op=tf.keras.layers.Conv2D
features_subsampler=tf.keras.layers.AveragePooling2D
features_upscaler=tf.keras.layers.UpSampling2D
sampler_rate=(sampling_rate, sampling_rate)
kernel=[3,3]
strides=(1,1)
dilation_rate=(1, 1)
elif features_dim==5:
print('3D attention module')
conv_op=tf.keras.layers.Conv3D
features_subsampler=tf.keras.layers.AveragePooling3D
features_upscaler=tf.keras.layers.UpSampling3D
sampler_rate=(sampling_rate, sampling_rate, sampling_rate)
kernel=(3, 3, 3)
strides=(1, 1, 1)
dilation_rate=(1, 1, 1)
else:
raise ValueError('Input features are expected to be 4D(2D data) or 5D(3D, volumetric data)')
#Attention convolution operator definition
print('Attention convolution module')
print('input features',input_features)
#squeeze
features_subsampled=features_subsampler(pool_size=sampler_rate,
strides=None,
padding='valid',
data_format=None)(input_features)
print('subsampled features',features_subsampled)
#Excite
first_interractions=conv_op( #CVPR paper considers 2 groups of convolution
filters=input_features.shape[-1]//4,#CVPR paper : empirically reduce by a factor of 4
kernel_size=kernel,
strides=strides,
padding='same',
data_format='channels_last',
dilation_rate=dilation_rate,
activation=tf.keras.activations.relu,
use_bias=True,
kernel_initializer=tf.keras.initializers.Orthogonal(),
bias_initializer=tf.initializers.constant(0.001),
kernel_regularizer=loss.Regularizer_soft_orthogonality(),
bias_regularizer=None,
activity_regularizer=None,
kernel_constraint=None,
bias_constraint=None
)(features_subsampled)
weights=conv_op(
filters=1,
kernel_size=kernel,
strides=strides,
padding='same',
data_format='channels_last',
dilation_rate=dilation_rate,
activation=tf.keras.activations.sigmoid,
use_bias=True,
kernel_initializer=tf.keras.initializers.Orthogonal(),
bias_initializer=tf.initializers.constant(0.001),
kernel_regularizer=loss.Regularizer_soft_orthogonality(),
bias_regularizer=None,
activity_regularizer=None,
kernel_constraint=None,
bias_constraint=None
)(first_interractions)
#Finally upsample
upscaled_weights=features_upscaler(size=sampler_rate, data_format=None, interpolation='nearest')(weights)
#return the weighted features
return input_features * upscaled_weights
def aconv2(input_features, sampling_rate=8):
''' combine spatial AND channel attention weighting
Actually very similar to squeeze and excitation BUT squeeze is only a subsampling thus forcing local neighbors agregation
The excitation process then relies on convolutions before the final upsampling and activation step
Args:
4D or 5D data if respecively image or volume samples
input_features, the input features of shape [batch, height, width, (depth), channels]
sampling_rate: the downsampling rate that is applied to the input features
Returns:
spatially and channely weighted features of same shape as input [batch, height, width, (depth), channels]
REVISED VERSION of https://openaccess.thecvf.com/content_CVPR_2020/html/Zhong_Squeeze-and-Attention_Networks_for_Semantic_Segmentation_CVPR_2020_paper.html
'''
features_dim=len(input_features.get_shape().as_list())
features_subsampler=None
with tf.name_scope('attention_convolution'):
if features_dim==4:
print('2D spatial attention module')
conv_op=tf.keras.layers.Conv2D
features_subsampler=tf.keras.layers.AveragePooling2D
sampler_rate=(sampling_rate, sampling_rate)
kernel=[3, 3]
strides=(1, 1)
dilation_rate=(1, 1)
elif features_dim==5:
print('3D attention module')
conv_op=tf.keras.layers.Conv3D
features_subsampler=tf.keras.layers.AveragePooling3D
sampler_rate=(sampling_rate, sampling_rate, sampling_rate)
kernel=(3, 3, 3)
strides=(1, 1, 1)
dilation_rate=(1, 1, 1)
else:
raise ValueError('Input features are expected to be 4D(2D data) or 5D(3D, volumetric data)')
#Attention convolution operator definition
print('REVISED attention convolution module')
print('input features',input_features)
#squeeze
features_subsampled=features_subsampler(pool_size=sampler_rate,
strides=None,
padding='valid',
data_format=None)(input_features)
print('subsampled features',features_subsampled)
#Excite
first_interractions=conv_op( #CVPR paper considers 2 groups of convolution
filters=input_features.shape[-1],#//4,#CVPR paper : empirically reduce by a factor of 4
kernel_size=kernel,
strides=strides,
padding='same',
data_format='channels_last',
dilation_rate=dilation_rate,
activation=tf.keras.activations.relu,
use_bias=True,
kernel_initializer=tf.keras.initializers.Orthogonal(),
bias_initializer=tf.initializers.constant(0.001),
kernel_regularizer=loss.Regularizer_soft_orthogonality(),
bias_regularizer=None,
activity_regularizer=None,
kernel_constraint=None,
bias_constraint=None
)(features_subsampled)
upscaled_weights=model.SubpixelConv2D(first_interractions.get_shape().as_list(), factor=sampling_rate)(first_interractions)
#return the weighted features
return input_features * upscaled_weights
| 48.918367
| 160
| 0.590113
| 1,449
| 14,382
| 5.675638
| 0.151139
| 0.080618
| 0.025292
| 0.023833
| 0.843264
| 0.813473
| 0.80034
| 0.790005
| 0.782223
| 0.744285
| 0
| 0.020472
| 0.337714
| 14,382
| 293
| 161
| 49.085324
| 0.84294
| 0.219371
| 0
| 0.81592
| 0
| 0
| 0.080525
| 0.00583
| 0
| 0
| 0
| 0
| 0
| 1
| 0.024876
| false
| 0
| 0.014925
| 0
| 0.064677
| 0.089552
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.