Commit Graph
62 Commits
Author SHA1 Message Date
florez_j 4663ed10e2 Fixed branch naming problem 2024-04-24 17:21:44 +02:00
florez_j cf2431d4c3 Included created_at() function 2024-04-24 17:16:59 +02:00
florez_j be02ad01ed Removed problematic lines, which depended on soon to be removed dependency config_file.py 2024-04-24 17:14:13 +02:00
florez_j 6260e7da3c Redefined name of review branch as review:<review's name> 2024-04-24 17:09:38 +02:00
florez_j a9146e5afc Implemented delete attribute feature for review and simplified code. 2024-04-24 17:02:18 +02:00
florez_j ceb8a34ee0 Commented out no needed python import statements 2024-04-23 13:23:13 +02:00
florez_j 8876d5af4f Example data integretion configuration files 2024-04-23 12:03:24 +02:00
florez_j a12cd80355 Implemented function that takes yaml config files specifying data integration output 2024-04-23 11:10:13 +02:00
florez_j b233dc094d yaml intrument configuration file for text data 2024-04-23 11:07:49 +02:00
florez_j d3ec0bd473 Included additional directory path validation based on dir keywords 2024-04-23 11:05:20 +02:00
florez_j 9d9e9dcfe5 Added lines to parse instrument reader properties from yaml file. 2024-04-23 11:02:10 +02:00
florez_j 074d2e3954 Removed config_file output file naming and instead user now inputs desired output filename. Also added input argument to introduce root level metadata. 2024-04-18 19:14:06 +02:00
florez_j 1ed37920c2 Replaced git commands in terms of subprocess.run 2024-04-17 15:26:45 +02:00
florez_j a1c88fdb5a Added lines to flatten (shorten) original directory paths in the resulting hdf5 file. 2024-04-17 15:20:26 +02:00
florez_j 8005b60579 Included a boolean input argument hdf5_upload to deactivate hdf5 upload for testing. 2024-04-07 17:09:01 +02:00
florez_j edd1bbf5be Added an import and treemap to png statemets, but for some reason didnot work, and took forever to run. So, I left the lines but for now commented them out. 2024-04-07 16:55:37 +02:00
florez_j 89e94a1b2b Renamed forth_submit_.. function to last_submit .. 2024-04-05 17:21:18 +02:00
florez_j 5e70d9158b Deleted function third_complete_metadata_review() because forth_complete_metadata_review() is the same. Also, modified a substring of their name from complete to submit and submit to save for clarity. Usually submission is the last step of a review process. 2024-04-05 17:10:34 +02:00
florez_j d68dc98070 Implemented some safeguards that enable only commits of untracked metadata review files 2024-04-04 14:20:13 +02:00
florez_j dd1f1245e3 Refactored comment lines. 2024-04-04 12:58:17 +02:00
florez_j 2d5fecfb34 Removed git checkout statements, to avoid conflicting changes of .ipybn files. 2024-04-04 12:56:37 +02:00
florez_j fa4fe691d0 Refactored a few git statemets in terms of subprocess.run 2024-04-04 11:02:24 +02:00
florez_j f9b31c06fd Reimplemented file filtering, first file extension contraints are imposed and then file keyword contraints. 2024-04-03 13:49:16 +02:00
florez_j 9cde013be0 Modified node values as the number of children of each group. When nodes are datasets, their value is 1. 2024-04-02 18:48:50 +02:00
florez_j 9071120e50 Refactored code to read .dat and .txt files in binary mode first rb, then the prespecified encoding is used to decode the lines. This is to have more control over the decoding process and be able to better spot possible encoding errors. 2024-04-02 18:35:04 +02:00
florez_j f351f102b7 Commented out a print statement. 2024-04-02 18:31:58 +02:00
florez_j 39cae66936 Implemented a two important changes. 1. filename of output file is not passed as input but it is automatically computed based on an input config_param dict. 2) input filenames in file system path are now filtered on an initial walk through the directory tree. This is to use stored path filenames for prunning directory tree, later on. 2024-04-02 17:33:58 +02:00
florez_j 9c70fd643f Refactored code in terms of subprocess for git functionality. 2024-03-28 19:38:12 +01:00
florez_j 6fb5253d21 Corrected a few bugs; deletion of useless buggy line and configuration of text reader with latin-1 encoding for a few cases. 2024-03-28 18:20:57 +01:00
florez_j bbff419313 Removed strange bug when reading .TXT smps files. Specified latin-1 encoding and relaxed error detection to ignore. 2024-03-28 17:43:26 +01:00
florez_j 06429e6def Generalized workflow functions to consider reviewer attributes such as initials and type e.g., data-owner and metadata-reviewer. 2024-03-28 16:11:01 +01:00
florez_j 37fd603943 Completed first version of metadata_review_lib.py. Still need to test and correct possible bugs. 2024-03-28 13:59:47 +01:00
florez_j 54e30ef9ec Implemented git add and commit for second metadata review step, and create it function to checkout branches. 2024-03-27 14:23:16 +01:00
florez_j 2aac145379 Removed buggy statement, which was expected to detect recently created review files 2024-03-26 16:34:38 +01:00
florez_j 302b7dbfa5 Implemented metadata review library 2024-03-26 16:21:02 +01:00
florez_j a727e38db4 Implemented hdf5_vis.py, which is a hdf5 visualization library to obtain treemap and yaml representations of hdf5 files. 2024-03-26 16:14:40 +01:00
florez_j a58bf4f019 Refactored import dependencies. 2024-03-26 13:57:19 +01:00
florez_j 1b9963d44d Moved to input_files/ 2024-03-25 08:51:34 +01:00
florez_j 1bf1f60beb Added lines to treat string attributes as fixed-length strings, which are represented as bytes that need to be decoded with utf-8. There are a few advantages, and hdf5 reader provide more precise behavior than variable length strings 2024-03-22 17:28:47 +01:00
florez_j 13cb6395aa Restructured the way table_preamble attribute is represented. Now it is a list of strings as opposed to a multilinear string with special characters like \n. This is to avoid parsing problems in the yalm files. 2024-03-22 17:26:30 +01:00
florez_j fff935f551 Included optional argument in make_copy function and commented out a few lines that increase dataset storage complexity. 2024-03-21 17:16:14 +01:00
florez_j 4244e39232 Implemented hdf5_vis.py to gather functions that display or represent properties of an hdf5 file in a human readable file format like yalm or html files that enble interative visualizations on the browser. 2024-03-21 16:30:27 +01:00
florez_j e389ffbefe Relocated def display_group_hierarchy_on_a_treemap(filename: str) to hdf5_vis.py 2024-03-21 16:27:54 +01:00
florez_j 8004a891aa Included lines to work on copies of files, and removed .strip() to create the table preamble because it destroyed txt structure. 2024-03-19 14:55:49 +01:00
florez_j 63e7fb28d0 Removed the 'backup_' name from the copied file so that the orignal name is preserved in the hdf5 file. The file copy storage location is enough to distinguise it from the original file. 2024-03-19 14:07:37 +01:00
florez_j 2d8503ef7a Included make_file_copy function 2024-03-19 11:59:39 +01:00
florez_j 2271be6ecc Moved make_file_copy internal function to g5505_utils.py module because it can be reused accross file readers. 2024-03-19 11:58:08 +01:00
florez_j 7fe254755f Replaced attributes, previously extracted from the table_preamble in .txt and .dat files with a single dataset attribute called table_preamble that contains the whole table preamble. 2024-03-19 11:40:35 +01:00
florez_j b886066133 Simplified code and corrected buggy if statement. Included input verification steps and OS path normalization. 2024-03-19 11:11:05 +01:00
florez_j afa89df143 Relocated scripts 2024-03-18 13:44:11 +01:00