diff --git a/_modules/sashimi/config.html b/_modules/sashimi/config.html index 84af7a8..24627b5 100644 --- a/_modules/sashimi/config.html +++ b/_modules/sashimi/config.html @@ -397,7 +397,7 @@

Source code for sashimi.config

 
     """
     # Ensure path to entry is always a string:
-    if type(dict_path) == str:
+    if type(dict_path) is str:
         dict_path = [dict_path]
 
     # Read and set:
diff --git a/_modules/sashimi/utilities.html b/_modules/sashimi/utilities.html
index f252136..d3b8f21 100644
--- a/_modules/sashimi/utilities.html
+++ b/_modules/sashimi/utilities.html
@@ -326,7 +326,7 @@ 

Source code for sashimi.utilities

         return clean_json(asdict(d))
     elif type(d) in [tuple, list]:
         # json seems to have issues serializing np.int32:
-        if type(d[0]) == np.int32:
+        if type(d[0]) is np.int32:
             d = [int(i) for i in d]
         return d
     else: