FIX add load metadata
This commit is contained in:
		
							parent
							
								
									481893548f
								
							
						
					
					
						commit
						068f2ea8ac
					
				
					 2 changed files with 4 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -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(np.arange(1))
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    df['dm_m'] = (df['weight'] - df['weight'].iloc[0]) / df['weight'].iloc[0]
 | 
			
		||||
 | 
			
		||||
    # Crop data
 | 
			
		||||
| 
						 | 
				
			
			@ -26,9 +25,9 @@ def load_data_RH_logger(filepath, every=1):
 | 
			
		|||
 | 
			
		||||
 | 
			
		||||
def load_metadata(filepath):
 | 
			
		||||
	"""
 | 
			
		||||
    """
 | 
			
		||||
 | 
			
		||||
	"""
 | 
			
		||||
    with open(tilepath, 'r') as stream:
 | 
			
		||||
    """
 | 
			
		||||
    with open(filepath, 'r') as stream:
 | 
			
		||||
        metadata = yaml.safe_load(stream)
 | 
			
		||||
    return metadata
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue