Skip to content

Commit

Permalink
And another one
Browse files Browse the repository at this point in the history
  • Loading branch information
kstppd committed Nov 27, 2024
1 parent 612a10e commit a9a8e32
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pyVlsv/vlsvreader.py
Original file line number Diff line number Diff line change
Expand Up @@ -2381,8 +2381,7 @@ def cellid_has_vdf(self, cid, pop = 'proton')->bool:
:param coords: the cellid to test for
:returns: bool
'''
if not pop in self.__cells_with_blocks:
self.__set_cell_offset_and_blocks_nodict(pop)
self.__set_cell_offset_and_blocks_nodict(pop)
cid_w_vdf = self.__cells_with_blocks[pop]
return cid in cid_w_vdf

Expand Down

0 comments on commit a9a8e32

Please sign in to comment.