Skip to content

hw18 add#8

Open
Aurinko23 wants to merge 1 commit intomainfrom
hw18
Open

hw18 add#8
Aurinko23 wants to merge 1 commit intomainfrom
hw18

Conversation

@Aurinko23
Copy link
Owner

No description provided.

Copy link

@eksytnik eksytnik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Хорошее решение! Интересно сделано через int_or_range, на практике есть вопрос, не приводить ли к range, но в рамках задания классно сделана проверка.

49/50

Comment on lines +82 to +90
def test_logger():
try:
filter_fastq("./input.fastq", "./outlog.fastq", 0, 50, -11)
with open('./error.log', 'r') as f1:
lines1 = f1.readlines()
assert lines1[-1] == "ERROR - quality_threshold=-11, can't be lower then 0, change to 0\n", "wrong log"
finally:
if os.path.exists("./outlog.fastq"):
os.remove("./outlog.fastq") No newline at end of file
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Можно было и без дублирования кода

Минус 1 балл

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants