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

Getting "TypeError: Topology argument required to make Universe" when clustering a universe from sliced trajectory #58

Open
leffetripel opened this issue Nov 20, 2023 · 1 comment

Comments

@leffetripel
Copy link

Expected behavior

Getting a clustered trajectory from a universe.

Actual behavior

---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[129], line 10
      6 p = u.select_atoms('protein')
      7 protein = mda.Merge(p).load_new(
      8     AnalysisFromFunction(lambda ag: ag.positions.copy(),p).run(step=2).results['timeseries']) 
---> 10 encore.cluster([protein,])

File ~/miniconda3/envs/bpti/lib/python3.9/site-packages/mdaencore/clustering/cluster.py:163, in cluster(ensembles, method, select, distance_matrix, allow_collapsed_result, ncores, **kwargs)
    161         for ensemble in ensembles:
    162             ensemble.transfer_to_memory()
--> 163         merged_ensembles.append(merge_universes(ensembles))
    165 methods = method
    166 if not hasattr(method, '__iter__'):

File ~/miniconda3/envs/bpti/lib/python3.9/site-packages/mdaencore/utils.py:404, in merge_universes(universes)
    401 for universe in universes:
    402     universe.transfer_to_memory()
--> 404 return mda.Universe(
    405     universes[0].filename,
    406     np.concatenate(tuple([e.trajectory.timeseries(order='fac') for e in universes]),
    407                    axis=0),
    408     format=MemoryReader)

File ~/miniconda3/envs/bpti/lib/python3.9/site-packages/MDAnalysis/core/universe.py:364, in Universe.__init__(self, topology, all_coordinates, format, topology_format, transformations, guess_bonds, vdwradii, fudge_factor, lower_bound, in_memory, in_memory_step, *coordinates, **kwargs)
    361     self._topology = topology
    362 else:
    363     # point to Universe.empty instead of making empty universe
--> 364     raise TypeError('Topology argument required to make Universe. '
    365                     'Try Universe.empty(n_atoms, ...) to construct '
    366                     'your own Universe.')
    368 _generate_from_topology(self)  # make real atoms, res, segments
    370 coordinates = _resolve_coordinates(self.filename, *coordinates,
    371                                    format=format,
    372                                    all_coordinates=all_coordinates)

TypeError: Topology argument required to make Universe. Try Universe.empty(n_atoms, ...) to construct your own Universe.

Code to reproduce the behavior

from MDAnalysisTests.datafiles import TPR, TRR
import MDAnalysis as mda
import mdaencore as encore

u = mda.Universe(TPR,TRR)
p = u.select_atoms('protein')
protein = mda.Merge(p).load_new(
    AnalysisFromFunction(lambda ag: ag.positions.copy(),p).run(step=2).results['timeseries']) 

encore.cluster([protein,])

Current environment

  • Which version are you using? mdaencore 1.0.0 py39h44dd56e_0 conda-forge
  • Which version of Python (python -V)? Python 3.9.18
  • Which operating system? linux
  • If you use conda, what is the output of conda list?

Name Version Build Channel

