Conversation
| from src import dna_rna_tools | ||
| from src import fastq_filter | ||
| from src import protein_tools |
There was a problem hiding this comment.
две пустые строки после соответствует PEP8, но тут происходит горизонтальный импорт - импортируются скрипты, но вот для dictionaries надо писать отдельно, где его искать
Как итог: на каждом импорте код падает, траблшутинг написала в основном комментарии
| - gc_bounds (int | float | tuple[int | float] | list[int | float]): GC content thresholds | ||
| - length_bounds (int | tuple[int] | list[int]): read length thresholds | ||
| - quality_thresholds: read Phred-33 scaled quality thresholds | ||
|
|
There was a problem hiding this comment.
Стоит в досктринг добавить описание verbose
| if isinstance(gc_bounds, int) or isinstance(gc_bounds, float): | ||
| gc_bounds = (0, gc_bounds) |
| Return: | ||
| - condition (bool): True - quality is above threshold, False - read is to be filtered | ||
| """ | ||
| mean_quality = sum(ord(symbol) - 33 for symbol in seq_qual) / len(seq_qual) |
|
Отличная работа!
Итог:
Бонусы и штрафы:
Сумма: 9.6 |
Код тестировался, моими кривыми руками) Я вручную добавлял пути в sys.path, т.к думал что проблема в использовании VS code и расширения wsl |
|
Если траблшутинг заключается в изменении переменной PATH, то это стоит написать в Installation and Usage :) |
No description provided.