added support for moench 03

This commit is contained in:
Erik Frojdh
2023-06-02 11:29:34 +02:00
parent 9d890adef8
commit e43899cca8
9 changed files with 257 additions and 25 deletions

View File

@ -0,0 +1,11 @@
import pytest
import os, sys
from creader import RawFileReader
from fixtures import data_path
import numpy as np
def test_references_on_read(data_path):
fname= data_path/'test_d0_f0_0.raw'
r = RawFileReader(fname)
frames = r.read(10)
assert sys.getrefcount(frames) == 2 #Over counts by one due to call by reference