Changed how I plan to test for compatibility with different beamlines

This commit is contained in:
Abe Levitan
2019-03-24 18:02:54 -04:00
parent b3b953fc8a
commit a398151700
2 changed files with 6 additions and 25 deletions
+1
View File
@@ -1,5 +1,6 @@
*~
\#*#
.\#*
*.pyc
*.egg-info
.pytest_cache
+5 -25
View File
@@ -282,31 +282,11 @@ def ptycho_cxi_3():
return f, expected
@pytest.fixture(scope='module')
def real_ptycho_CSX(datadir):
"""Loads a real ptychography file from CSX @ NSLS-II along with a
dictionary describing what is expected to be loaded from it.
"""
#file_obj = h5py.File(datadir/'example_CSX_Bragg.cxi','r')
#expected = {}
#return file_obj, expected
pass
@pytest.fixture(scope='module')
def real_ptycho_HXN(datadir):
"""Loads a real ptychography file from HXN @ NSLS-II along with a
dictionary describing what is expected to be loaded from it.
"""
pass
@pytest.fixture(scope='module')
def real_ptycho_COSMIC(datadir):
"""Loads a real ptychography file from COSMIC @ ALS along with a
dictionary describing what is expected to be loaded from it.
"""
pass
#
# As specific issues start to crop up with loading CXI files from different
# beamlines, put a fixture here that replicates the issue so that we can
# ensure compatibility with many beamlines
#
@pytest.fixture(scope='module')