Skip to content

ValueError: invalid literal for int() with base 10: ',' #7

@ramoseks

Description

@ramoseks

Dear @ReverendCasy

I managed to make TOGA2 run successfully for my assemblies, but for some assemblies I am getting the following error and I can't really tell what is the problem. Could you help me?

This is the error:

INFO:numexpr.utils:Note: NumExpr detected 64 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 16.
INFO:numexpr.utils:NumExpr defaulting to 16 threads.
/bin/TOGA2/src/python/classify_chains.py:280: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  df_se['pred'] = se_pred
/bin/TOGA2/src/python/classify_chains.py:281: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  df_me['pred'] = me_pred
Traceback (most recent call last):
  File "/bin/TOGA2/toga2.py", line 1974, in <module>
    toga2()
    ~~~~~^^
  File "/conda/users/envs/***/toga2/lib/python3.13/site-packages/click/core.py", line 1161, in __call__
    return self.main(*args, **kwargs)
           ~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/conda/users/envs/***/toga2/lib/python3.13/site-packages/click/core.py", line 1082, in main
    rv = self.invoke(ctx)
  File "/conda/users/envs/***/toga2/lib/python3.13/site-packages/click/core.py", line 1697, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/conda/users/envs/***/toga2/lib/python3.13/site-packages/click/core.py", line 1443, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/conda/users/envs/***/toga2/lib/python3.13/site-packages/click/core.py", line 788, in invoke
    return __callback(*args, **kwargs)
  File "/bin/TOGA2/toga2.py", line 1237, in run
    TogaMain(**kwargs)
    ~~~~~~~~^^^^^^^^^^
  File "/bin/TOGA2/src/python/modules/toga_main.py", line 708, in __init__
    self.run()
    ~~~~~~~~^^
  File "/bin/TOGA2/src/python/modules/toga_main.py", line 868, in run
    self.run_alignment_jobs()
    ~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/bin/TOGA2/src/python/modules/toga_main.py", line 2101, in run_alignment_jobs
    job_num: int = int(self.job_nums_per_bin[self.cesar_memory_bins.index(mem)])
                   ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: ','

Thank you very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions