We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
atom_site_aniso
1 parent b8fbfe3 commit 41329beCopy full SHA for 41329be
src/diffpy/structure/tests/testp_cif.py
@@ -365,6 +365,19 @@ def test_adp_aniso_label(self):
365
return
366
367
368
+ @unittest.expectedFailure
369
+ def test_unknown_aniso(self):
370
+ "test CIF file with unknown values in the aniso block."
371
+ with open(self.teiciffile) as fp:
372
+ lines = fp.readlines()
373
+ lines[-4:] = [' ? ? ? ? ? ? ?\n']
374
+ ciftxt = ''.join(lines)
375
+ stru = self.ptest.parse(ciftxt)
376
+ self.assertEqual(16, len(stru))
377
+ self.assertTrue(all(stru.anisotropy))
378
+ return
379
+
380
381
def test_curly_brace(self):
382
"verify loading of a CIF file with unquoted curly brace"
383
ptest = self.ptest
0 commit comments