|
@@ 376-392 (lines=17) @@
|
| 373 |
|
f"plugin's plugin_out_datasets" |
| 374 |
|
logging.debug(info_str) |
| 375 |
|
|
| 376 |
|
if s2 in p[0]: |
| 377 |
|
new_cloned_data_pData = \ |
| 378 |
|
self._ip_plugin_data_dict['clone']['start_plugin'] |
| 379 |
|
self.start_plugin.parameters['plugin_in_datasets'] = \ |
| 380 |
|
[new_cloned_data_pData] |
| 381 |
|
p[0][0]._set_plugin_data(new_cloned_data_pData) |
| 382 |
|
elif s2 in p[1]: |
| 383 |
|
new_cloned_data_pData = \ |
| 384 |
|
self._ip_plugin_data_dict['clone']['end_plugin'] |
| 385 |
|
self.end_plugin.parameters['plugin_out_datasets'] = \ |
| 386 |
|
[new_cloned_data_pData] |
| 387 |
|
p[1][0]._set_plugin_data(new_cloned_data_pData) |
| 388 |
|
else: |
| 389 |
|
info_str = f"s2 {s2.backing_file} wasn't in either the start " \ |
| 390 |
|
f"plugin's plugin_in_datasets, nor the end " \ |
| 391 |
|
f"plugin's plugin_out_datasets" |
| 392 |
|
logging.debug(info_str) |
| 393 |
|
|
| 394 |
|
# reset the values inside Data.data_info that have an effect on how the |
| 395 |
|
# value of core_slice in SliceLists comes out |
|
@@ 358-374 (lines=17) @@
|
| 355 |
|
for s1, s2 in self._ip_data_dict['iterating'].items(): |
| 356 |
|
# change the PluginData obejcts for the in and out datasets, to take |
| 357 |
|
# care of the potential switching of patterns |
| 358 |
|
if s1 in p[0]: |
| 359 |
|
new_original_data_pData = \ |
| 360 |
|
self._ip_plugin_data_dict['original']['start_plugin'] |
| 361 |
|
self.start_plugin.parameters['plugin_in_datasets'] = \ |
| 362 |
|
[new_original_data_pData] |
| 363 |
|
p[0][0]._set_plugin_data(new_original_data_pData) |
| 364 |
|
elif s1 in p[1]: |
| 365 |
|
new_original_data_pData = \ |
| 366 |
|
self._ip_plugin_data_dict['original']['end_plugin'] |
| 367 |
|
self.end_plugin.parameters['plugin_out_datasets'] = \ |
| 368 |
|
[new_original_data_pData] |
| 369 |
|
p[1][0]._set_plugin_data(new_original_data_pData) |
| 370 |
|
else: |
| 371 |
|
info_str = f"s1 {s1.backing_file} wasn't in either the start " \ |
| 372 |
|
f"plugin's plugin_in_datasets, nor the end " \ |
| 373 |
|
f"plugin's plugin_out_datasets" |
| 374 |
|
logging.debug(info_str) |
| 375 |
|
|
| 376 |
|
if s2 in p[0]: |
| 377 |
|
new_cloned_data_pData = \ |