Skip to content

Commit

Permalink
Merge pull request #587 from populationgenomics/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
illusional authored Oct 25, 2023
2 parents cb53231 + 91db84a commit 24ae802
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 6.4.0
current_version = 6.5.0
commit = True
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>[A-z0-9-]+)
Expand Down
12 changes: 6 additions & 6 deletions api/graphql/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,9 +589,9 @@ async def sample(

project_name_map: dict[str, int] = {}
if project:
project_ids = project.all_values()
projects = await ptable.get_and_check_access_to_projects_for_ids(
user=connection.author, project_ids=project_ids, readonly=True
project_names = project.all_values()
projects = await ptable.get_and_check_access_to_projects_for_names(
user=connection.author, project_names=project_names, readonly=True
)
project_name_map = {p.name: p.id for p in projects}

Expand Down Expand Up @@ -633,9 +633,9 @@ async def sequencing_groups(
# we list project names, but internally we want project ids
project_id_map = {}
if project:
project_ids = project.all_values()
projects = await ptable.get_and_check_access_to_projects_for_ids(
user=connection.author, project_ids=project_ids, readonly=True
project_names = project.all_values()
projects = await ptable.get_and_check_access_to_projects_for_names(
user=connection.author, project_names=project_names, readonly=True
)
project_id_map = {p.name: p.id for p in projects}

Expand Down
2 changes: 1 addition & 1 deletion api/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from api.settings import PROFILE_REQUESTS, SKIP_DATABASE_CONNECTION

# This tag is automatically updated by bump2version
_VERSION = '6.4.0'
_VERSION = '6.5.0'

logger = get_logger()

Expand Down
2 changes: 1 addition & 1 deletion deploy/python/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.4.0
6.5.0
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
setup(
name=PKG,
# This tag is automatically updated by bump2version
version='6.4.0',
version='6.5.0',
description='Python API for interacting with the Sample API system',
long_description=readme,
long_description_content_type='text/markdown',
Expand Down
2 changes: 1 addition & 1 deletion test/test_graphql.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ async def test_sg_analyses_query(self):

q = """
query MyQuery($sg_id: String!, $project: String!) {
sequencingGroups(id: {in_: [$sg_id]}) {
sequencingGroups(id: {in_: [$sg_id]}, project: {eq: $project}) {
analyses(project: {eq: $project}) {
id
meta
Expand Down
2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "metamist",
"version": "6.4.0",
"version": "6.5.0",
"private": true,
"dependencies": {
"@apollo/client": "^3.7.3",
Expand Down

0 comments on commit 24ae802

Please sign in to comment.