Skip to content
Snippets Groups Projects
Commit 931883e1 authored by Yan Grange's avatar Yan Grange :wave:
Browse files

Added warning for dir listing vs file listing

parent ac8c1296
No related branches found
No related tags found
No related merge requests found
...@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment