From a4cf456323035d45ee99f34775c92a784fa0192c Mon Sep 17 00:00:00 2001 From: Artur Glavic Date: Fri, 1 Mar 2024 18:47:24 +0100 Subject: [PATCH] Make comment to explain issue with "data_set" name in time slicing --- neos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neos.py b/neos.py index 50904f7..3488e35 100644 --- a/neos.py +++ b/neos.py @@ -808,8 +808,8 @@ def main(): tme_q = np.ones(np.shape(q_q))*time data = np.array([q_q, R_q, dR_q, dq_q, tme_q]).T headerRqz.data_set = f'{i}: time = {time:8.1f} s to {time+interval:8.1f} s' - #headerRqz = fileio.Orso(**headerRqz.to_dict()) orso_data = fileio.OrsoDataset(headerRqz, data) + # make a copy of the header for the next iteration headerRqz = fileio.Orso(**headerRqz.to_dict()) datasetsRqz.append(orso_data) #print([di.info.data_set for di in datasetsRqz])