Closed DHekstra closed 3 months ago
Hi -- I'm not able to reproduce this issue using the latest rs
and the MTZ files in our tests:
In [1]: import reciprocalspaceship as rs
In [2]: ds = rs.read_mtz("data_merged.mtz")
In [3]: ds.write_mtz("/tmp/test_merged.mtz")
In [4]: ds = rs.read_mtz("data_unmerged.mtz")
In [5]: ds.write_mtz("/tmp/test_unmerged.mtz")
In [6]: rs.__version__
Out[6]: '1.0.1'
I have a hunch this means that the DataSet
object you were working with may have had the relevant problem, rather than the code for writing out MTZs. you could probably include a ds = ds.copy()
prior to ds.write_mtz()
to avoid the warnings, but it also might be worth looking into your code to confirm all the relevant steps are working as intended.
If you still think this is an issue with rs
, please include a short example that can be used to reproduce the issue.
I'm going to close this issue, but please feel free to re-open it with a short example snippet if it's still an issue
when writing MTZs, the syntax in
dataset.py
may be a bit out of date. Not a problem right now, but just registering some example warnings.