3.7 KiB
3.7 KiB
In [ ]:
import src.metadata_review_lib as metadata_annotation
import src.hdf5_vis as hdf5_vis
import osIn [ ]:
hdf5_file_path = "output_files/kinetic_flowtube_study_2023-06-29_LuciaI.h5"In [ ]:
yaml_file_path = hdf5_vis.take_yml_snapshot_of_hdf5_file(hdf5_file_path)
if os.path.exists(yaml_file_path):
print(f'The YAML file representation {yaml_file_path} of the HDF5 file {hdf5_file_path} was created successfully.')In [ ]:
def metadata_annotation_process(yaml_file_path):
# Include metadata annotation logic, e.g., load yaml file and modify its content accordingly
print(f'Ensure your edits to {yaml_file_path} have been properly incorporated and saved.')
return yaml_file_path
yaml_file_path = metadata_annotation_process(yaml_file_path)In [ ]:
metadata_annotation.update_hdf5_file_with_review(hdf5_file_path,yaml_file_path)