Skip to content

Commit

Permalink
Merge pull request #756 from ysuter/fix-label-batchprocessingparallel
Browse files Browse the repository at this point in the history
fix: label assignment for feature extraction
  • Loading branch information
JoostJM committed Apr 3, 2022
2 parents 2e0b76e + ed67b14 commit 2791e23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/batchprocessing_parallel.py
Expand Up @@ -114,7 +114,7 @@ def run(case):
extractor = RadiomicsFeatureExtractor(PARAMS)

# Extract features
feature_vector.update(extractor.execute(imageFilepath, maskFilepath), label=label)
feature_vector.update(extractor.execute(imageFilepath, maskFilepath, label=label))

# Store results in temporary separate files to prevent write conflicts
# This allows for the extraction to be interrupted. Upon restarting, already processed cases are found in the
Expand Down

0 comments on commit 2791e23

Please sign in to comment.