Commit a94997c9 authored by Adoram-Kershner's avatar Adoram-Kershner
Browse files

adding warning to all bin scripts

parent 901d275f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -123,4 +123,8 @@ if __name__ == '__main__':
    msg = pop_computetime_push(queue,
                               conf['processing_queue'],
                               conf['working_queue'])
    if msg is None:
        warnings.warn('Expected to process a cluster job, but the message queue is empty.')
        sys.exit()

    main(msg, config)
+3 −0
Original line number Diff line number Diff line
@@ -50,5 +50,8 @@ if __name__ == '__main__':
    msg = pop_computetime_push(queue,
                               conf['processing_queue'],
                               conf['working_queue'])
    if msg is None:
        warnings.warn('Expected to process a cluster job, but the message queue is empty.')
        sys.exit()

    main(msg, config)
+3 −1
Original line number Diff line number Diff line
@@ -57,7 +57,9 @@ if __name__ == '__main__':
    msg = pop_computetime_push(queue,
                               conf['processing_queue'],
                               conf['working_queue'])

    if msg is None:
        warnings.warn('Expected to process a cluster job, but the message queue is empty.')
        sys.exit()
    # In order to pop an entry off the queue, we need the exact contents
    #remove_key = copy.deepcopy(msg)