jessieren / DeepVirFinder

Identifying viruses from metagenomic data by deep learning
Other
116 stars 32 forks source link

filelog not imported #22

Open askerdb opened 3 years ago

askerdb commented 3 years ago

The code to show the help crashes with:

dvf.py: ERROR: missing required command-line argument Traceback (most recent call last): File "dvf.py", line 33, in filelog.write(prog_base + ": ERROR: missing required command-line argument") NameError: name 'filelog' is not defined

The filelog is not instantiated anywhere I can see.

jessieren commented 3 years ago

Thanks for reporting that. Could you copy your command here for the purpose of debugging?

askerdb commented 3 years ago

It should work with any command that doesn't include the input argument

(dvf) -bash-4.2$ python dvf.py -o test dvf.py: ERROR: missing required command-line argumentTraceback (most recent call last): File "dvf.py", line 33, in filelog.write(prog_base + ": ERROR: missing required command-line argument") NameError: name 'filelog' is not defined

On Tue, 13 Apr 2021 at 22:18, Jessie Jie Ren @.***> wrote:

Thanks for reporting that. Could you copy your command here for the purpose of debugging?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jessieren/DeepVirFinder/issues/22#issuecomment-819234727, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABFUIIBK2SLFXWLRRSMR7Z3TIUQTVANCNFSM42334HKQ .

zhongshengbin269 commented 2 years ago

hi! I also encountered this when running the code: line 33, in filelog.write(prog_base + ": ERROR: missing required command-line argument") NameError: name 'filelog' is not defined How should excuse me solve?