Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jcharkow committed Oct 29, 2024
1 parent 15587ab commit 4d9c2b5
Show file tree
Hide file tree
Showing 8 changed files with 1,947 additions and 1,959 deletions.
3,894 changes: 1,947 additions & 1,947 deletions test/loaders/__snapshots__/test_SqMassLoader.ambr

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
12 changes: 0 additions & 12 deletions test/loaders/access/test_SqMassDataAccess.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,6 @@ def test_getDataForChromatograms(mass_data_access, snapshot_pandas):
data_out = pd.concat([d.toPandasDf() for d in data])
assert snapshot_pandas == data_out

def test_getDataForChromatogram(mass_data_access, snapshot_pandas):
myid = 424
data = mass_data_access.getDataForChromatogram(myid, "y4^1")
data_out = data.toPandasDf()
assert snapshot_pandas == data_out

def test_getDataForChromatogramFromNativeId(mass_data_access, snapshot_pandas):
native_id = 992928
data = mass_data_access.getDataForChromatogramFromNativeId(native_id)
data_out = pd.DataFrame(data)
assert snapshot_pandas == data_out

def test_getDataForChromatogramsFromNativeIds(mass_data_access, snapshot_pandas):
native_ids = [180, 181, 182, 183, 183, 185]
labels = ["y4^1", "y3^1", "y6^1", "y7^1", "y7^1", "y8^1"]
Expand Down

0 comments on commit 4d9c2b5

Please sign in to comment.