Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lemi2seed
Manage
Activity
Members
Labels
Plan
Issues
2
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software Public
MT
lemi2seed
Commits
2e75718d
Commit
2e75718d
authored
3 years ago
by
Maeva Pourpoint
Browse files
Options
Downloads
Patches
Plain Diff
Add example of LEMI-424 filename in scan_path2data docstring
parent
d92867aa
No related branches found
No related tags found
1 merge request
!4
Data handling functionalities
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lemi2seed/lemi_data.py
+2
-0
2 additions, 0 deletions
lemi2seed/lemi_data.py
with
2 additions
and
0 deletions
lemi2seed/lemi_data.py
+
2
−
0
View file @
2e75718d
...
...
@@ -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
)]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment