[trans] Misleading error when --vectors is not correct
Open
enhancement
good first issue
- Dominant language
- Python
- Stars
- 37
- Forks
- 38
- Avg merge
- 1h 45m
- Merged PRs (30d)
- 1
Description
If a user asks for a boundaryfilter but is not giving in any vectors, then the error message is strange:
```
$ ecl2csv trans .NOSIMMED.DATA --boundaryfilter -o -
Traceback (most recent call last):
[snip]
File "/prog/res/komodo/2021.08.03-py36-rhel7/root/lib/python3.6/site-packages/ecl2df/trans.py", line 194, in df
assert len(vectors) == 1
AssertionError
```
where the correct command line is:
`$ ecl2csv trans .NOSIMMED.DATA --boundaryfilter --vectors FIPNUM
`
Contributor guide
Assessment
This issue has not been assessed yet.