Skip to content

Commit 81aefdb

Browse files
authored
Merge pull request #1245 from Sage-Bionetworks/develop
Minor release v23.6.2
2 parents 87a1699 + 39fcc80 commit 81aefdb

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

.github/workflows/docker_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name: Create and publish a Docker image
77
on:
88
push:
99
tags:
10-
- '*beta*'
10+
- 'v[0-9]+\.[0-9]+\.[0-9]+(?:-[a-zA-Z]+)?'
1111

1212
env:
1313
REGISTRY: ghcr.io

schematic_api/api/openapi/api.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,13 @@ paths:
329329
default: false
330330
description: If True, validation suite will only run with in-house validation rule. If False, the Great Expectations suite will be utilized and all rules will be available.
331331
required: true
332+
- in: query
333+
name: hide_blanks
334+
schema:
335+
type: boolean
336+
description: If true, annotations with blank values will be hidden from a dataset's annotation list in Synaspe. If false, annotations with blank values will be displayed. Default to false
337+
required: false
338+
example: false
332339
- in: query
333340
name: access_token
334341
schema:

schematic_api/api/routes.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ def validate_manifest_route(schema_url, data_type, restrict_rules=None, json_str
370370

371371
#####profile validate manifest route function
372372
#@profile(sort_by='cumulative', strip_dirs=True)
373-
def submit_manifest_route(schema_url, asset_view=None, manifest_record_type=None, json_str=None, table_manipulation=None, data_type=None):
373+
def submit_manifest_route(schema_url, asset_view=None, manifest_record_type=None, json_str=None, table_manipulation=None, data_type=None, hide_blanks=False):
374374
# call config_handler()
375375
config_handler(asset_view = asset_view)
376376

@@ -415,6 +415,7 @@ def submit_manifest_route(schema_url, asset_view=None, manifest_record_type=None
415415
access_token=access_token,
416416
manifest_record_type = manifest_record_type,
417417
restrict_rules = restrict_rules,
418+
hide_blanks=hide_blanks,
418419
table_manipulation = table_manipulation,
419420
use_schema_label=use_schema_label)
420421

tests/test_api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -685,6 +685,7 @@ def test_submit_manifest_table_and_file_replace(self, client, syn_token, data_mo
685685
"schema_url": data_model_jsonld,
686686
"data_type": "Biospecimen",
687687
"restrict_rules": False,
688+
"hide_blanks": False,
688689
"manifest_record_type": "table_and_file",
689690
"asset_view": "syn51514344",
690691
"dataset_id": "syn51514345",

0 commit comments

Comments
 (0)