Skip to content

Commit

Permalink
a bit of code cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
denisri committed May 23, 2024
1 parent 3e34a20 commit 14d66a5
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions python/soma_workflow/MPI_workflow_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,9 @@
license: CeCILL version 2, http://www.cecill.info/licences/Licence_CeCILL_V2-en.html
'''

from __future__ import with_statement, print_function
from __future__ import absolute_import

from six.moves import range
from . import subprocess
import sys
import time
import threading
import logging
import os
import socket
Expand All @@ -28,7 +23,7 @@
import six
import datetime
from mpi4py import MPI
from soma_workflow import scheduler, constants
from soma_workflow import constants
from soma_workflow.schedulers.mpi_scheduler import MPIScheduler


Expand All @@ -44,7 +39,7 @@ def slave_loop(communicator,
logger = logging.getLogger("testMPI.slave")
commands = {}

if epd_to_deploy != None:
if epd_to_deploy is not None:
lock_file_path = os.path.join(untar_directory, "sw_deploy_lock")
if not os.path.isfile(lock_file_path):
try:
Expand Down

0 comments on commit 14d66a5

Please sign in to comment.