forked from ReactionMechanismGenerator/ARC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
delete.py
30 lines (20 loc) · 802 Bytes
/
delete.py
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
#!/usr/bin/env python
# encoding: utf-8
"""
ARC - Automatic Rate Calculator
"""
from __future__ import (absolute_import, division, print_function, unicode_literals)
from arc.main import delete_all_arc_jobs
from arc.settings import servers
################################################################################
"""
Caution!!
Using this function might results in deletion of jobs running on all ARC-initiated servers ARC has access to.
Use this only if you are certain in what you're doing to avoid deleting valuable jobs and information loss.
"""
def main():
server_list = [server for server in servers.keys()]
delete_all_arc_jobs(server_list=server_list)
################################################################################
if __name__ == '__main__':
main()