def METHOD_NAME(missing_pos_system):
    """
    Make sure the writing fails when coordinates are missing and
    `nan_missing_pos` is not set. (Shall be `False` by default.)
    """
    with pytest.raises(KeyError):
        pdb.write_pdb_string(missing_pos_system)