Skip to content

Commit

Permalink
revert minor tweak to prevent breaking
Browse files Browse the repository at this point in the history
  • Loading branch information
kedhammar committed Oct 17, 2023
1 parent e88d721 commit 9171fa0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nf_core/components/components_utils.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import logging
import re
from pathlib import Path
from typing import List, Optional, Tuple, Union
from typing import List, Optional, Tuple

import questionary
import rich.prompt
Expand All @@ -23,7 +23,7 @@ def get_repo_info(directory: str, use_prompt: Optional[bool] = True) -> Tuple[st
raise UserWarning(f"Could not find directory: {directory}")

# Try to find the root directory
base_dir: Union[str, Path] = nf_core.utils.determine_base_dir(directory)
base_dir: str = nf_core.utils.determine_base_dir(directory)

# Figure out the repository type from the .nf-core.yml config file if we can
config_fn, tools_config = nf_core.utils.load_tools_config(base_dir)
Expand Down

0 comments on commit 9171fa0

Please sign in to comment.