Skip to content

Commit b8ff579

Browse files
committed
Improve readability
1 parent d080f6d commit b8ff579

1 file changed

Lines changed: 7 additions & 9 deletions

File tree

src/imcflibs/imagej/bdv.py

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1406,8 +1406,8 @@ def duplicate_transformations(
14061406
tile_apply = ""
14071407
tile_process = ""
14081408

1409-
chnl_apply = ""
1410-
chnl_process = ""
1409+
ch_apply = ""
1410+
ch_process = ""
14111411

14121412
if transformation_type == "channel":
14131413
apply = "[One channel to other channels]"
@@ -1423,12 +1423,10 @@ def duplicate_transformations(
14231423
target = "[All Tiles]"
14241424
source = str(tile_source)
14251425
if channel_source:
1426-
chnl_apply = "apply_to_channel=[Single channel (Select from List)] "
1427-
chnl_process = (
1428-
"processing_channel=[channel " + str(channel_source - 1) + "] "
1429-
)
1426+
ch_apply = "apply_to_channel=[Single channel (Select from List)] "
1427+
ch_process = "processing_channel=[channel " + str(channel_source - 1) + "] "
14301428
else:
1431-
chnl_apply = "apply_to_channel=[All channels] "
1429+
ch_apply = "apply_to_channel=[All channels] "
14321430
else:
14331431
sys.exit("Issue with transformation duplication")
14341432

@@ -1443,8 +1441,8 @@ def duplicate_transformations(
14431441
+ "apply_to_illumination=[All illuminations] "
14441442
+ tile_apply
14451443
+ tile_process
1446-
+ chnl_apply
1447-
+ chnl_process
1444+
+ ch_apply
1445+
+ ch_process
14481446
+ "apply_to_timepoint=[All Timepoints] "
14491447
+ "source="
14501448
+ source

0 commit comments

Comments
 (0)