diff --git a/lemi2seed/lemi_data.py b/lemi2seed/lemi_data.py index 7ea4b459310d3aab33a57e709c03cabcce0fdbf2..4a983352f031bf5a7e33520fd370ebcf5705d4cf 100644 --- a/lemi2seed/lemi_data.py +++ b/lemi2seed/lemi_data.py @@ -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)]