mirror of
				https://github.com/fjosw/pyerrors.git
				synced 2025-10-31 15:55:45 +01:00 
			
		
		
		
	feat: removed attribute is_merged.
This commit is contained in:
		
					parent
					
						
							
								b708411830
							
						
					
				
			
			
				commit
				
					
						a53fb18821
					
				
			
		
					 6 changed files with 2 additions and 28 deletions
				
			
		|  | @ -109,7 +109,7 @@ def _assert_equal_properties(ol, otype=Obs): | |||
|     for o in ol[1:]: | ||||
|         if not isinstance(o, otype): | ||||
|             raise Exception("Wrong data type in list.") | ||||
|         for attr in ["is_merged", "reweighted", "e_content", "idl"]: | ||||
|         for attr in ["reweighted", "e_content", "idl"]: | ||||
|             if hasattr(ol[0], attr): | ||||
|                 if not getattr(ol[0], attr) == getattr(o, attr): | ||||
|                     raise Exception(f"All Obs in list have to have the same state '{attr}'.") | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue