Skip to content

Commit

Permalink
Merge pull request #38 from BecCowley/IQUODflagTesting
Browse files Browse the repository at this point in the history
Specify integer type for offset and nentries to allow for zero levels…
  • Loading branch information
BecCowley authored Sep 7, 2023
2 parents 12c6a4f + c8ec7dc commit 8b393d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wodpy/wodnc.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ def locate_in_ragged(self, v):
'''
# trim variable v to ust include the variable name left of any underscore:
v = v.split('_')[0]
offset = self.determine_offset(v+'_row_size')
nentries = self.metadata(v+'_row_size')
offset = int(self.determine_offset(v+'_row_size'))
nentries = int(self.metadata(v+'_row_size'))
return offset, nentries

def is_metadata(self, metadata_key):
Expand Down

0 comments on commit 8b393d5

Please sign in to comment.