Skip to content

Commit

Permalink
STYL: Fix flake8 error in commandlinebatch.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JoostJM committed Jan 31, 2019
1 parent 81e713a commit e6bef34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions radiomics/scripts/commandlinebatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ def main():
headers = None
for idx, entry in enumerate(flists, start=1):
# Check if the required columns have a value, if not, skip them.
if entry['Image'] is '':
if entry['Image'] == '':
logger.error('Missing value in column "Image", cannot process. Skipping patient (%d/%d)', idx, len(flists))
continue
if entry['Mask'] is '':
if entry['Mask'] == '':
logger.error('Missing value in column "Mask", cannot process. Skipping patient (%d/%d)', idx, len(flists))
continue

Expand Down

0 comments on commit e6bef34

Please sign in to comment.