Garret
Garret

Reputation: 1

e value script program

So I am trying to get the e_values from the file

Upvotes: 0

Views: 133

Answers (1)

Blender
Blender

Reputation: 298432

Replace this line:

e_value  = float(linearr[6])

With this:

e_value  = float(linearr[6])

if e_value > 1.0e-10:
  continue

That way, if e_value is greater than your threshold, the loop skips the current value and moves on to the next one.

Upvotes: 2

Related Questions