Skip to content
Snippets Groups Projects
Commit 8fdb9a07 authored by Mohamed, Fawzi Roberto (fawzi)'s avatar Mohamed, Fawzi Roberto (fawzi)
Browse files

fixing metainfo renames

single_configuration_calculation_to_system_description_ref -> single_configuration_calculation_to_system_ref
frame_sequence_local_frames -> frame_sequence_local_frames_ref
parent ed9c2727
No related branches found
No related tags found
No related merge requests found
......@@ -226,7 +226,7 @@ def parse(output_file_name):
refs_single_configuration.append(gid)
# Reference system description section
ref_system = refs_system_description[i_frame]
push_value(jbe, ref_system, 'single_configuration_calculation_to_system_description_ref')
push_value(jbe, ref_system, 'single_configuration_calculation_to_system_ref')
# Forces
if frame.has_forces:
push_array_values(jbe, frame.force_matrix, 'atom_forces')
......@@ -239,7 +239,7 @@ def parse(output_file_name):
# Reference configurations and sampling method
push_value(jbe, sec_sampling_method_ref, 'frame_sequence_to_sampling_ref')
refs_config = np.array(refs_single_configuration)
push_array_values(jbe, refs_config, 'frame_sequence_local_frames')
push_array_values(jbe, refs_config, 'frame_sequence_local_frames_ref')
# TODO Push this to frame_sequence_time
time_values = [ frame['time_value'].As(float) for frame in trj.frames ]
pass
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment