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

Convert methods in gh.py into a class #276

Open
wolski opened this issue Mar 24, 2024 · 0 comments
Open

Convert methods in gh.py into a class #276

wolski opened this issue Mar 24, 2024 · 0 comments

Comments

@wolski
Copy link
Contributor

wolski commented Mar 24, 2024

I suggest that methods (gh.py)[https://github.com/Proteobench/ProteoBench/blob/main/proteobench/github/gh.py] are refactored to a class. The remote_git could be set in the constructor for instance:

def __init__(self,remote_git)
    self.remote_git_repo = remote_git

def clone_repo_anon(
    clone_dir="K:/pb/",
):
    repo = Repo.clone_from(self.remote_git_repo, clone_dir)
    return clone_dir
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

No branches or pull requests

1 participant