[bugfix] no warning for volt_lvl = -1
This commit is contained in:
		
							parent
							
								
									305ab25ab2
								
							
						
					
					
						commit
						9d9ced7c83
					
				| @ -1128,7 +1128,7 @@ class StationQC(object): | |||||||
|                     if message == 'OK': |                     if message == 'OK': | ||||||
|                         self.status_ok(key) |                         self.status_ok(key) | ||||||
|                         continue |                         continue | ||||||
|                     if volt_lvl > 1: |                     if volt_lvl != 1: | ||||||
|                         n_occurrences = self.calc_occurrences(ind_array) |                         n_occurrences = self.calc_occurrences(ind_array) | ||||||
|                         self.warn(key=key, |                         self.warn(key=key, | ||||||
|                                   detailed_message=f'Trace {trace.get_id()}: ' |                                   detailed_message=f'Trace {trace.get_id()}: ' | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user