馃悳 Bug Report
In command_parse there is a line declaring target_obj=self which creates a reference to self
Later arguments are added depending on if target_obj is self which always evaluates to True. It would be simpler to change the requirements of arguments to True.
How to reproduce
Step by step guide to reproduce the behaviour:
target_obj assigned to self
target_obj is never re-assigned or copied in any execution path
Environment
I am using the ANTS 3.2.0 environment.
Version
This bug exists in ANTS 3.2.0/head of main
馃悳 Bug Report
In
command_parsethere is a line declaringtarget_obj=selfwhich creates a reference toselfANTS/lib/ants/command_parse.py
Line 92 in 70dbeb2
Later arguments are added depending on if
target_obj is selfwhich always evaluates to True. It would be simpler to change the requirements of arguments toTrue.How to reproduce
Step by step guide to reproduce the behaviour:
target_objassigned toselftarget_objis never re-assigned or copied in any execution pathEnvironment
I am using the ANTS 3.2.0 environment.
Version
This bug exists in ANTS 3.2.0/head of main