Skip to content
Snippets Groups Projects
Commit 2e75718d authored by Maeva Pourpoint's avatar Maeva Pourpoint
Browse files

Add example of LEMI-424 filename in scan_path2data docstring

parent d92867aa
No related branches found
No related tags found
1 merge request!4Data handling functionalities
......@@ -57,6 +57,8 @@ class LemiData():
"""
Scan data directory provided by the user for LEMI generated data files.
LEMI-424 filenaming covention: YYYYMMDDHHMM.TXT
Ex: .../DATA0110/202009302105.TXT
where ".../DATA0110/" is the user-provided path to their dataset.
"""
data_files = [tmp for tmp in Path(self.path2data).glob('*')
if re.match(r"^\w{12}.txt$", tmp.parts[-1], re.IGNORECASE)]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment