Skip to content

Commit

Permalink
deal with kwargs in ChainReader properly
Browse files Browse the repository at this point in the history
  • Loading branch information
richardjgowers committed May 25, 2023
1 parent 6147f26 commit 66937df
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package/MDAnalysis/coordinates/chain.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,10 @@ def __init__(self, filenames, skip=1, dt=None, continuous=False,
"""
super(ChainReader, self).__init__(filename='CHAIN',
convert_units=convert_units)
skip=skip,
convert_units=convert_units,
dt=dt,
**kwargs)

filenames = asiterable(filenames)
# Override here because single frame readers handle this argument as a
Expand Down

0 comments on commit 66937df

Please sign in to comment.