mdanalysis icon indicating copy to clipboard operation
mdanalysis copied to clipboard

Cannot pass optional kwargs to MemoryReader via universe.transfer_to_memory

Open IAlibay opened this issue 3 years ago • 0 comments

Expected behavior

Either creating a universe via in_memory=True or using :meth:transfer_to_memory should allow me to pass optional kwargs through to the MemoryReader creation (they aren't super useful, but they exist, so there should be a way to pass those arguments through).

Actual behavior

kwargs cannot be provided and therefore are not passed through.

See: https://github.com/MDAnalysis/mdanalysis/blob/1945878e224beb1076be258432d911d5fda5f54a/package/MDAnalysis/core/universe.py#L638-L645

IAlibay avatar May 31 '22 12:05 IAlibay