uym2 / TreeShrink

Implementation of the TreeShrink problem
https://uym2.github.io/TreeShrink/
GNU General Public License v3.0
36 stars 11 forks source link

No parameters vomits rather than prints help? #15

Closed tseemann closed 4 years ago

tseemann commented 4 years ago
run_treeshrink.py

Launching TREESHRINK version 1.3.4
TREESHRINK was called as follow
/home/linuxbrew/.linuxbrew/bin/run_treeshrink.py
Traceback (most recent call last):
  File "/home/linuxbrew/.linuxbrew/bin/run_treeshrink.py", line 280, in <module>
    main()
  File "/home/linuxbrew/.linuxbrew/bin/run_treeshrink.py", line 89, in main
    outdir = splitext(intrees)[0] + "_treeshrink"
  File "/home/linuxbrew/.linuxbrew/opt/python/lib/python3.7/posixpath.py", line 122, in splitext
    p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType
uym2 commented 4 years ago

Thanks for this feature. It has been added to version 1.3.4.