Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
emiliorighi authored Sep 17, 2023
1 parent add0b28 commit 925cc15
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ jobs:
# Process the input file and create the output file
while IFS=$'\t' read -r col1 rest_of_line; do
if [[ "$added_rows" -ge 200 ]]; then
break
fi
if [[ "$col1" == "Assembly Accession" ]]; then
continue
fi
url="https://www.ebi.ac.uk/ena/browser/api/fasta/$col1?download=true" # Modify this URL format as needed
if [[ "$added_rows" -ge 200 ]]; then
break
fi
if [[ "$col1" == "Assembly Accession" ]]; then
continue
fi
url="https://www.ebi.ac.uk/ena/browser/api/fasta/$col1?download=true"
if url_exists "$url"; then
url_to_add="$url&gzip=true"
echo "$url_to_add"
Expand Down

0 comments on commit 925cc15

Please sign in to comment.