Skip to content

Commit

Permalink
Source commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mrueda committed Nov 29, 2024
1 parent 56e052d commit e4d12fa
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions pheno-ranker-app.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,12 +244,15 @@ def pheno_ranker_thread():
# Construct the command for Pheno-Ranker
command = ["pheno-ranker"]

# Add reference files
# Add reference files in the visual order they appear on the screen
reference_files = [entry.get().strip() for entry in ref_file_entries if entry.get().strip()] # Ensure no empty paths

# Add reference files in the order they appear
for ref_file in reference_files:
command.extend(["-r", ref_file])

# Add target file if in patient mode
if mode == "patient":
if mode == "patient" and target_file:
command.extend(["-t", target_file])

# Add optional arguments based on user input
Expand Down

0 comments on commit e4d12fa

Please sign in to comment.