Skip to content

Commit

Permalink
Merge pull request #1 from ncl935/dev
Browse files Browse the repository at this point in the history
ctgName checking in CreateTensor.py
  • Loading branch information
aquaskyline authored Aug 1, 2018
2 parents 0ef3fed + 9d9eb57 commit a713423
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dataPrepScripts/CreateTensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ def GetCandidate(args, beginToEnd):
fo = sys.stdin
for row in fo:
row = row.split()
if args.ctgName != row[0]: continue
pos = int(row[1])
if args.ctgStart != None and pos < args.ctgStart: continue
if args.ctgEnd != None and pos > args.ctgEnd: continue
Expand Down

0 comments on commit a713423

Please sign in to comment.