Skip to content

Commit

Permalink
Ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanconn committed Oct 9, 2024
1 parent 6f54ac3 commit 55508a6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mica/vv/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -945,9 +945,7 @@ def _read_ocat_stars(self):

def _identify_missing_slot(self, slot):
datadir = self.aspdir
adat_files = glob(
os.path.join(datadir, "pcad*N???_adat{}1.fits*".format(slot))
)
adat_files = glob(os.path.join(datadir, "pcad*N???_adat{}1.fits*".format(slot)))
if not len(adat_files):
return None
hdulist = pyfits.open(adat_files[0])
Expand Down

0 comments on commit 55508a6

Please sign in to comment.