Exemple #1
0
settings_Frag1 = Settings()
settings_Frag2 = Settings()
settings_Fa = Settings()

for key, val in list(inputKeys.items()):
    if key == 'adfinputfile':
        for option in inputKeys['adfinputfile']:
            exec(option)
for key, val in list(inputKeys.items()):
    if key == 'fragment1_EXTRA':
        for option in inputKeys['fragment1_EXTRA']:
            exec(option)
for key, val in list(inputKeys.items()):
    if key == 'fragment2_EXTRA':
        for option in inputKeys['fragment2_EXTRA']:
            exec(option)
for key, val in list(inputKeys.items()):
    if key == 'complex_EXTRA':
        for option in inputKeys['complex_EXTRA']:
            exec(option)

tableValue, fileName, failStructures = PyFragDriver(inputKeys, settings_Frag1,
                                                    settings_Frag2,
                                                    settings_Fa)

WriteTable(tableValue, fileName)
if failStructures is not None:
    WriteFailFiles(failStructures, fileName)

finish()
Exemple #2
0
for key, val in list(inputKeys.items()):
    if key == "fragment1_open_EXTRA":
        for option in inputKeys["fragment1_open_EXTRA"]:
            exec(option)
for key, val in list(inputKeys.items()):
    if key == "fragment2_open_EXTRA":
        for option in inputKeys["fragment2_open_EXTRA"]:
            exec(option)
for key, val in list(inputKeys.items()):
    if key == "complex_open_EXTRA":
        for option in inputKeys["complex_open_EXTRA"]:
            exec(option)

tableValues, fileName, failStructures = PyFragDriver(
    inputKeys,
    settings_Frag1,
    settings_Frag2,
    settings_Fa,
    settings_Frag1_open,
    settings_Frag2_open,
    settings_Fa_open,
)

WriteTable(tableValues, fileName)
WriteDefaultTable(tableValues, fileName)

if failStructures is not None:
    WriteFailFiles(failStructures, fileName)

finish()