Skip to content
Snippets Groups Projects
Commit 4f5c45d6 authored by Florian Obersteiner's avatar Florian Obersteiner
Browse files

comment on nHeader != nHeaderSuggested warning

parent b42d23ac
No related branches found
No related tags found
1 merge request!22towards release
......@@ -712,6 +712,8 @@ class Dataset:
self.nHeaderFile = f.line
# TODO this warning might be missleading since it assumes all normalComment keywords
# had been defined - which is not guaranteed.
if self.nHeader != nHeaderSuggested:
warnings.warn(
f"Number of header lines suggested in line 1 ({int(nHeaderSuggested)}) do not match actual header lines read ({int(self.nHeader)})"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment