I found one bug in the tablemeth_nonref.py script.
I ran the program using the command:
tablemeth_nonref.py -t Data.table.txt --teont_dir Data_TLDR
And I got the following error:
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
I found this was because the teont_dir parameter was not properly passed to the program:
teont_dir = None
if args.teont_dir is None:
teont_dir = '.'.join(args.table.split('.')[:-2])
...
assert os.path.exists(teont_dir)
I suggest to add:
else:teont_dir=args.teont_dir
after the if statement, so the program can take the argument when providing the path.
Hi, it's me again.
I found one bug in the tablemeth_nonref.py script. I ran the program using the command: tablemeth_nonref.py -t Data.table.txt --teont_dir Data_TLDR
And I got the following error: TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
I found this was because the teont_dir parameter was not properly passed to the program: teont_dir = None if args.teont_dir is None: teont_dir = '.'.join(args.table.split('.')[:-2]) ... assert os.path.exists(teont_dir)
I suggest to add:
else:
teont_dir=args.teont_dir
after the if statement, so the program can take the argument when providing the path.