From 931883e153cce259db3deb1ca1d984a4d3f79e8d Mon Sep 17 00:00:00 2001
From: Yan Grange <grange@astron.nl>
Date: Wed, 26 Aug 2020 14:52:28 +0200
Subject: [PATCH] Added warning for dir listing vs file listing

---
 create_movescript.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/create_movescript.py b/create_movescript.py
index d91e86b..1da4b91 100755
--- a/create_movescript.py
+++ b/create_movescript.py
@@ -21,7 +21,8 @@ def data_parser(filedata, scope='lofar'):
     filepaths.append(pth)
   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
 
 with open("source_data_list.dat") as sdl:
-- 
GitLab