Skip to content

Commit

Permalink
warn of duplicate entries
Browse files Browse the repository at this point in the history
  • Loading branch information
alaguillog committed Jul 12, 2022
1 parent e8410fa commit 2d65a68
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Vseq.py
Original file line number Diff line number Diff line change
Expand Up @@ -1126,6 +1126,8 @@ def main(args):
for scan in list(sql.FirstScan.unique()):
logging.info("\t\tScan: " + str(scan))
subs = sql.loc[sql.FirstScan==scan]
if len(subs) > 1:
logging.info("\t\tWarning: " + str(len(subs)) + " entries with the same scan number for this raw were found in input table. Results may be overwritten!")
for index, sub in subs.iterrows():
#logging.info(sub.Sequence)
#seq2 = sub.Sequence[::-1]
Expand Down

0 comments on commit 2d65a68

Please sign in to comment.