Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
VinzentRisch committed Sep 12, 2024
1 parent 14d8c08 commit d6f7a8b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rescript/bv_brc.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

def get_bv_brc_metadata(
ids_metadata: Union[qiime2.NumericMetadataColumn,
qiime2.CategoricalMetadataColumn] = None,
qiime2.CategoricalMetadataColumn] = None,
data_type: str = None,
rql_query: str = None,
data_field: str = None,
Expand Down Expand Up @@ -59,7 +59,7 @@ def get_bv_brc_metadata(

def get_bv_brc_genomes(
ids_metadata: Union[qiime2.NumericMetadataColumn,
qiime2.CategoricalMetadataColumn] = None,
qiime2.CategoricalMetadataColumn] = None,
rql_query: str = None,
data_field: str = None,
ids: list = None,
Expand Down Expand Up @@ -94,7 +94,7 @@ def get_bv_brc_genomes(

def get_bv_brc_genome_features(
ids_metadata: Union[qiime2.NumericMetadataColumn,
qiime2.CategoricalMetadataColumn] = None,
qiime2.CategoricalMetadataColumn] = None,
rql_query: str = None,
data_field: str = None,
ids: list = None,
Expand Down Expand Up @@ -404,7 +404,7 @@ def download_data(data_type, query, accept, select=None):

# POST request
response = requests.post(url=url, data=data, headers=headers)
a = len(response.json())

# If the response is successful, process the data
if response.status_code == 200:
if accept == "application/json":
Expand Down

0 comments on commit d6f7a8b

Please sign in to comment.