Skip to content

Commit

Permalink
pylint fixes v2
Browse files Browse the repository at this point in the history
  • Loading branch information
rbrown333 committed Aug 28, 2024
1 parent c5a177e commit fe81532
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions pydicer/analyse/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,21 +525,18 @@ def compute_radiomics(

#add normalisation and resampling details
output_frame.insert(
loc=0,
column="NormalisationScale",
value=settings["normalizeScale"]
loc=0, column="NormalisationScale", value=settings["normalizeScale"]
)
if settings["resampledPixelSpacing"] is not None:
output_frame.insert(
loc=0,
column="ResampledPixelSpacing",
loc=0,column="ResampledPixelSpacing",
value=settings["resampledPixelSpacing"][0]
)
)
else:
output_frame.insert(
loc=0, column="ResampledPixelSpacing",
loc=0, column="ResampledPixelSpacing",
value=settings["resampledPixelSpacing"]
)
)

output_frame.insert(loc=0, column="StructHashedUID", value=struct_row.hashed_uid)
output_frame.insert(loc=0, column="ImageHashedUID", value=img_row.hashed_uid)
Expand Down

0 comments on commit fe81532

Please sign in to comment.