Repository: DiamondLightSource/httomo (language: python)

Issue:
Lots of uses of unused parameters `name`, `pad`, `dimension`, and `in_file` in loader configs across the repo
Examples include: https://github.com/DiamondLightSource/httomo/blob/7842bae27c1777545279aa36e8c10d9c4eeb489f/tests/samples/pipeline_template_examples/DLS/03_i12_separate_darks_flats.yaml#L1-L19

and: https://github.com/DiamondLightSource/httomo/blob/7842bae27c1777545279aa36e8c10d9c4eeb489f/tests/samples/pipeline_template_examples/pipeline_gpu1.yaml#L1-L10

It's innocent enough since it causes no errors.

However, with some feedback from users where the YAML checker rejects pipelines where the loader config has `darks` and `flats` parameters (see https://github.com/DiamondLightSource/httomo-backends/issues/2), I think it makes sense to finally get rid of all these unused parameters - they make issues relating to the loader configs more confusing than they need to be.


Discussion / hints:

Fix patch:
diff --git a/docs/source/howto/process_lists/side_outputs/side_out.rst b/docs/source/howto/process_lists/side_outputs/side_out.rst
index e5ad105e8..b21ed48fd 100644
--- a/docs/source/howto/process_lists/side_outputs/side_out.rst
+++ b/docs/source/howto/process_lists/side_outputs/side_out.rst
@@ -103,8 +103,7 @@ extract the global statistics for normalisation of the data using the
 
 .. literalinclude:: ../../../../../tests/samples/pipeline_template_examples/pipeline_360deg_gpu2.yaml
   :language: yaml
-  :lines: 1-79
-  :emphasize-lines: 18,19,20,21,22,23,44,49,63,64,65,72
+  :emphasize-lines: 17-22,43,48,62-64,71
   :caption: Pipeline for 360 degrees scan, a double field of view (DFoV) data.
 
 Please see below for a concise description of how each of the individual side
diff --git a/docs/source/reference/loaders.rst b/docs/source/reference/loaders.rst
index cac33f659..032d7c3b7 100644
--- a/docs/source/reference/loaders.rst
+++ b/docs/source/reference/loaders.rst
@@ -98,7 +98,7 @@ In order to specify this information for both darks and flats, there is the
 
 .. literalinclude:: ../../../tests/samples/pipeline_template_examples/DLS/03_i12_separate_darks_flats.yaml
    :language: yaml
-   :emphasize-lines: 14-19
+   :emphasize-lines: 10-15
 
 Both parameters have two fields that needs to be specified:
 
@@ -128,7 +128,7 @@ but is now drawing attention to the :code:`rotation_angles` parameter:
 
 .. literalinclude:: ../../../tests/samples/pipeline_template_examples/DLS/03_i12_separate_darks_flats.yaml
    :language: yaml
-   :emphasize-lines: 7-11
+   :emphasize-lines: 5-9
 
 It can be seen that :code:`user_defined` has been specified instead of
 :code:`data_path`. Furthermore, there are then three fields provided:
diff --git a/docs/source/utilities/yaml_checker.rst b/docs/source/utilities/yaml_checker.rst
index eee5eaf31..af551cecf 100644
--- a/docs/source/utilities/yaml_checker.rst
+++ b/docs/source/utilities/yaml_checker.rst
@@ -85,7 +85,8 @@ For instance, we cannot have the following in a YAML file:
 .. literalinclude:: ../../../tests/samples/pipeline_template_examples/testing/wrong_indentation_pipeline.yaml
    :language: yaml
 
-This will raise a warning because :code:`name` is not in the same indentation level as :code:`data_path` and :code:`image_key_path`.
+This will raise a warning because :code:`data_path` is not at the same indentation level as the
+other fields directly under the :code:`parameters` field.
 
 * We check that the first method in the pipeline is always a loader from :code:`'httomo.data.hdf.loaders'`.
 * We check methods exist for the given module path.


Test patch:
diff --git a/tests/samples/loader_configs/diad.yaml b/tests/samples/loader_configs/diad.yaml
index d2423d2e6..729ff44f1 100644
--- a/tests/samples/loader_configs/diad.yaml
+++ b/tests/samples/loader_configs/diad.yaml
@@ -1,15 +1,11 @@
 - method: standard_tomo
   module_path: httomo.data.hdf.loaders
   parameters:
-    name: tomo
-    in_file: tests/test_data/k11_diad/k11-18014.nxs
     data_path: /entry/imaging/data
     image_key_path: /entry/instrument/imaging/image_key
     rotation_angles:
       data_path: /entry/imaging_sum/gts_theta_value
-    dimension: 1
     preview:
       detector_y:
         start: 5
         stop: 7
-    pad: 0
diff --git a/tests/samples/loader_configs/ebic.yaml b/tests/samples/loader_configs/ebic.yaml
index 3529e438d..aab3026a8 100644
--- a/tests/samples/loader_configs/ebic.yaml
+++ b/tests/samples/loader_configs/ebic.yaml
@@ -1,8 +1,6 @@
 - method: standard_tomo
   module_path: httomo.data.hdf.loaders
   parameters:
-    name: tomo
-    in_file: # /path/to/data_file/
     data_path: /exchange/data
     rotation_angles:
         data_path: /exchange/theta
@@ -12,5 +10,3 @@
     flats:
         file: # /path/to/file/containing/flats
         data_path: /exchange/data_white_post
-    dimension: 1
-    pad: 0
diff --git a/tests/samples/loader_configs/standard_tomo.yaml b/tests/samples/loader_configs/standard_tomo.yaml
index e2b92feda..53cc06415 100644
--- a/tests/samples/loader_configs/standard_tomo.yaml
+++ b/tests/samples/loader_configs/standard_tomo.yaml
@@ -1,14 +1,11 @@
 - method: standard_tomo
   module_path: httomo.data.hdf.loaders
   parameters:
-    name: tomo
     data_path: entry1/tomo_entry/data/data
     image_key_path: entry1/tomo_entry/instrument/detector/image_key
     rotation_angles:
       data_path: /entry1/tomo_entry/data/rotation_angle
-    dimension: 1
     preview:
       detector_y:
         start: 57
         stop: 60
-    pad: 0
\ No newline at end of file
diff --git a/tests/samples/pipeline_template_examples/DLS/01_diad_pipeline_gpu.yaml b/tests/samples/pipeline_template_examples/DLS/01_diad_pipeline_gpu.yaml
index fc3bbc3e9..fcfa6c4a0 100644
--- a/tests/samples/pipeline_template_examples/DLS/01_diad_pipeline_gpu.yaml
+++ b/tests/samples/pipeline_template_examples/DLS/01_diad_pipeline_gpu.yaml
@@ -1,7 +1,6 @@
 - method: standard_tomo
   module_path: httomo.data.hdf.loaders
   parameters:
-    name: tomo
     data_path: /entry/imaging/data
     image_key_path: /entry/instrument/imaging/image_key
     rotation_angles:
diff --git a/tests/samples/pipeline_template_examples/DLS/03_i12_separate_darks_flats.yaml b/tests/samples/pipeline_template_examples/DLS/03_i12_separate_darks_flats.yaml
index b44d14fe8..112539a1f 100644
--- a/tests/samples/pipeline_template_examples/DLS/03_i12_separate_darks_flats.yaml
+++ b/tests/samples/pipeline_template_examples/DLS/03_i12_separate_darks_flats.yaml
@@ -1,16 +1,12 @@
 - method: standard_tomo
   module_path: httomo.data.hdf.loaders
   parameters:
-    name: tomo
-    in_file: tests/test_data/i12/separate_flats_darks/i12_dynamic_start_stop180.nxs
     data_path: /1-TempPlugin-tomo/data
     rotation_angles:
       user_defined:
         start_angle: 0
         stop_angle: 180
         angles_total: 724
-    dimension: 1
-    pad: 0
     darks:
       file: tests/test_data/i12/separate_flats_darks/dark_field.h5
       data_path: /1-NoProcessPlugin-tomo/data
diff --git a/tests/samples/pipeline_template_examples/DLS/04_i12_ignore_darks_flats.yaml b/tests/samples/pipeline_template_examples/DLS/04_i12_ignore_darks_flats.yaml
index d0834b762..3c574b5a7 100644
--- a/tests/samples/pipeline_template_examples/DLS/04_i12_ignore_darks_flats.yaml
+++ b/tests/samples/pipeline_template_examples/DLS/04_i12_ignore_darks_flats.yaml
@@ -1,16 +1,12 @@
 - method: standard_tomo
   module_path: httomo.data.hdf.loaders
   parameters:
-    name: tomo
-    in_file: tests/test_data/i12/separate_flats_darks/i12_dynamic_start_stop180.nxs
     data_path: /1-TempPlugin-tomo/data
     rotation_angles:
       user_defined:
         start_angle: 0
         stop_angle: 180
         angles_total: 724
-    dimension: 1
-    pad: 0
     darks:
       file: tests/test_data/i12/separate_flats_darks/dark_field.h5
       data_path: /1-NoProcessPlugin-tomo/data
diff --git a/tests/samples/pipeline_template_examples/pipeline_360deg_gpu2.yaml b/tests/samples/pipeline_template_examples/pipeline_360deg_gpu2.yaml
index 4b8bc49e5..a14847230 100644
--- a/tests/samples/pipeline_template_examples/pipeline_360deg_gpu2.yaml
+++ b/tests/samples/pipeline_template_examples/pipeline_360deg_gpu2.yaml
@@ -1,7 +1,6 @@
 - method: standard_tomo
   module_path: httomo.data.hdf.loaders
   parameters:
-    name: tomo
     data_path: entry1/tomo_entry/data/data
     image_key_path: entry1/tomo_entry/instrument/detector/image_key
     rotation_angles:
diff --git a/tests/samples/pipeline_template_examples/pipeline_360deg_iterative_gpu3.yaml b/tests/samples/pipeline_template_examples/pipeline_360deg_iterative_gpu3.yaml
index 24a3ed878..78c4ed9c9 100644
--- a/tests/samples/pipeline_template_examples/pipeline_360deg_iterative_gpu3.yaml
+++ b/tests/samples/pipeline_template_examples/pipeline_360deg_iterative_gpu3.yaml
@@ -1,7 +1,6 @@
 - method: standard_tomo
   module_path: httomo.data.hdf.loaders
   parameters:
-    name: tomo
     data_path: entry1/tomo_entry/data/data
     image_key_path: entry1/tomo_entry/instrument/detector/image_key
     rotation_angles:
diff --git a/tests/samples/pipeline_template_examples/pipeline_cpu1.yaml b/tests/samples/pipeline_template_examples/pipeline_cpu1.yaml
index c8719e9eb..7874bf32f 100644
--- a/tests/samples/pipeline_template_examples/pipeline_cpu1.yaml
+++ b/tests/samples/pipeline_template_examples/pipeline_cpu1.yaml
@@ -1,7 +1,6 @@
 - method: standard_tomo
   module_path: httomo.data.hdf.loaders
   parameters:
-    name: tomo
     data_path: entry1/tomo_entry/data/data
     image_key_path: entry1/tomo_entry/instrument/detector/image_key
     rotation_angles:
diff --git a/tests/samples/pipeline_template_examples/pipeline_cpu2.yaml b/tests/samples/pipeline_template_examples/pipeline_cpu2.yaml
index b587f217a..48188035d 100644
--- a/tests/samples/pipeline_template_examples/pipeline_cpu2.yaml
+++ b/tests/samples/pipeline_template_examples/pipeline_cpu2.yaml
@@ -1,7 +1,6 @@
 - method: standard_tomo
   module_path: httomo.data.hdf.loaders
   parameters:
-    name: tomo
     data_path: entry1/tomo_entry/data/data
     image_key_path: entry1/tomo_entry/instrument/detector/image_key
     rotation_angles:
diff --git a/tests/samples/pipeline_template_examples/pipeline_cpu3.yaml b/tests/samples/pipeline_template_examples/pipeline_cpu3.yaml
index b35548828..715671b17 100644
--- a/tests/samples/pipeline_template_examples/pipeline_cpu3.yaml
+++ b/tests/samples/pipeline_template_examples/pipeline_cpu3.yaml
@@ -1,7 +1,6 @@
 - method: standard_tomo
   module_path: httomo.data.hdf.loaders
   parameters:
-    name: tomo
     data_path: entry1/tomo_entry/data/data
     image_key_path: entry1/tomo_entry/instrument/detector/image_key
     rotation_angles:
diff --git a/tests/samples/pipeline_template_examples/pipeline_cpu4.yaml b/tests/samples/pipeline_template_examples/pipeline_cpu4.yaml
index 954e0d56f..f35ed2f09 100644
--- a/tests/samples/pipeline_template_examples/pipeline_cpu4.yaml
+++ b/tests/samples/pipeline_template_examples/pipeline_cpu4.yaml
@@ -1,7 +1,6 @@
 - method: standard_tomo
   module_path: httomo.data.hdf.loaders
   parameters:
-    name: tomo
     data_path: entry1/tomo_entry/data/data
     image_key_path: entry1/tomo_entry/instrument/detector/image_key
     rotation_angles:
diff --git a/tests/samples/pipeline_template_examples/pipeline_gpu1.yaml b/tests/samples/pipeline_template_examples/pipeline_gpu1.yaml
index 67d7d8325..05e5397ab 100644
--- a/tests/samples/pipeline_template_examples/pipeline_gpu1.yaml
+++ b/tests/samples/pipeline_template_examples/pipeline_gpu1.yaml
@@ -1,13 +1,10 @@
 - method: standard_tomo
   module_path: httomo.data.hdf.loaders
   parameters:
-    name: tomo
     data_path: entry1/tomo_entry/data/data
     image_key_path: entry1/tomo_entry/instrument/detector/image_key
     rotation_angles:
       data_path: /entry1/tomo_entry/data/rotation_angle
-    dimension: 1
-    pad: 0
 - method: find_center_vo
   module_path: httomolibgpu.recon.rotation
   parameters:
diff --git a/tests/samples/pipeline_template_examples/testing/duplicated_key.yaml b/tests/samples/pipeline_template_examples/testing/duplicated_key.yaml
index 9d90fd59d..e94e744e2 100644
--- a/tests/samples/pipeline_template_examples/testing/duplicated_key.yaml
+++ b/tests/samples/pipeline_template_examples/testing/duplicated_key.yaml
@@ -1,13 +1,10 @@
 - method: standard_tomo
   module_path: httomo.data.hdf.loaders
   parameters:
-    name: tomo
     data_path: entry1/tomo_entry/data/data
     image_key_path: entry1/tomo_entry/instrument/detector/image_key
     rotation_angles:
       data_path: /entry1/tomo_entry/data/rotation_angle
-    dimension: 1
-    pad: 0
 - method: normalize
   module_path: tomopy.prep.normalize
   parameters:
diff --git a/tests/samples/pipeline_template_examples/testing/example.yaml b/tests/samples/pipeline_template_examples/testing/example.yaml
index 703917056..9179e2c15 100644
--- a/tests/samples/pipeline_template_examples/testing/example.yaml
+++ b/tests/samples/pipeline_template_examples/testing/example.yaml
@@ -1,7 +1,6 @@
 - method: standard_tomo
   module_path: httomo.data.hdf.loaders
   parameters:
-   name: tomo
    data_path: entry1/tomo_entry/data/data
    image_key_path: entry1/tomo_entry/instrument/detector/image_key
    rotation_angles:
diff --git a/tests/samples/pipeline_template_examples/testing/incorrect_method.yaml b/tests/samples/pipeline_template_examples/testing/incorrect_method.yaml
index dedb810c6..ef40318f0 100644
--- a/tests/samples/pipeline_template_examples/testing/incorrect_method.yaml
+++ b/tests/samples/pipeline_template_examples/testing/incorrect_method.yaml
@@ -1,18 +1,15 @@
 - method: standard_tomo
   module_path: httomo.data.hdf.loaders
   parameters:
-    name: tomo
     data_path: entry1/tomo_entry/data/data
     image_key_path: entry1/tomo_entry/instrument/detector/image_key
     rotation_angles:
       data_path: /entry1/tomo_entry/data/rotation_angle
-    dimension: 1
     preview:
       -
       - start: 30
         stop: 60
       -
-    pad: 0
 - method: median_filters # incorrect method name
   module_path: tomopy.misc.corr
   parameters:
diff --git a/tests/samples/pipeline_template_examples/testing/incorrect_path.yaml b/tests/samples/pipeline_template_examples/testing/incorrect_path.yaml
index 35a2c2696..2375b70e0 100644
--- a/tests/samples/pipeline_template_examples/testing/incorrect_path.yaml
+++ b/tests/samples/pipeline_template_examples/testing/incorrect_path.yaml
@@ -1,11 +1,8 @@
 - method: standard_tomo
   module_path: httomo.data.hdf.loaders
   parameters:
-    name: tomo
     data_path: entry1/tomo_entry/data/data
     image_key_path: entry1/tomo_entry/instrument/detect/image_key #incorrect path
     rotation_angles:
       data_path: /entry1/tomo_entry/data/rotation_angle
-    dimension: 1
     preview: [None, None, None]
-    pad: 0
\ No newline at end of file
diff --git a/tests/samples/pipeline_template_examples/testing/invalid_reference.yaml b/tests/samples/pipeline_template_examples/testing/invalid_reference.yaml
index 1060f2c9c..0557367af 100644
--- a/tests/samples/pipeline_template_examples/testing/invalid_reference.yaml
+++ b/tests/samples/pipeline_template_examples/testing/invalid_reference.yaml
@@ -1,13 +1,10 @@
 - method: standard_tomo
   module_path: httomo.data.hdf.loaders
   parameters:
-    name: tomo
     data_path: entry1/tomo_entry/data/data
     image_key_path: entry1/tomo_entry/instrument/detector/image_key
     rotation_angles:
       data_path: /entry1/tomo_entry/data/rotation_angle
-    dimension: 1
-    pad: 0
 - method: normalize
   module_path: tomopy.prep.normalize
   parameters:
diff --git a/tests/samples/pipeline_template_examples/testing/invalid_reference_1.yaml b/tests/samples/pipeline_template_examples/testing/invalid_reference_1.yaml
index dd760f0cb..272a35399 100644
--- a/tests/samples/pipeline_template_examples/testing/invalid_reference_1.yaml
+++ b/tests/samples/pipeline_template_examples/testing/invalid_reference_1.yaml
@@ -1,13 +1,10 @@
 - method: standard_tomo
   module_path: httomo.data.hdf.loaders
   parameters:
-    name: tomo
     data_path: entry1/tomo_entry/data/data
     image_key_path: entry1/tomo_entry/instrument/detector/image_key
     rotation_angles:
       data_path: /entry1/tomo_entry/data/rotation_angle
-    dimension: 1
-    pad: 0
 - method: normalize
   module_path: tomopy.prep.normalize
   parameters:
diff --git a/tests/samples/pipeline_template_examples/testing/invalid_reference_2.yaml b/tests/samples/pipeline_template_examples/testing/invalid_reference_2.yaml
index 944a1c5b7..f01927572 100644
--- a/tests/samples/pipeline_template_examples/testing/invalid_reference_2.yaml
+++ b/tests/samples/pipeline_template_examples/testing/invalid_reference_2.yaml
@@ -1,13 +1,10 @@
 - method: standard_tomo
   module_path: httomo.data.hdf.loaders
   parameters:
-    name: tomo
     data_path: entry1/tomo_entry/data/data
     image_key_path: entry1/tomo_entry/instrument/detector/image_key
     rotation_angles:
       data_path: /entry1/tomo_entry/data/rotation_angle
-    dimension: 1
-    pad: 0
 - method: normalize
   module_path: tomopy.prep.normalize
   parameters:
diff --git a/tests/samples/pipeline_template_examples/testing/invalid_reference_3.yaml b/tests/samples/pipeline_template_examples/testing/invalid_reference_3.yaml
index a10b61f37..32db46feb 100644
--- a/tests/samples/pipeline_template_examples/testing/invalid_reference_3.yaml
+++ b/tests/samples/pipeline_template_examples/testing/invalid_reference_3.yaml
@@ -1,13 +1,10 @@
 - method: standard_tomo
   module_path: httomo.data.hdf.loaders
   parameters:
-    name: tomo
     data_path: entry1/tomo_entry/data/data
     image_key_path: entry1/tomo_entry/instrument/detector/image_key
     rotation_angles:
       data_path: /entry1/tomo_entry/data/rotation_angle
-    dimension: 1
-    pad: 0
 - method: normalize
   module_path: tomopy.prep.normalize
   parameters:
diff --git a/tests/samples/pipeline_template_examples/testing/invalid_reference_4.yaml b/tests/samples/pipeline_template_examples/testing/invalid_reference_4.yaml
index 3590de51a..0fa786835 100644
--- a/tests/samples/pipeline_template_examples/testing/invalid_reference_4.yaml
+++ b/tests/samples/pipeline_template_examples/testing/invalid_reference_4.yaml
@@ -1,13 +1,10 @@
 - method: standard_tomo
   module_path: httomo.data.hdf.loaders
   parameters:
-    name: tomo
     data_path: entry1/tomo_entry/data/data
     image_key_path: entry1/tomo_entry/instrument/detector/image_key
     rotation_angles:
       data_path: /entry1/tomo_entry/data/rotation_angle
-    dimension: 1
-    pad: 0
 - method: normalize
   module_path: tomopy.prep.normalize
   parameters:
diff --git a/tests/samples/pipeline_template_examples/testing/non_str_param_name.yaml b/tests/samples/pipeline_template_examples/testing/non_str_param_name.yaml
index 7adde9262..0b69d0a44 100644
--- a/tests/samples/pipeline_template_examples/testing/non_str_param_name.yaml
+++ b/tests/samples/pipeline_template_examples/testing/non_str_param_name.yaml
@@ -1,13 +1,10 @@
 - method: standard_tomo
   module_path: httomo.data.hdf.loaders
   parameters:
-    name: tomo
     data_path: entry1/tomo_entry/data/data
     image_key_path: entry1/tomo_entry/instrument/detector/image_key
     rotation_angles:
       data_path: /entry1/tomo_entry/data/rotation_angle
-    dimension: 1
-    pad: 0
 - method: normalize
   module_path: tomopy.prep.normalize
   parameters:
diff --git a/tests/samples/pipeline_template_examples/testing/required_keys.yaml b/tests/samples/pipeline_template_examples/testing/required_keys.yaml
index 51f247130..3daf9c017 100644
--- a/tests/samples/pipeline_template_examples/testing/required_keys.yaml
+++ b/tests/samples/pipeline_template_examples/testing/required_keys.yaml
@@ -1,13 +1,10 @@
 - method: standard_tomo
   module_path: httomo.data.hdf.loaders
   parameters:
-    name: tomo
     data_path: entry1/tomo_entry/data/data
     image_key_path: entry1/tomo_entry/instrument/detector/image_key
     rotation_angles:
       data_path: /entry1/tomo_entry/data/rotation_angle
-    dimension: 1
-    pad: 0
 - method: normalize # missing required keys
 - method: stripes_mask3d
   module_path: tomopy.prep.stripe
diff --git a/tests/samples/pipeline_template_examples/testing/required_param.yaml b/tests/samples/pipeline_template_examples/testing/required_param.yaml
index 776e83d92..1843d6b3a 100644
--- a/tests/samples/pipeline_template_examples/testing/required_param.yaml
+++ b/tests/samples/pipeline_template_examples/testing/required_param.yaml
@@ -1,13 +1,10 @@
 - method: standard_tomo
   module_path: httomo.data.hdf.loaders
   parameters:
-    name: tomo
     data_path: entry1/tomo_entry/data/data
     image_key_path: entry1/tomo_entry/instrument/detector/image_key
     rotation_angles:
       data_path: /entry1/tomo_entry/data/rotation_angle
-    dimension: 1
-    pad: 0
 - method: normalize
   module_path: tomopy.prep.normalize
   parameters:
diff --git a/tests/samples/pipeline_template_examples/testing/step_absent.yml b/tests/samples/pipeline_template_examples/testing/step_absent.yml
index 92bff1b3a..108f74ac2 100644
--- a/tests/samples/pipeline_template_examples/testing/step_absent.yml
+++ b/tests/samples/pipeline_template_examples/testing/step_absent.yml
@@ -1,13 +1,10 @@
 - method: standard_tomo
   module_path: httomo.data.hdf.loaders
   parameters:
-    name: tomo
     data_path: /entry1/tomo_entry/data/data
     image_key_path: /entry1/tomo_entry/instrument/detector/image_key
     rotation_angles:
       data_path: /entry1/tomo_entry/data/rotation_angle
-    dimension: 1
-    pad: 0
 - method: recon
   module_path: tomopy.recon.algorithm
   parameters:
diff --git a/tests/samples/pipeline_template_examples/testing/unknown_param.yaml b/tests/samples/pipeline_template_examples/testing/unknown_param.yaml
index 480a8590c..be07301f6 100644
--- a/tests/samples/pipeline_template_examples/testing/unknown_param.yaml
+++ b/tests/samples/pipeline_template_examples/testing/unknown_param.yaml
@@ -1,13 +1,10 @@
 - method: standard_tomo
   module_path: httomo.data.hdf.loaders
   parameters:
-    name: tomo
     data_path: entry1/tomo_entry/data/data
     image_key_path: entry1/tomo_entry/instrument/detector/image_key
     rotation_angles:
       data_path: /entry1/tomo_entry/data/rotation_angle
-    dimension: 1
-    pad: 0
 - method: normalize
   module_path: tomopy.prep.normalize
   parameters:
diff --git a/tests/samples/pipeline_template_examples/testing/valid_reference.yaml b/tests/samples/pipeline_template_examples/testing/valid_reference.yaml
index 395b00018..3455f7b5f 100644
--- a/tests/samples/pipeline_template_examples/testing/valid_reference.yaml
+++ b/tests/samples/pipeline_template_examples/testing/valid_reference.yaml
@@ -1,13 +1,10 @@
 - method: standard_tomo
   module_path: httomo.data.hdf.loaders
   parameters:
-    name: tomo
     data_path: entry1/tomo_entry/data/data
     image_key_path: entry1/tomo_entry/instrument/detector/image_key
     rotation_angles:
       data_path: /entry1/tomo_entry/data/rotation_angle
-    dimension: 1
-    pad: 0
 - method: normalize
   module_path: tomopy.prep.normalize
   parameters:
diff --git a/tests/samples/pipeline_template_examples/testing/wrong_indentation_pipeline.yaml b/tests/samples/pipeline_template_examples/testing/wrong_indentation_pipeline.yaml
index 8d0aee8ba..7330a0c3b 100644
--- a/tests/samples/pipeline_template_examples/testing/wrong_indentation_pipeline.yaml
+++ b/tests/samples/pipeline_template_examples/testing/wrong_indentation_pipeline.yaml
@@ -1,11 +1,8 @@
 - method: standard_tomo
   module_path: httomo.data.hdf.loaders
   parameters:
-      name: tomo
-    data_path: /entry1/tomo_entry/data/data
+      data_path: /entry1/tomo_entry/data/data
     image_key_path: /entry1/tomo_entry/instrument/detector/image_key
     rotation_angles:
       data_path: /entry1/tomo_entry/data/rotation_angle
-    dimension: 1
     preview: [None, None, None]
-    pad: 0