Renamed forth_submit_.. function to last_submit ..

This commit is contained in:
2024-04-05 17:21:18 +02:00
parent 5e70d9158b
commit 89e94a1b2b

View File

@ -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']