mtisza1 / Cenote-Taker2

Cenote-Taker2: Discover and Annotate Divergent Viral Contigs (Please use Cenote-Taker 3 instead)
MIT License
56 stars 7 forks source link

ValueError: unsupported format character 'I' (0x49) at index 66 #47

Open Jeffery-Ni opened 1 year ago

Jeffery-Ni commented 1 year ago

i just ran cenote-taker2, and this came up: Traceback (most recent call last): File "/home/Public/software/cenote-taker2/Cenote-Taker2/run_cenote-taker2.py", line 72, in args = parser.parse_args() File "/home/Public/Anaconda3/ENTER/envs/cenote-taker2_env/lib/python3.6/argparse.py", line 1734, in parse_args args, argv = self.parse_known_args(args, namespace) File "/home/Public/Anaconda3/ENTER/envs/cenote-taker2_env/lib/python3.6/argparse.py", line 1766, in parse_known_args namespace, args = self._parse_known_args(args, namespace) File "/home/Public/Anaconda3/ENTER/envs/cenote-taker2_env/lib/python3.6/argparse.py", line 1972, in _parse_known_args start_index = consume_optional(start_index) File "/home/Public/Anaconda3/ENTER/envs/cenote-taker2_env/lib/python3.6/argparse.py", line 1912, in consume_optional take_action(action, args, option_string) File "/home/Public/Anaconda3/ENTER/envs/cenote-taker2_env/lib/python3.6/argparse.py", line 1840, in take_action action(self, namespace, argument_values, option_string) File "/home/Public/Anaconda3/ENTER/envs/cenote-taker2_env/lib/python3.6/argparse.py", line 1024, in call parser.print_help() File "/home/Public/Anaconda3/ENTER/envs/cenote-taker2_env/lib/python3.6/argparse.py", line 2366, in print_help self._print_message(self.format_help(), file) File "/home/Public/Anaconda3/ENTER/envs/cenote-taker2_env/lib/python3.6/argparse.py", line 2350, in format_help return formatter.format_help() File "/home/Public/Anaconda3/ENTER/envs/cenote-taker2_env/lib/python3.6/argparse.py", line 282, in format_help help = self._root_section.format_help() File "/home/Public/Anaconda3/ENTER/envs/cenote-taker2_env/lib/python3.6/argparse.py", line 213, in format_help item_help = join([func(args) for func, args in self.items]) File "/home/Public/Anaconda3/ENTER/envs/cenote-taker2_env/lib/python3.6/argparse.py", line 213, in item_help = join([func(args) for func, args in self.items]) File "/home/Public/Anaconda3/ENTER/envs/cenote-taker2_env/lib/python3.6/argparse.py", line 213, in format_help item_help = join([func(args) for func, args in self.items]) File "/home/Public/Anaconda3/ENTER/envs/cenote-taker2_env/lib/python3.6/argparse.py", line 213, in item_help = join([func(args) for func, args in self.items]) File "/home/Public/Anaconda3/ENTER/envs/cenote-taker2_env/lib/python3.6/argparse.py", line 523, in _format_action help_text = self._expand_help(action) File "/home/Public/Anaconda3/ENTER/envs/cenote-taker2_env/lib/python3.6/argparse.py", line 610, in _expand_help return self._get_help_string(action) % params ValueError: unsupported format character 'I' (0x49) at index 66

mtisza1 commented 1 year ago

Hmm, that's a new one for me.

Could you possibly give me the full command you wrote and the log of the output? My first guess is that there was a character passed to one of the arguments that wasn't recognized. So, make sure there are no special characters or anything in your command.

Jeffery-Ni commented 1 year ago

this is my command: python run_cenote-taker2.py -h and really nothing else

mtisza1 commented 1 year ago

Hi, I wanted to look into this, so I uninstsalled and re-installed Cenote-Taker 2, including the conda environment. I'm not able to reproduce this error.

I believe that it is probably an issue unrelated to this tool, but I will leave the issue open in case others run into the same problem or figure out a solution.