Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add project name to Clone Project search #895

Merged
merged 3 commits into from
Nov 14, 2024

Conversation

aanil
Copy link
Member

@aanil aanil commented Nov 8, 2024

No description provided.

@@ -26,6 +28,16 @@ class LIMSProjectCloningHandler(SafeHandler):
"""

def get(self, projectid):
if not re.match("^(P[0-9]{3,7})", projectid):
Copy link
Member

Choose a reason for hiding this comment

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

I think a comment is in place here. Try to explain that if it's not a projectid, then it's a project_name, and potentially even rename the variable.

Copy link
Member

@alneberg alneberg left a comment

Choose a reason for hiding this comment

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

Looks good!

@aanil aanil merged commit 8c77974 into NationalGenomicsInfrastructure:master Nov 14, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants