From 338d9e4d852b1ccb95a44c532a2b38d02881e51b Mon Sep 17 00:00:00 2001 From: BillClifford Date: Wed, 28 Jun 2023 11:24:48 -0700 Subject: [PATCH] ~More cleanup --- bq/generate_tables_and_views/auxiliary_metadata_table/schema.py | 2 +- .../gen_public_original_collection_metadata_table.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bq/generate_tables_and_views/auxiliary_metadata_table/schema.py b/bq/generate_tables_and_views/auxiliary_metadata_table/schema.py index aae1e6a..e7ab246 100644 --- a/bq/generate_tables_and_views/auxiliary_metadata_table/schema.py +++ b/bq/generate_tables_and_views/auxiliary_metadata_table/schema.py @@ -34,7 +34,7 @@ from google.cloud import bigquery auxiliary_metadata_schema = [ - bigquery.SchemaField('tcia_api_collection_id', 'STRING', mode='NULLABLE', description='Collection ID as accepted by TCIA APIs'), + bigquery.SchemaField('tcia_api_collection_id', 'STRING', mode='NULLABLE', description='Collection ID as accepted by TCIA APIs. Or in the style of TCIA APIs'), bigquery.SchemaField('idc_webapp_collection_id', 'STRING', mode='NULLABLE', description='Collection ID as accepted by the IDC webapp'), bigquery.SchemaField('collection_id', 'STRING', mode='NULLABLE', description='Collection ID as accepted by the IDC webapp. Duplicate of idc_webapp_collection_id'), bigquery.SchemaField('collection_timestamp', 'DATETIME', mode='NULLABLE', description='Revision timestamp'), diff --git a/bq/generate_tables_and_views/original_data_collections/gen_public_original_collection_metadata_table.py b/bq/generate_tables_and_views/original_data_collections/gen_public_original_collection_metadata_table.py index ad11014..9aebef0 100644 --- a/bq/generate_tables_and_views/original_data_collections/gen_public_original_collection_metadata_table.py +++ b/bq/generate_tables_and_views/original_data_collections/gen_public_original_collection_metadata_table.py @@ -24,7 +24,7 @@ if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument('--bqtable_name', default='original_collections_metadata', help='BQ table name') - parser.add_argument('--access', default='Public', help="Generate excluded_original_collections_metadata if True") + parser.add_argument('--access', default='Public', help="Generate original_collections_metadata if True; (deprecated)generate a table of excluded collections if false (deprecated)") parser.add_argument('--use_cached_metadata', default=False) parser.add_argument('--cached_metadata_file', default='cached_included_metadata.json', help='Where to cache metadata')