@@ -136,43 +136,43 @@ def _ensure_prerequisites(
136136 # Preparation stage
137137 (
138138 (
139- ( "eucentric_tilt" , 2 ) ,
140- ( "artificial_features" , 5 ) ,
141- ( "milling_angle" , 8 ) ,
142- ( "image_acquisition" , 11 ) ,
143- ( "lamella_placement" , 14 ) ,
139+ "eucentric_tilt" ,
140+ "artificial_features" ,
141+ "milling_angle" ,
142+ "image_acquisition" ,
143+ "lamella_placement" ,
144144 ),
145145 "preparation_site" ,
146146 ),
147147 # Milling stage
148148 (
149149 (
150- ( "delay_1" , 20 ) ,
151- ( "reference_definition" , 23 ) ,
152- ( "reference_definition_electron" , 26 ) ,
153- ( "stress_relief_cuts" , 29 ) ,
154- ( "reference_redefinition_1" , 32 ) ,
155- ( "rough_milling" , 35 ) ,
156- ( "rough_milling_electron" , 38 ) ,
157- ( "reference_redefinition_2" , 41 ) ,
158- ( "medium_milling" , 44 ) ,
159- ( "medium_milling_electron" , 47 ) ,
160- ( "fine_milling" , 50 ) ,
161- ( "fine_milling_electron" , 53 ) ,
162- ( "finer_milling" , 56 ) ,
163- ( "finer_milling_electron" , 59 ) ,
150+ "delay_1" ,
151+ "reference_definition" ,
152+ "reference_definition_electron" ,
153+ "stress_relief_cuts" ,
154+ "reference_redefinition_1" ,
155+ "rough_milling" ,
156+ "rough_milling_electron" ,
157+ "reference_redefinition_2" ,
158+ "medium_milling" ,
159+ "medium_milling_electron" ,
160+ "fine_milling" ,
161+ "fine_milling_electron" ,
162+ "finer_milling" ,
163+ "finer_milling_electron" ,
164164 ),
165165 "chunk_site" ,
166166 ),
167167 # Thinning stage
168168 (
169169 (
170- ( "delay_2" , 65 ) ,
171- ( "polishing_1" , 68 ) ,
172- ( "polishing_1_electron" , 71 ) ,
173- ( "polishing_2" , 74 ) ,
174- ( "polishing_2_ion" , 77 ) ,
175- ( "polishing_2_electron" , 80 ) ,
170+ "delay_2" ,
171+ "polishing_1" ,
172+ "polishing_1_electron" ,
173+ "polishing_2" ,
174+ "polishing_2_ion" ,
175+ "polishing_2_electron" ,
176176 ),
177177 "thinning_site" ,
178178 ),
@@ -208,7 +208,7 @@ def _register_milling_step(
208208
209209 # Iteratively go through the LamellaSiteInfo model and insert for each step
210210 for steps , stage_name in MILLING_STEP_LOOKUP :
211- for step_name , _ in steps :
211+ for step_name in steps :
212212 step_info : MillingStepInfo | None = site_info .steps .__getattribute__ (
213213 step_name
214214 )
0 commit comments