From 89e94a1b2b1bec26bad004507f5f330a3860296a Mon Sep 17 00:00:00 2001 From: Florez Ospina Juan Felipe Date: Fri, 5 Apr 2024 17:21:18 +0200 Subject: [PATCH] Renamed forth_submit_.. function to last_submit .. --- src/metadata_review_lib.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/metadata_review_lib.py b/src/metadata_review_lib.py index dec0e0c..117247c 100644 --- a/src/metadata_review_lib.py +++ b/src/metadata_review_lib.py @@ -59,7 +59,7 @@ commit_command = lambda message: ['git','commit','-m', message] def first_initialize_metadata_review(hdf5_file_path, reviewer_attrs): """ - Initialize review branch with review folder with a copy of yaml representation of + First: Initialize review branch with review folder with a copy of yaml representation of hdf5 file under review and by creating a txt file with the state of the review process, e.g., under review. """ @@ -144,7 +144,7 @@ def first_initialize_metadata_review(hdf5_file_path, reviewer_attrs): def second_save_metadata_review(review_yaml_file_path, reviewer_attrs): """ - Once you're done reviewing the yaml representation of hdf5 file in review folder. + Second: Once you're done reviewing the yaml representation of hdf5 file in review folder. Change the review status to complete and save (add and commit) modified .yalm and .txt files in the project by running this function. @@ -196,7 +196,7 @@ def second_save_metadata_review(review_yaml_file_path, reviewer_attrs): def third_update_hdf5_file_with_review(input_hdf5_file, yalm_review_file, reviewer_attrs = {}): - + """Third""" # compare review file with current yalm file and then based on the changes open hdf5 file and access only # groups that changed :). the below approach is suboptimal @@ -300,7 +300,9 @@ def third_update_hdf5_file_with_review(input_hdf5_file, yalm_review_file, review # print(exc) -def fourth_submit_metadata_review(reviewer_attrs): +def last_submit_metadata_review(reviewer_attrs): + + """Fourth: """ initials =reviewer_attrs['initials']