SlurmControl
find_list_indices
find_list_indices(reference_cmds, query_ids)
Search for ID's present in supplied list in a reference list and return the indices of the reference list where they are found
Source code in symdesign/tools/SlurmControl.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
|
filter_by_indices
filter_by_indices(index_array, _iterable, zero=True)
Return the indices from an iterable that match a specified input index array
Source code in symdesign/tools/SlurmControl.py
34 35 36 37 |
|
link_pair
link_pair(pair: tuple[str, str], force: bool = False) -> None
Combine docking files of one docking combination with another
Parameters:
-
pair
(tuple[str, str]
) –source file, destination file (link)
-
force
(bool
, default:False
) –Whether to remove links before creation
Source code in symdesign/tools/SlurmControl.py
86 87 88 89 90 91 92 93 94 95 |
|
investigate_job_array_failure
investigate_job_array_failure(job_id, output_dir=os.path.join(os.getcwd(), 'output'))
Returns an array for each of the errors encountered. All=True returns the set
Source code in symdesign/tools/SlurmControl.py
98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
|
change_script_array
change_script_array(script_file, array)
Take a script file and replace the array line with a new array
Source code in symdesign/tools/SlurmControl.py
136 137 138 139 140 141 142 143 144 145 146 147 148 |
|