Skip to content

Commit

Permalink
refactor: Remove unused sections and logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jvfe committed Nov 29, 2024
1 parent 45991f4 commit c0760a8
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions nf_core/components/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ def __init__(
limit_output=False,
):
super().__init__(component_type, pipeline_dir, remote_url, branch, no_pull)
self.original_remote = remote_url
self.current_remote = remote_url
self.branch = branch
self.force = force
Expand Down Expand Up @@ -103,11 +102,6 @@ def update(self, component=None, silent=False, updated=None, check_diff_exist=Tr
self.modules_repo = ModulesRepo(remote_url, branch)
component = component["name"]

# if self.original_remote != self.modules_repo.remote_url and self.sha is None:
# self.current_sha = None
# else:
# self.current_sha = self.sha

self.component = component
if updated is None:
updated = []
Expand Down Expand Up @@ -964,10 +958,6 @@ def manage_changes_in_linked_components(self, component, modules_to_update, subw
subworkflow_directory = Path(self.directory, self.component_type, org_path, component)
included_modules, included_subworkflows = get_components_to_install(subworkflow_directory)
# If a module/subworkflow has been removed from the subworkflow
log.info(included_modules)
log.info(modules_to_update)
log.info(included_subworkflows)
log.info(subworkflows_to_update)
for module in modules_to_update:
module = module["name"]
included_modules_names = [m["name"] for m in included_modules]
Expand Down

0 comments on commit c0760a8

Please sign in to comment.