Skip to content

Commit

Permalink
auto config int
Browse files Browse the repository at this point in the history
  • Loading branch information
ncherric committed Aug 23, 2023
1 parent 1656b2d commit 1f89edd
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions config/auto_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,13 @@ def main():
# Prompt the user for a new value
refSpecies = input("Enter your reference assembly species. copy this if unchanged -> homo_sapiens: ")
ymldoc['ref']['species'] = refSpecies
refRelease = input("Enter your reference assembly release. copy this if unchanged -> 104: ")
ymldoc['ref']['release'] = refRelease

try:
refRelease = int(input("Enter your reference assembly release. copy this if unchanged -> 104: "))
ymldoc['ref']['release'] = refRelease
except ValueError:
print("Invalid input. Please enter an integer.")

refBuild = input("Enter your reference assembly build. copy this if unchanged -> GRCh38: ")
ymldoc['ref']['build'] = refBuild

Expand Down

0 comments on commit 1f89edd

Please sign in to comment.