@@ -327,7 +327,7 @@ def calculate(
327327 if "stresses" in properties :
328328 raise NotImplementedError ("'stresses' are not implemented yet" )
329329
330- with record_function ("ASECalculator ::prepare_inputs" ):
330+ with record_function ("MetatomicCalculator ::prepare_inputs" ):
331331 outputs = self ._ase_properties_to_metatensor_outputs (
332332 properties ,
333333 calculate_forces = calculate_forces ,
@@ -371,7 +371,7 @@ def calculate(
371371 selected_atoms = None ,
372372 )
373373
374- with record_function ("ASECalculator ::compute_neighbors" ):
374+ with record_function ("MetatomicCalculator ::compute_neighbors" ):
375375 # convert from ase.Atoms to metatomic.torch.System
376376 system = System (types , positions , cell , pbc )
377377
@@ -394,7 +394,7 @@ def calculate(
394394 )
395395 energy = outputs ["energy" ]
396396
397- with record_function ("ASECalculator ::sum_energies" ):
397+ with record_function ("MetatomicCalculator ::sum_energies" ):
398398 if run_options .outputs ["energy" ].per_atom :
399399 assert len (energy ) == 1
400400 assert energy .sample_names == ["system" , "atom" ]
@@ -409,11 +409,11 @@ def calculate(
409409 assert len (energy .block ().gradients_list ()) == 0
410410 assert energy .block ().values .shape == (1 , 1 )
411411
412- with record_function ("ASECalculator ::run_backward" ):
412+ with record_function ("MetatomicCalculator ::run_backward" ):
413413 if do_backward :
414414 energy .block ().values .backward ()
415415
416- with record_function ("ASECalculator ::convert_outputs" ):
416+ with record_function ("MetatomicCalculator ::convert_outputs" ):
417417 self .results = {}
418418
419419 if calculate_energies :
0 commit comments