Skip to content

Commit

Permalink
fix: add explicit str type to self.process_name
Browse files Browse the repository at this point in the history
  • Loading branch information
lmReef authored and lmReef committed Dec 4, 2024
1 parent 4a8e976 commit c3fd9bb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nf_core/components/nfcore_component.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ def __init__(
self.test_yml = None
self.test_main_nf = None

# Set process_name after self.main_nf is defined
self.process_name = self._get_process_name()
self.process_name: str = self._get_process_name()

def __repr__(self) -> str:
return f"<NFCoreComponent {self.component_name} {self.component_dir} {self.repo_url}>"
Expand Down

0 comments on commit c3fd9bb

Please sign in to comment.