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

Extend cryodrgn filter to cryodrgn-et #335

Open
ryanfeathers opened this issue Jan 16, 2024 · 0 comments
Open

Extend cryodrgn filter to cryodrgn-et #335

ryanfeathers opened this issue Jan 16, 2024 · 0 comments
Assignees

Comments

@ryanfeathers
Copy link
Contributor

ryanfeathers commented Jan 16, 2024

Running cryodrgn filter for cryoDRGN-ET produces the following error

  File "/scratch/gpfs/ZHONGE/rf2366/conda/cryodrgn_internal/bin/cryodrgn", line 8, in <module>
    sys.exit(main())
  File "/scratch/gpfs/ZHONGE/rf2366/dev/cryodrgn_internal/cryodrgn/__main__.py", line 74, in main
    args.func(args)
  File "/scratch/gpfs/ZHONGE/rf2366/dev/cryodrgn_internal/cryodrgn/commands/filter.py", line 152, in main
    plot_df = analysis.load_dataframe(
  File "/scratch/gpfs/ZHONGE/rf2366/dev/cryodrgn_internal/cryodrgn/analysis.py", line 647, in load_dataframe
    df = pd.DataFrame(data=data)
  File "/scratch/gpfs/ZHONGE/rf2366/conda/cryodrgn_internal/lib/python3.9/site-packages/pandas/core/frame.py", line 664, in __init__
    mgr = dict_to_mgr(data, index, columns, dtype=dtype, copy=copy, typ=manager)
  File "/scratch/gpfs/ZHONGE/rf2366/conda/cryodrgn_internal/lib/python3.9/site-packages/pandas/core/internals/construction.py", line 493, in dict_to_mgr
    return arrays_to_mgr(arrays, columns, index, dtype=dtype, typ=typ, consolidate=copy)
  File "/scratch/gpfs/ZHONGE/rf2366/conda/cryodrgn_internal/lib/python3.9/site-packages/pandas/core/internals/construction.py", line 118, in arrays_to_mgr
    index = _extract_index(arrays)
  File "/scratch/gpfs/ZHONGE/rf2366/conda/cryodrgn_internal/lib/python3.9/site-packages/pandas/core/internals/construction.py", line 666, in _extract_index
    raise ValueError("All arrays must be of the same length")
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

2 participants