_libgcc_mutex 0.1 conda_forge conda-forge
_openmp_mutex 4.5 2_gnu conda-forge
aiohttp 3.8.6 py39hd1e30aa_1 conda-forge
aiohttp-retry 2.8.3 pyhd8ed1ab_0 conda-forge
aiosignal 1.3.1 pyhd8ed1ab_0 conda-forge
alsa-lib 1.2.10 hd590300_0 conda-forge
amqp 5.2.0 pyhd8ed1ab_0 conda-forge
annotated-types 0.6.0 pyhd8ed1ab_0 conda-forge
antlr-python-runtime 4.9.3 pyhd8ed1ab_1 conda-forge
anyio 4.0.0 pyhd8ed1ab_0 conda-forge
appdirs 1.4.4 pyh9f0ad1d_0 conda-forge
argon2-cffi 23.1.0 pyhd8ed1ab_0 conda-forge
argon2-cffi-bindings 21.2.0 py39hd1e30aa_4 conda-forge
arrow 1.3.0 pyhd8ed1ab_0 conda-forge
asttokens 2.4.1 pyhd8ed1ab_0 conda-forge
async-lru 2.0.4 pyhd8ed1ab_0 conda-forge
async-timeout 4.0.3 pyhd8ed1ab_0 conda-forge
asyncssh 2.14.0 pyhd8ed1ab_0 conda-forge
atk-1.0 2.38.0 hd4edc92_1 conda-forge
atpublic 3.0.1 pyhd8ed1ab_0 conda-forge
attr 2.5.1 h166bdaf_1 conda-forge
attrs 23.1.0 pyh71513ae_1 conda-forge
aws-c-auth 0.7.6 h37ad1db_0 conda-forge
aws-c-cal 0.6.9 h3b91eb8_1 conda-forge
aws-c-common 0.9.8 hd590300_0 conda-forge
aws-c-compression 0.2.17 hfd9eb17_6 conda-forge
aws-c-event-stream 0.3.2 hae413d4_6 conda-forge
aws-c-http 0.7.14 h162056d_1 conda-forge
aws-c-io 0.13.35 hc23c90e_8 conda-forge
aws-c-mqtt 0.9.9 h1387108_0 conda-forge
aws-c-s3 0.3.23 h7630044_1 conda-forge
aws-c-sdkutils 0.1.12 hfd9eb17_5 conda-forge
aws-checksums 0.1.17 hfd9eb17_5 conda-forge
aws-crt-cpp 0.24.5 h270613d_5 conda-forge
aws-sdk-cpp 1.11.182 h8df25a1_5 conda-forge
babel 2.13.1 pyhd8ed1ab_0 conda-forge
backports 1.0 pyhd8ed1ab_3 conda-forge
backports.functools_lru_cache 1.6.5 pyhd8ed1ab_0 conda-forge
backports.zoneinfo 0.2.1 py39hf3d152e_8 conda-forge
beautifulsoup4 4.12.2 pyha770c72_0 conda-forge
billiard 4.1.0 py39hd1e30aa_1 conda-forge
biopython 1.81 py39hd1e30aa_1 conda-forge
bleach 6.1.0 pyhd8ed1ab_0 conda-forge
blosc 1.21.5 h0f2a231_0 conda-forge
bokeh 3.3.1 pyhd8ed1ab_0 conda-forge
brotli 1.1.0 hd590300_1 conda-forge
brotli-bin 1.1.0 hd590300_1 conda-forge
brotli-python 1.1.0 py39h3d6467e_1 conda-forge
bzip2 1.0.8 hd590300_5 conda-forge
c-ares 1.21.0 hd590300_0 conda-forge
ca-certificates 2023.11.17 hbcca054_0 conda-forge
cached-property 1.5.2 hd8ed1ab_1 conda-forge
cached_property 1.5.2 pyha770c72_1 conda-forge
cairo 1.18.0 h3faef2a_0 conda-forge
celery 5.3.4 pyhd8ed1ab_1 conda-forge
certifi 2023.11.17 pyhd8ed1ab_0 conda-forge
cffi 1.16.0 py39h7a31438_0 conda-forge
cftime 1.6.3 py39h44dd56e_0 conda-forge
charset-normalizer 3.3.2 pyhd8ed1ab_0 conda-forge
click 8.1.7 unix_pyh707e725_0 conda-forge
click-didyoumean 0.3.0 pyhd8ed1ab_0 conda-forge
click-plugins 1.1.1 py_0 conda-forge
click-repl 0.3.0 pyhd8ed1ab_0 conda-forge
cloudpickle 3.0.0 pyhd8ed1ab_0 conda-forge
colorama 0.4.6 pyhd8ed1ab_0 conda-forge
comm 0.1.4 pyhd8ed1ab_0 conda-forge
configobj 5.0.8 pyhd8ed1ab_0 conda-forge
contourpy 1.2.0 py39h7633fee_0 conda-forge
cryptography 41.0.5 py39hd4f0224_0 conda-forge
cycler 0.12.1 pyhd8ed1ab_0 conda-forge
cytoolz 0.12.2 py39hd1e30aa_1 conda-forge
dask 2023.11.0 pyhd8ed1ab_0 conda-forge
dask-core 2023.11.0 pyhd8ed1ab_0 conda-forge
dask-jobqueue 0.8.2 pyhd8ed1ab_0 conda-forge
dbus 1.13.6 h5008d03_3 conda-forge
debugpy 1.8.0 py39h3d6467e_1 conda-forge
decorator 5.1.1 pyhd8ed1ab_0 conda-forge
defusedxml 0.7.1 pyhd8ed1ab_0 conda-forge
dictdiffer 0.9.0 pyhd8ed1ab_0 conda-forge
diskcache 5.6.3 pyhd8ed1ab_0 conda-forge
distributed 2023.11.0 pyhd8ed1ab_0 conda-forge
distro 1.8.0 pyhd8ed1ab_0 conda-forge
dpath 2.1.6 pyha770c72_0 conda-forge
dulwich 0.21.6 py39hd1e30aa_2 conda-forge
dvc 3.28.0 pyhd8ed1ab_0 conda-forge
dvc-data 2.20.0 pyhd8ed1ab_0 conda-forge
dvc-http 2.30.2 pyhd8ed1ab_2 conda-forge
dvc-objects 1.2.0 pyhd8ed1ab_0 conda-forge
dvc-render 0.6.0 pyhd8ed1ab_0 conda-forge
dvc-studio-client 0.15.0 pyhd8ed1ab_0 conda-forge
dvc-task 0.3.0 pyhd8ed1ab_0 conda-forge
dvclive 3.2.0 pyhd8ed1ab_0 conda-forge
entrypoints 0.4 pyhd8ed1ab_0 conda-forge
exceptiongroup 1.1.3 pyhd8ed1ab_0 conda-forge
executing 2.0.1 pyhd8ed1ab_0 conda-forge
expat 2.5.0 hcb278e6_1 conda-forge
fasteners 0.17.3 pyhd8ed1ab_0 conda-forge
fftw 3.3.10 nompi_hc118613_108 conda-forge
filelock 3.13.1 pyhd8ed1ab_0 conda-forge
flatten-dict 0.4.2 pyhd8ed1ab_1 conda-forge
flufl.lock 7.1 pyhd8ed1ab_0 conda-forge
font-ttf-dejavu-sans-mono 2.37 hab24e00_0 conda-forge
font-ttf-inconsolata 3.000 h77eed37_0 conda-forge
font-ttf-source-code-pro 2.038 h77eed37_0 conda-forge
font-ttf-ubuntu 0.83 hab24e00_0 conda-forge
fontconfig 2.14.2 h14ed4e7_0 conda-forge
fonts-conda-ecosystem 1 0 conda-forge
fonts-conda-forge 1 0 conda-forge
fonttools 4.44.0 py39hd1e30aa_0 conda-forge
fqdn 1.5.1 pyhd8ed1ab_0 conda-forge
freetype 2.12.1 h267a509_2 conda-forge
fribidi 1.0.10 h36c2ea0_0 conda-forge
frozenlist 1.4.0 py39hd1e30aa_1 conda-forge
fsspec 2023.10.0 pyhca7485f_0 conda-forge
funcy 2.0 pyhd8ed1ab_0 conda-forge
future 0.18.3 pyhd8ed1ab_0 conda-forge
gawk 5.1.0 h7b6447c_0
gdk-pixbuf 2.42.10 h829c605_4 conda-forge
gettext 0.21.1 h27087fc_0 conda-forge
gflags 2.2.2 he1b5a44_1004 conda-forge
giflib 5.2.1 h0b41bf4_3 conda-forge
gitdb 4.0.11 pyhd8ed1ab_0 conda-forge
gitpython 3.1.40 pyhd8ed1ab_0 conda-forge
glib 2.78.1 hfc55251_0 conda-forge
glib-tools 2.78.1 hfc55251_0 conda-forge
glog 0.6.0 h6f12383_0 conda-forge
gmp 6.3.0 h59595ed_0 conda-forge
grandalf 0.7 pyhd8ed1ab_0 conda-forge
graphite2 1.3.13 h58526e2_1001 conda-forge
graphviz 8.1.0 h28d9a01_0 conda-forge
griddataformats 1.0.2 pyhd8ed1ab_0 conda-forge
gromacs 2020.6 h3fd9d12_1 plumed/label/masterclass-2022
gromacswrapper 0.8.5 pyhd8ed1ab_0 conda-forge
gsd 3.2.0 py39h44dd56e_0 conda-forge
gsl 2.7.1 h6e86dc7_1
gst-plugins-base 1.22.6 h8e1006c_2 conda-forge
gstreamer 1.22.6 h98fc4e7_2 conda-forge
gtk2 2.24.33 h90689f9_2 conda-forge
gto 1.5.0 pyhd8ed1ab_0 conda-forge
gts 0.7.6 h977cf35_4 conda-forge
h5py 3.10.0 nompi_py39h87cadad_100 conda-forge
harfbuzz 8.2.1 h3d44ed6_0 conda-forge
hdf4 4.2.15 h2a13503_7 conda-forge
hdf5 1.14.2 nompi_h4f84152_100 conda-forge
hydra-core 1.3.2 pyhd8ed1ab_0 conda-forge
hypothesis 6.89.0 pyha770c72_0 conda-forge
icu 73.2 h59595ed_0 conda-forge
idna 3.4 pyhd8ed1ab_0 conda-forge
importlib-metadata 6.8.0 pyha770c72_0 conda-forge
importlib-resources 6.1.1 pyhd8ed1ab_0 conda-forge
importlib_metadata 6.8.0 hd8ed1ab_0 conda-forge
importlib_resources 6.1.1 pyhd8ed1ab_0 conda-forge
iniconfig 2.0.0 pyhd8ed1ab_0 conda-forge
ipykernel 6.26.0 pyhf8b6a83_0 conda-forge
ipython 8.17.2 pyh41d4057_0 conda-forge
ipywidgets 8.1.1 pyhd8ed1ab_0 conda-forge
isoduration 20.11.0 pyhd8ed1ab_0 conda-forge
iterative-telemetry 0.0.8 pyhd8ed1ab_0 conda-forge
jedi 0.19.1 pyhd8ed1ab_0 conda-forge
jinja2 3.1.2 pyhd8ed1ab_1 conda-forge
joblib 1.3.2 pyhd8ed1ab_0 conda-forge
json5 0.9.14 pyhd8ed1ab_0 conda-forge
jsonpointer 2.4 py39hf3d152e_3 conda-forge
jsonschema 4.19.2 pyhd8ed1ab_0 conda-forge
jsonschema-specifications 2023.7.1 pyhd8ed1ab_0 conda-forge
jsonschema-with-format-nongpl 4.19.2 pyhd8ed1ab_0 conda-forge
jupyter 1.0.0 pyhd8ed1ab_10 conda-forge
jupyter-lsp 2.2.0 pyhd8ed1ab_0 conda-forge
jupyter-server-mathjax 0.2.6 pyh5bfe37b_1 conda-forge
jupyter_client 8.6.0 pyhd8ed1ab_0 conda-forge
jupyter_console 6.6.3 pyhd8ed1ab_0 conda-forge
jupyter_core 5.5.0 py39hf3d152e_0 conda-forge
jupyter_events 0.9.0 pyhd8ed1ab_0 conda-forge
jupyter_server 2.10.0 pyhd8ed1ab_0 conda-forge
jupyter_server_terminals 0.4.4 pyhd8ed1ab_1 conda-forge
jupyterlab 4.0.8 pyhd8ed1ab_0 conda-forge
jupyterlab-git 0.44.0 pypi_0 pypi
jupyterlab_pygments 0.2.2 pyhd8ed1ab_0 conda-forge
jupyterlab_server 2.25.1 pyhd8ed1ab_0 conda-forge
jupyterlab_widgets 3.0.9 pyhd8ed1ab_0 conda-forge
keyutils 1.6.1 h166bdaf_0 conda-forge
kiwisolver 1.4.5 py39h7633fee_1 conda-forge
kombu 5.3.3 py39hf3d152e_0 conda-forge
krb5 1.21.2 h659d440_0 conda-forge
lame 3.100 h166bdaf_1003 conda-forge
lcms2 2.15 hb7c19ff_3 conda-forge
ld_impl_linux-64 2.40 h41732ed_0 conda-forge
lerc 4.0.0 h27087fc_0 conda-forge
libabseil 20230802.1 cxx17_h59595ed_0 conda-forge
libaec 1.1.2 h59595ed_1 conda-forge
libarrow 14.0.1 h0406937_1_cpu conda-forge
libarrow-acero 14.0.1 h59595ed_1_cpu conda-forge
libarrow-dataset 14.0.1 h59595ed_1_cpu conda-forge
libarrow-flight 14.0.1 h120cb0d_1_cpu conda-forge
libarrow-flight-sql 14.0.1 h61ff412_1_cpu conda-forge
libarrow-gandiva 14.0.1 hacb8726_1_cpu conda-forge
libarrow-substrait 14.0.1 h61ff412_1_cpu conda-forge
libblas 3.9.0 19_linux64_openblas conda-forge
libbrotlicommon 1.1.0 hd590300_1 conda-forge
libbrotlidec 1.1.0 hd590300_1 conda-forge
libbrotlienc 1.1.0 hd590300_1 conda-forge
libcap 2.69 h0f662aa_0 conda-forge
libcblas 3.9.0 19_linux64_openblas conda-forge
libclang 15.0.7 default_h7634d5b_3 conda-forge
libclang13 15.0.7 default_h9986a30_3 conda-forge
libcrc32c 1.1.2 h9c3ff4c_0 conda-forge
libcups 2.3.3 h4637d8d_4 conda-forge
libcurl 8.4.0 hca28451_0 conda-forge
libdeflate 1.19 hd590300_0 conda-forge
libedit 3.1.20191231 he28a2e2_2 conda-forge
libev 4.33 h516909a_1 conda-forge
libevent 2.1.12 hf998b51_1 conda-forge
libexpat 2.5.0 hcb278e6_1 conda-forge
libffi 3.4.2 h7f98852_5 conda-forge
libflac 1.4.3 h59595ed_0 conda-forge
libgcc-ng 13.2.0 h807b86a_3 conda-forge
libgcrypt 1.10.2 hd590300_0 conda-forge
libgd 2.3.3 h119a65a_9 conda-forge
libgfortran-ng 13.2.0 h69a702a_3 conda-forge
libgfortran5 13.2.0 ha4646dd_3 conda-forge
libgit2 1.7.1 hca3a8ce_0 conda-forge
libglib 2.78.1 hebfc3b9_0 conda-forge
libgomp 13.2.0 h807b86a_3 conda-forge
libgoogle-cloud 2.12.0 h5206363_4 conda-forge
libgpg-error 1.47 h71f35ed_0 conda-forge
libgrpc 1.59.2 hd6c4280_0 conda-forge
libhwloc 1.11.13 h8b7812e_2 conda-forge
libiconv 1.17 h166bdaf_0 conda-forge
libjpeg-turbo 3.0.0 hd590300_1 conda-forge
liblapack 3.9.0 19_linux64_openblas conda-forge
libllvm15 15.0.7 h5cf9203_3 conda-forge
libnetcdf 4.9.2 nompi_h80fb2b6_112 conda-forge
libnghttp2 1.58.0 h47da74e_0 conda-forge
libnsl 2.0.1 hd590300_0 conda-forge
libnuma 2.0.16 h0b41bf4_1 conda-forge
libogg 1.3.4 h7f98852_1 conda-forge
libopenblas 0.3.24 pthreads_h413a1c8_0 conda-forge
libopus 1.3.1 h7f98852_1 conda-forge
libparquet 14.0.1 h352af49_1_cpu conda-forge
libpng 1.6.39 h753d276_0 conda-forge
libpq 16.1 hfc447b1_0 conda-forge
libprotobuf 4.24.4 hf27288f_0 conda-forge
libre2-11 2023.06.02 h7a70373_0 conda-forge
librsvg 2.56.3 h98fae49_0 conda-forge
libsndfile 1.2.2 hc60ed4a_1 conda-forge
libsodium 1.0.18 h36c2ea0_1 conda-forge
libsqlite 3.44.0 h2797004_0 conda-forge
libssh2 1.11.0 h0841786_0 conda-forge
libstdcxx-ng 13.2.0 h7e041cc_3 conda-forge
libsystemd0 254 h3516f8a_0 conda-forge
libthrift 0.19.0 hb90f79a_1 conda-forge
libtiff 4.6.0 ha9c0a0a_2 conda-forge
libtool 2.4.7 h27087fc_0 conda-forge
libutf8proc 2.8.0 h166bdaf_0 conda-forge
libuuid 2.38.1 h0b41bf4_0 conda-forge
libuv 1.46.0 hd590300_0 conda-forge
libvorbis 1.3.7 h9c3ff4c_0 conda-forge
libwebp 1.3.2 h658648e_1 conda-forge
libwebp-base 1.3.2 hd590300_0 conda-forge
libxcb 1.15 h0b41bf4_0 conda-forge
libxkbcommon 1.6.0 h5d7e998_0 conda-forge
libxml2 2.11.5 h232c23b_1 conda-forge
libzip 1.10.1 h2629f0a_3 conda-forge
libzlib 1.2.13 hd590300_5 conda-forge
locket 1.0.0 pyhd8ed1ab_0 conda-forge
lz4 4.3.2 py39h79d96da_1 conda-forge
lz4-c 1.9.4 hcb278e6_0 conda-forge
markdown-it-py 3.0.0 pyhd8ed1ab_0 conda-forge
markupsafe 2.1.3 py39hd1e30aa_1 conda-forge
matplotlib 3.8.1 py39hf3d152e_0 conda-forge
matplotlib-base 3.8.1 py39he9076e7_0 conda-forge
matplotlib-inline 0.1.6 pyhd8ed1ab_0 conda-forge
mda-xdrlib 0.2.0 pyhd8ed1ab_0 conda-forge
mdaencore 1.0.0 py39h44dd56e_0 conda-forge
mdanalysis 2.6.1 py39h26d5377_0 conda-forge
mdanalysistests 2.6.1 pyhd8ed1ab_0 conda-forge
mdurl 0.1.0 pyhd8ed1ab_0 conda-forge
mistune 3.0.2 pyhd8ed1ab_0 conda-forge
mmtf-python 1.1.3 pyhd8ed1ab_0 conda-forge
mpg123 1.32.3 h59595ed_0 conda-forge
mpi 1.0 openmpi conda-forge
mrcfile 1.4.3 pyhd8ed1ab_0 conda-forge
msgpack-python 1.0.6 py39h7633fee_0 conda-forge
multidict 6.0.4 py39hd1e30aa_1 conda-forge
munkres 1.1.4 pyh9f0ad1d_0 conda-forge
mysql-common 8.0.33 hf1915f5_6 conda-forge
mysql-libs 8.0.33 hca2cd23_6 conda-forge
nanotime 0.5.2 py_0 conda-forge
nbclient 0.8.0 pyhd8ed1ab_0 conda-forge
nbconvert 7.11.0 pyhd8ed1ab_0 conda-forge
nbconvert-core 7.11.0 pyhd8ed1ab_0 conda-forge
nbconvert-pandoc 7.11.0 pyhd8ed1ab_0 conda-forge
nbdime 3.2.1 pyhd8ed1ab_0 conda-forge
nbformat 5.9.2 pyhd8ed1ab_0 conda-forge
ncurses 6.4 h59595ed_2 conda-forge
nest-asyncio 1.5.8 pyhd8ed1ab_0 conda-forge
netcdf4 1.6.5 nompi_py39h4282601_100 conda-forge
networkx 3.2.1 pyhd8ed1ab_0 conda-forge
nglview 3.0.8 pyh1da8cd4_0 conda-forge
nodejs 20.8.1 h1990674_0 conda-forge
notebook 7.0.6 pyhd8ed1ab_0 conda-forge
notebook-shim 0.2.3 pyhd8ed1ab_0 conda-forge
nspr 4.35 h27087fc_0 conda-forge
nss 3.94 h1d7d5a4_0 conda-forge
numkit 1.2.3 pyhd8ed1ab_0 conda-forge
numpy 1.26.0 py39h474f0d3_0 conda-forge
ocl-icd 2.3.1 h7f98852_0 conda-forge
omegaconf 2.3.0 pyhd8ed1ab_0 conda-forge
openjpeg 2.5.0 h488ebb8_3 conda-forge
openmpi 4.1.6 hc5af2df_101 conda-forge
openssl 3.1.4 hd590300_0 conda-forge
orc 1.9.0 h4b38347_4 conda-forge
orjson 3.9.10 py39h10b2342_0 conda-forge
overrides 7.4.0 pyhd8ed1ab_0 conda-forge
packaging 23.2 pyhd8ed1ab_0 conda-forge
pandas 2.1.3 py39hddac248_0 conda-forge
pandoc 3.1.3 h32600fe_0 conda-forge
pandocfilters 1.5.0 pyhd8ed1ab_0 conda-forge
panedr 0.7.2 pyhd8ed1ab_0 conda-forge
pango 1.50.14 ha41ecd1_2 conda-forge
parso 0.8.3 pyhd8ed1ab_0 conda-forge
partd 1.4.1 pyhd8ed1ab_0 conda-forge
pathlib2 2.3.7.post1 py39hf3d152e_3 conda-forge
pathspec 0.11.2 pyhd8ed1ab_0 conda-forge
patsy 0.5.3 pyhd8ed1ab_0 conda-forge
pbr 6.0.0 pyhd8ed1ab_0 conda-forge
pcre2 10.40 hc3806b6_0 conda-forge
pexpect 4.8.0 pyh1a96a4e_2 conda-forge
pickleshare 0.7.5 py_1003 conda-forge
pillow 10.1.0 py39had0adad_0 conda-forge
pip 23.3.1 pyhd8ed1ab_0 conda-forge
pixman 0.42.2 h59595ed_0 conda-forge
pkgutil-resolve-name 1.3.10 pyhd8ed1ab_1 conda-forge
platformdirs 3.11.0 pyhd8ed1ab_0 conda-forge
pluggy 1.3.0 pyhd8ed1ab_0 conda-forge
plumed 2.9.0 nompi_h752ec8b_100 conda-forge
ply 3.11 py_1 conda-forge
prometheus_client 0.18.0 pyhd8ed1ab_0 conda-forge
prompt-toolkit 3.0.40 pyha770c72_0 conda-forge
prompt_toolkit 3.0.40 hd8ed1ab_0 conda-forge
psfgen 1.0.1 py39h07f9747_1 conda-forge
psutil 5.9.5 py39hd1e30aa_1 conda-forge
pthread-stubs 0.4 h36c2ea0_1001 conda-forge
ptyprocess 0.7.0 pyhd3deb0d_0 conda-forge
pulseaudio-client 16.1 hb77b528_5 conda-forge
pure_eval 0.2.2 pyhd8ed1ab_0 conda-forge
py-plumed 2.9.0 py39hd1e30aa_2 conda-forge
pyarrow 14.0.1 py39h6925388_1_cpu conda-forge
pyarrow-hotfix 0.4 pyhd8ed1ab_0 conda-forge
pycparser 2.21 pyhd8ed1ab_0 conda-forge
pydantic 2.4.2 pyhd8ed1ab_1 conda-forge
pydantic-core 2.10.1 py39h9fdd4d6_0 conda-forge
pydot 1.4.2 py39hf3d152e_4 conda-forge
pyedr 0.7.2 pyhd8ed1ab_0 conda-forge
pygit2 1.13.2 py39hd1e30aa_0 conda-forge
pygments 2.16.1 pyhd8ed1ab_0 conda-forge
pygtrie 2.5.0 pyhd8ed1ab_0 conda-forge
pyopenssl 23.3.0 pyhd8ed1ab_0 conda-forge
pyparsing 3.1.1 pyhd8ed1ab_0 conda-forge
pyqt 5.15.9 py39h52134e7_5 conda-forge
pyqt5-sip 12.12.2 py39h3d6467e_5 conda-forge
pysocks 1.7.1 pyha2e5f31_6 conda-forge
pytest 7.4.3 pyhd8ed1ab_0 conda-forge
python 3.9.18 h0755675_0_cpython conda-forge
python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge
python-fastjsonschema 2.18.1 pyhd8ed1ab_0 conda-forge
python-gssapi 1.8.3 py39h01551a1_0 conda-forge
python-json-logger 2.0.7 pyhd8ed1ab_0 conda-forge
python-tzdata 2023.3 pyhd8ed1ab_0 conda-forge
python_abi 3.9 4_cp39 conda-forge
pytng 0.3.1 py39h0fd56e7_0 conda-forge
pytz 2023.3.post1 pyhd8ed1ab_0 conda-forge
pywin32-on-windows 0.1.0 pyh1179c8e_3 conda-forge
pyyaml 6.0.1 py39hd1e30aa_1 conda-forge
pyzmq 25.1.1 py39h8c080ef_2 conda-forge
qt-main 5.15.8 h82b777d_17 conda-forge
qtconsole-base 5.5.0 pyha770c72_0 conda-forge
qtpy 2.4.1 pyhd8ed1ab_0 conda-forge
rdma-core 28.9 h59595ed_1 conda-forge
re2 2023.06.02 h2873b5e_0 conda-forge
readline 8.2 h8228510_1 conda-forge
referencing 0.30.2 pyhd8ed1ab_0 conda-forge
requests 2.31.0 pyhd8ed1ab_0 conda-forge
rfc3339-validator 0.1.4 pyhd8ed1ab_0 conda-forge
rfc3986-validator 0.1.1 pyh9f0ad1d_0 conda-forge
rich 13.6.0 pyhd8ed1ab_0 conda-forge
rpds-py 0.12.0 py39h9fdd4d6_0 conda-forge
ruamel.yaml 0.18.5 py39hd1e30aa_0 conda-forge
ruamel.yaml.clib 0.2.7 py39hd1e30aa_2 conda-forge
s2n 1.3.56 h06160fa_0 conda-forge
scikit-learn 1.3.2 py39ha22ef79_1 conda-forge
scipy 1.11.3 py39h474f0d3_1 conda-forge
scmrepo 1.4.1 pyhd8ed1ab_0 conda-forge
seaborn 0.13.0 hd8ed1ab_0 conda-forge
seaborn-base 0.13.0 pyhd8ed1ab_0 conda-forge
semver 3.0.2 pyhd8ed1ab_0 conda-forge
send2trash 1.8.2 pyh41d4057_0 conda-forge
setuptools 68.2.2 pyhd8ed1ab_0 conda-forge
shellingham 1.5.4 pyhd8ed1ab_0 conda-forge
shortuuid 1.0.11 pyhd8ed1ab_0 conda-forge
shtab 1.6.4 pyhd8ed1ab_1 conda-forge
sip 6.7.12 py39h3d6467e_0 conda-forge
six 1.16.0 pyh6c4a22f_0 conda-forge
smmap 5.0.0 pyhd8ed1ab_0 conda-forge
snappy 1.1.10 h9fff704_0 conda-forge
sniffio 1.3.0 pyhd8ed1ab_0 conda-forge
sortedcontainers 2.4.0 pyhd8ed1ab_0 conda-forge
soupsieve 2.5 pyhd8ed1ab_1 conda-forge
sqlite 3.44.0 h2c6b66d_0 conda-forge
sqltrie 0.8.0 pyhd8ed1ab_0 conda-forge
stack_data 0.6.2 pyhd8ed1ab_0 conda-forge
statsmodels 0.14.0 py39h44dd56e_2 conda-forge
tabulate 0.9.0 pyhd8ed1ab_1 conda-forge
tblib 2.0.0 pyhd8ed1ab_0 conda-forge
terminado 0.18.0 pyh0d859eb_0 conda-forge
threadpoolctl 3.2.0 pyha21a80b_0 conda-forge
tidynamics 1.1.2 pyhd8ed1ab_0 conda-forge
tinycss2 1.2.1 pyhd8ed1ab_0 conda-forge
tk 8.6.13 noxft_h4845f30_101 conda-forge
toml 0.10.2 pyhd8ed1ab_0 conda-forge
tomli 2.0.1 pyhd8ed1ab_0 conda-forge
tomlkit 0.12.2 pyha770c72_0 conda-forge
toolz 0.12.0 pyhd8ed1ab_0 conda-forge
tornado 6.3.3 py39hd1e30aa_1 conda-forge
tqdm 4.66.1 pyhd8ed1ab_0 conda-forge
traitlets 5.13.0 pyhd8ed1ab_0 conda-forge
typer 0.9.0 pyhd8ed1ab_0 conda-forge
types-python-dateutil 2.8.19.14 pyhd8ed1ab_0 conda-forge
typing-extensions 4.8.0 hd8ed1ab_0 conda-forge
typing_extensions 4.8.0 pyha770c72_0 conda-forge
typing_utils 0.1.0 pyhd8ed1ab_0 conda-forge
tzdata 2023c h71feb2d_0 conda-forge
ucx 1.15.0 h64cca9d_0 conda-forge
unicodedata2 15.1.0 py39hd1e30aa_0 conda-forge
uri-template 1.3.0 pyhd8ed1ab_0 conda-forge
urllib3 2.0.7 pyhd8ed1ab_0 conda-forge
vine 5.0.0 pyhd8ed1ab_1 conda-forge
vmd-python 3.1.4 py39h7d34f4d_1 conda-forge
voluptuous 0.13.1 pyhd8ed1ab_0 conda-forge
wcwidth 0.2.9 pyhd8ed1ab_0 conda-forge
webcolors 1.13 pyhd8ed1ab_0 conda-forge
webencodings 0.5.1 pyhd8ed1ab_2 conda-forge
websocket-client 1.6.4 pyhd8ed1ab_0 conda-forge
wheel 0.41.3 pyhd8ed1ab_0 conda-forge
widgetsnbextension 4.0.9 pyhd8ed1ab_0 conda-forge
xcb-util 0.4.0 hd590300_1 conda-forge
xcb-util-image 0.4.0 h8ee46fc_1 conda-forge
xcb-util-keysyms 0.4.0 h8ee46fc_1 conda-forge
xcb-util-renderutil 0.3.9 hd590300_1 conda-forge
xcb-util-wm 0.4.1 h8ee46fc_1 conda-forge
xkeyboard-config 2.40 hd590300_0 conda-forge
xorg-kbproto 1.0.7 h7f98852_1002 conda-forge
xorg-libice 1.1.1 hd590300_0 conda-forge
xorg-libsm 1.2.4 h7391055_0 conda-forge
xorg-libx11 1.8.7 h8ee46fc_0 conda-forge
xorg-libxau 1.0.11 hd590300_0 conda-forge
xorg-libxdmcp 1.1.3 h7f98852_0 conda-forge
xorg-libxext 1.3.4 h0b41bf4_2 conda-forge
xorg-libxrender 0.9.11 hd590300_0 conda-forge
xorg-renderproto 0.11.1 h7f98852_1002 conda-forge
xorg-xextproto 7.3.0 h0b41bf4_1003 conda-forge
xorg-xf86vidmodeproto 2.3.1 h7f98852_1002 conda-forge
xorg-xproto 7.0.31 h7f98852_1007 conda-forge
xyzservices 2023.10.1 pyhd8ed1ab_0 conda-forge
xz 5.2.6 h166bdaf_0 conda-forge
yaml 0.2.5 h7f98852_2 conda-forge
yarl 1.9.2 py39hd1e30aa_1 conda-forge
zc.lockfile 3.0.post1 pyhd8ed1ab_0 conda-forge
zeromq 4.3.5 h59595ed_0 conda-forge
zict 3.0.0 pyhd8ed1ab_0 conda-forge
zipp 3.17.0 pyhd8ed1ab_0 conda-forge
zlib 1.2.13 hd590300_5 conda-forge
zstd 1.5.5 hfc55251_0 conda-forge

@orbeckst
Copy link
Member

It looks as if mdaencore expect a Universe with an underlying topology file as opposed to a custom Universe. Does it work if you first write out to a temporary file

protein.atoms.write("protein.gro")
protein.atoms.write("protein.dcd", frames="all")

p = mda.Universe("protein.gro", "protein.dcd")
encore.cluster([p,])

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