diff --git a/geomagio/edge/IRISFactory.py b/geomagio/edge/IRISFactory.py
index 64bd54b92a00c5d24b44ccfc724f48a21da6db2c..55e777fb36997d270951bff738057b758815e44c 100644
--- a/geomagio/edge/IRISFactory.py
+++ b/geomagio/edge/IRISFactory.py
@@ -151,7 +151,7 @@ class IRISFactory(MiniSeedFactory):
             TimeseriesUtility.pad_and_trim_trace(
                 trace=data[0], starttime=starttime, endtime=endtime
             )
-        # Beneath is necessary code to check the reported azimuth 
+        # Beneath is necessary code to check the reported azimuth
         # for the LF1 (E or Y) and LF2 (H or X) channels and determine if intstrument axes have been reversed.
         azi, dip = self._get_orientations(data[0], starttime)
 
@@ -238,7 +238,6 @@ class IRISFactory(MiniSeedFactory):
             network=trace.stats.network,
             location=trace.stats.location,
         )
-       
 
         FDSN = FDSNClient("IRIS")
         inv = FDSN.get_stations(
@@ -248,20 +247,16 @@ class IRISFactory(MiniSeedFactory):
             level="channel",
         )
 
-
         # Construct the channel code using the current trace's information
-        channel_code = (
-            f"{sncl.network}.{sncl.station}.{sncl.location}.{sncl.channel}"
-        )
+        channel_code = f"{sncl.network}.{sncl.station}.{sncl.location}.{sncl.channel}"
 
         # Get orientation for the constructed channel code and time
         orient = inv.get_orientation(channel_code, starttime)
 
-
         azimuth = orient["azimuth"]
         dip = orient["dip"]
 
-            # Return both azimuth and dip
+        # Return both azimuth and dip
         return azimuth, dip
 
         return 0.0  # Default azimuth if metadata is not available