Compare commits

...

2 Commits

Author SHA1 Message Date
5133d15ffd Merge branch 'master' of ssh://git_opytex:/lafrite/2020-2021 into master
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-22 20:26:53 +02:00
070a717235 Feat: better sequence count 2020-09-22 20:25:42 +02:00

View File

@ -64,7 +64,7 @@ def sequence_prompt():
sequences = get_sequences(sequence["tribe"]) sequences = get_sequences(sequence["tribe"])
print("Séquences trouvées:\n\t" + "\n\t".join(sorted([s.name for s in sequences]))) print("Séquences trouvées:\n\t" + "\n\t".join(sorted([s.name for s in sequences])))
sequence["num"] = len(sequences) + 1 sequence["num"] = max([int(seq.name[0:2]) for seq in sequences]) + 1
sequence["title"] = prompt(f"Nom de la séquence (n°{sequence['num']}): ") sequence["title"] = prompt(f"Nom de la séquence (n°{sequence['num']}): ")
known_tags = get_tags() known_tags = get_tags()