You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.
2023-11-08 02:26:16,076 - INFO - accession - sanitise_data_frame : LineNo. 390 - Confirming all samples have accession number in correct format. Splitting case accession number into subject and library ids
--
2023-11-08 02:26:16,077 - INFO - accession - sanitise_data_frame : LineNo. 413 - Confirming all samples have correct disease and specimen attribute
Traceback (most recent call last):
File "/home/cttso_ica_to_pieriandx_user/cttso-ica-to-pieriandx-src/scripts/cttso-ica-to-pieriandx.py", line 144, in <module>
main()
File "/home/cttso_ica_to_pieriandx_user/cttso-ica-to-pieriandx-src/scripts/cttso-ica-to-pieriandx.py", line 41, in main
args = check_ica_to_pieriandx_args(args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/cttso_ica_to_pieriandx_user/.conda/envs/cttso-ica-to-pieriandx/lib/python3.11/site-packages/cttso_ica_to_pieriandx-1.0-py3.11.egg/utils/args.py", line 195, in check_ica_to_pieriandx_args
input_df = sanitise_data_frame(input_df)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/cttso_ica_to_pieriandx_user/.conda/envs/cttso-ica-to-pieriandx/lib/python3.11/site-packages/cttso_ica_to_pieriandx-1.0-py3.11.egg/utils/accession.py", line 433, in sanitise_data_frame
disease_objs.append(Disease(code=disease_id,
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/cttso_ica_to_pieriandx_user/.conda/envs/cttso-ica-to-pieriandx/lib/python3.11/site-packages/cttso_ica_to_pieriandx-1.0-py3.11.egg/utils/micro_classes.py", line 41, in __init__
self.code = self.get_code_from_label()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/cttso_ica_to_pieriandx_user/.conda/envs/cttso-ica-to-pieriandx/lib/python3.11/site-packages/cttso_ica_to_pieriandx-1.0-py3.11.egg/utils/micro_classes.py", line 71, in get_code_from_label
return self.REFERENCE_DF.query(f"Label=={self.label}")['Code'].item()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/cttso_ica_to_pieriandx_user/.conda/envs/cttso-ica-to-pieriandx/lib/python3.11/site-packages/pandas/util/_decorators.py", line 331, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/cttso_ica_to_pieriandx_user/.conda/envs/cttso-ica-to-pieriandx/lib/python3.11/site-packages/pandas/core/frame.py", line 4474, in query
res = self.eval(expr, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/cttso_ica_to_pieriandx_user/.conda/envs/cttso-ica-to-pieriandx/lib/python3.11/site-packages/pandas/util/_decorators.py", line 331, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/cttso_ica_to_pieriandx_user/.conda/envs/cttso-ica-to-pieriandx/lib/python3.11/site-packages/pandas/core/frame.py", line 4612, in eval
return _eval(expr, inplace=inplace, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/cttso_ica_to_pieriandx_user/.conda/envs/cttso-ica-to-pieriandx/lib/python3.11/site-packages/pandas/core/computation/eval.py", line 353, in eval
parsed_expr = Expr(expr, engine=engine, parser=parser, env=env)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/cttso_ica_to_pieriandx_user/.conda/envs/cttso-ica-to-pieriandx/lib/python3.11/site-packages/pandas/core/computation/expr.py", line 813, in __init__
self.terms = self.parse()
^^^^^^^^^^^^
File "/home/cttso_ica_to_pieriandx_user/.conda/envs/cttso-ica-to-pieriandx/lib/python3.11/site-packages/pandas/core/computation/expr.py", line 832, in parse
return self._visitor.visit(self.expr)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/cttso_ica_to_pieriandx_user/.conda/envs/cttso-ica-to-pieriandx/lib/python3.11/site-packages/pandas/core/computation/expr.py", line 411, in visit
raise e
File "/home/cttso_ica_to_pieriandx_user/.conda/envs/cttso-ica-to-pieriandx/lib/python3.11/site-packages/pandas/core/computation/expr.py", line 407, in visit
node = ast.fix_missing_locations(ast.parse(clean))
^^^^^^^^^^^^^^^^
File "/home/cttso_ica_to_pieriandx_user/.conda/envs/cttso-ica-to-pieriandx/lib/python3.11/ast.py", line 50, in parse
return compile(source, filename, mode, flags,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<unknown>", line 1
Label ==Disseminated malignancy of unknown primary
^^^^^^^^^^
SyntaxError: invalid syntax
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: