Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with newer Pandas #8

Open
tashrifbillah opened this issue Jun 30, 2023 · 0 comments
Open

Error with newer Pandas #8

tashrifbillah opened this issue Jun 30, 2023 · 0 comments

Comments

@tashrifbillah
Copy link
Contributor

Just documenting, no action is necessary at this time since we have a working Python+Pandas:

$ python outcome_calculations.py "prescient" run_outcome
Traceback (most recent call last):
  File "/data/predict1/home/np487/amp_scz/outcome_calculations/outcome_calculations.py", line 473, in <module>
    ids = pd.read_csv('/data/pnl/home/gj936/U24/Clinical_qc/flowqc/REAL_DATA/{0}_sub_list.txt'.format(network), sep= '\n', index_col = False, header = None)
  File "/data/predict1/miniconda3/lib/python3.10/site-packages/pandas/util/_decorators.py", line 211, in wrapper
    return func(*args, **kwargs)
  File "/data/predict1/miniconda3/lib/python3.10/site-packages/pandas/util/_decorators.py", line 331, in wrapper
    return func(*args, **kwargs)
  File "/data/predict1/miniconda3/lib/python3.10/site-packages/pandas/io/parsers/readers.py", line 935, in read_csv
    kwds_defaults = _refine_defaults_read(
  File "/data/predict1/miniconda3/lib/python3.10/site-packages/pandas/io/parsers/readers.py", line 2063, in _refine_defaults_read
    raise ValueError(
ValueError: Specified \n as separator or delimiter. This forces the python engine which does not accept a line terminator. Hence it is not allowed to use the line terminator as separator.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant