From f0af30f7e82cf226f6ddf0bc4d3d8a033f5db3a0 Mon Sep 17 00:00:00 2001 From: Florez Ospina Juan Felipe Date: Thu, 28 Mar 2024 13:10:42 +0100 Subject: [PATCH] Deleted metadata_review_workflow.py and turned it into a jupyter notebook. --- README.md | 4 ++++ metadata_review_workflow.py | 38 ------------------------------------- 2 files changed, 4 insertions(+), 38 deletions(-) delete mode 100644 metadata_review_workflow.py diff --git a/README.md b/README.md index 09e2be7..c32f7d5 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,10 @@ Python library to work with XPS data campaigns, encoded in HDF5 files. +## TODO +* Talk to Thorsten about rga txt files. Example folder contains incosistent rga txt files, there is no unique column separator (, or ) + + ## Getting started To make it easy for you to get started with GitLab, here's a list of recommended next steps. diff --git a/metadata_review_workflow.py b/metadata_review_workflow.py deleted file mode 100644 index 409e91c..0000000 --- a/metadata_review_workflow.py +++ /dev/null @@ -1,38 +0,0 @@ -import sys -import os -root_dir = os.path.abspath(os.curdir) -sys.path.append(root_dir) - -import src.metadata_review_lib as metadata_review_lib - -import input_files.config_file as config_file -import src.hdf5_vis as hdf5_vis -import src.hdf5_lib as hdf5_lib - -import os - -output_filename_path = "output_files/unified_file_smog_chamber_2024-03-25_UTC-OFST_+0100_NG.h5" -output_yml_filename_path = "output_files/unified_file_smog_chamber_2024-03-25_UTC-OFST_+0100_NG.yaml" - - -output_filename_path, output_yml_filename_path = hdf5_lib.main() - - - -try: - metadata_review_lib.first_initialize_metadata_review(output_filename_path,initials='NG') -except Warning as ex: - print(ex) - # - -submit_review = True -if submit_review: - metadata_review_lib.second_submit_metadata_review(output_filename_path,initials='NG') - - output_yml_filename_path_tail, filename = os.path.split(output_yml_filename_path) - if os.path.exists(os.path.join(os.path.join(os.path.abspath(os.curdir),"review"),filename)): - metadata_review_lib.third_update_hdf5_file_with_review(output_filename_path, os.path.join(os.path.join(os.path.abspath(os.curdir),"review"),filename)) - metadata_review_lib.fourth_complete_metadata_review() - -#if __name__ == '__main__': -