FIX add load metadata

master
François Boulogne 3 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
@ -26,9 +25,9 @@ def load_data_RH_logger(filepath, every=1):
def load_metadata(filepath): 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