Skip to content

Commit

Permalink
fix python linting
Browse files Browse the repository at this point in the history
  • Loading branch information
bernt-matthias committed Oct 18, 2023
1 parent 0f86f66 commit c7a0985
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
import os
import shutil
import tarfile
import requests
import subprocess

import requests


# Utility functions for interacting with Galaxy JSON
def read_input_json(jsonfile):
Expand Down Expand Up @@ -140,15 +141,15 @@ def move_index_files(archive_content_path, target_dir, data_tables, version):
command = "indexdb_rna --ref %s,%s" % (
fasta_filepath,
indexed_filepath)
returncode = subprocess.call(command, shell=True )
returncode = subprocess.call(command, shell=True)
if returncode:
exit(f"`{command}` exited with exit code {returncode}")
# Add entry in the data table
add_data_table_entry(
data_tables,
"rRNA_databases",
dict(
value="%s-%s" %(version, db_name),
value="%s-%s" % (version, db_name),
name=db_name,
path=filedir))

Expand Down

0 comments on commit c7a0985

Please sign in to comment.