Skip to content

Commit

Permalink
little fix to dataframe column names
Browse files Browse the repository at this point in the history
  • Loading branch information
jgostick committed Sep 20, 2023
1 parent e03c349 commit 161ac96
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions porespy/beta/_gdd2.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ def rev_tortuosity(im, block_size_range=[10, 100]):
for s in tqdm(block_sizes):
tau.append(blocks_to_dataframe(im, block_size=s))
df = pd.concat(tau)
del df['Throat Number']
df = df[df.Tortuosity < np.inf] # inf values mean block did not percolate
df = df[df.tau < np.inf] # inf values mean block did not percolate
return df


Expand Down

0 comments on commit 161ac96

Please sign in to comment.