Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
rucio-scripting
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
ASTRON SDC
ESCAPE WP2
rucio-scripting
Commits
931883e1
Commit
931883e1
authored
4 years ago
by
Yan Grange
Browse files
Options
Downloads
Patches
Plain Diff
Added warning for dir listing vs file listing
parent
ac8c1296
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
create_movescript.py
+2
-1
2 additions, 1 deletion
create_movescript.py
with
2 additions
and
1 deletion
create_movescript.py
+
2
−
1
View file @
931883e1
...
@@ -21,7 +21,8 @@ def data_parser(filedata, scope='lofar'):
...
@@ -21,7 +21,8 @@ def data_parser(filedata, scope='lofar'):
filepaths
.
append
(
pth
)
filepaths
.
append
(
pth
)
return
filepaths
,
datafiles
return
filepaths
,
datafiles
# INPUT: srmls of source dir
# INPUT: srmls of source dir. Please note that this should be a directory listing because it will
# automatically ignore the first entry. If ever made more useful this should be covered by a flag or so
# step 1: read filenames from file
# step 1: read filenames from file
with
open
(
"
source_data_list.dat
"
)
as
sdl
:
with
open
(
"
source_data_list.dat
"
)
as
sdl
:
...
...
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