Skip to content

Commit

Permalink
put row deletion into a conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
joesilber committed Jan 8, 2021
1 parent 9775880 commit d3d94ab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/get_posmoves
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,9 @@ for petalid in petalids :
otable = otable[selection]

# remove non measured entries
ok=(otable["X_FP"] != None)
otable=otable[ok]
if not args.tp_updates:
ok=(otable["X_FP"] != None)
otable=otable[ok]

if not os.path.isdir(args.outdir):
os.makedirs(args.outdir)
Expand Down

0 comments on commit d3d94ab

Please sign in to comment.