Conventions: Ignore README.md in data directory

This commit is contained in:
Ole Schütt 2020-11-13 12:40:11 +01:00 committed by Ole Schütt
parent 073d098772
commit 5fd1891526
3 changed files with 4 additions and 3 deletions

View file

@ -1,2 +0,0 @@
# The POTENTIAL file has been created by
cat GTH_POTENTIALS HF_POTENTIALS NLCC_POTENTIALS ALL_POTENTIALS >POTENTIAL

3
data/README.md Normal file
View file

@ -0,0 +1,3 @@
# Curated Collection of Parameter Data Files
Note that some files are copies of other. Please run `make data` to reconcile.

View file

@ -157,7 +157,7 @@ def validate(cp2k_dir, filelist=None, excluded_dirs=DEFAULT_EXCLUDED_DIRS):
data_files = set()
for _, _, files in os.walk(path.join(cp2k_dir, "data")):
data_files.update(files)
data_files.remove("README")
data_files.remove("README.md")
for root, _, files in os.walk(path.join(cp2k_dir, "tests")):
d = path.relpath(root, cp2k_dir)
for c in data_files.intersection(files):