Skip to content

Conversation

@leoliuuu
Copy link

No description provided.

Copy link

@SeunginLyu SeunginLyu left a comment

Choose a reason for hiding this comment

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

It looks good overall! The only suggestion I have is that adding more custom unit tests would be helpful for making sure that your functions all run correctly or not! (strongly recommend doing so for future mini projects)

@@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-
"""
YOUR HEADER COMMENT HERE

Choose a reason for hiding this comment

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

In future mini projects, please leave a header comment that describes what this code is about. It's going to help you a lot when the code base gets large.

YOUR HEADER COMMENT HERE
@author: YOUR NAME HERE
@author:

Choose a reason for hiding this comment

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

Please write your name. It's like writing your name for any other quizzes or projects.

stop_codons = ["TAG", "TAA","TGA"]
for i in range(0,len(dna),3):
codon = dna[i:i+3]
for stop in stop_codons:

Choose a reason for hiding this comment

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

you can do if codon in stop_codons:

"""
# TODO: implement this
pass
return [i for j in range(0,3) for i in find_all_ORFs_oneframe(dna[j:])]

Choose a reason for hiding this comment

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

nice usage of list comprehension! 👍

import doctest
doctest.testmod()
# import doctest
# # doctest.testmod()

Choose a reason for hiding this comment

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

please remove comments for final code submission

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