From 1ba40dd7eef99ffef9237c1b58706cfa1a4bf77f Mon Sep 17 00:00:00 2001
From: Jeremy Fee <jmfee@usgs.gov>
Date: Mon, 25 Jul 2016 14:06:32 -0600
Subject: [PATCH] switched "not x in" to "x not in"

---
 geomagio/ObservatoryMetadata.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/geomagio/ObservatoryMetadata.py b/geomagio/ObservatoryMetadata.py
index 7cc75610..7622def1 100644
--- a/geomagio/ObservatoryMetadata.py
+++ b/geomagio/ObservatoryMetadata.py
@@ -996,7 +996,7 @@ class ObservatoryMetadata(object):
         stats['channel'] = channel
         stats['data_interval'] = interval
         stats['data_type'] = type
-        if not observatory in self.metadata:
+        if observatory not in self.metadata:
             return
         # copy in standard metadata
         metadata = self.metadata[observatory]['metadata']
-- 
GitLab