FIX add load metadata

master
François Boulogne 5 days ago
parent 481893548f
commit 068f2ea8ac

@ -1 +1 @@
__version__ = '0.1.5.2' __version__ = '0.1.5.3'

@ -16,7 +16,6 @@ def load_data_RH_logger(filepath, every=1):
df = df.drop(columns='X') df = df.drop(columns='X')
df = df.drop(np.arange(1)) df = df.drop(np.arange(1))
df['dm_m'] = (df['weight'] - df['weight'].iloc[0]) / df['weight'].iloc[0] df['dm_m'] = (df['weight'] - df['weight'].iloc[0]) / df['weight'].iloc[0]
# Crop data # Crop data
@ -29,6 +28,6 @@ def load_metadata(filepath):
""" """
""" """
with open(tilepath, 'r') as stream: with open(filepath, 'r') as stream:
metadata = yaml.safe_load(stream) metadata = yaml.safe_load(stream)
return metadata return metadata

Loading…
Cancel
Save