biopal.dataset_query.dataset_query.dataset_query#
- class biopal.dataset_query.dataset_query.dataset_query#
Query over input dataSet
Performs a query on the BioPAL input dataSet: the query rule is specified into the input file “dataset_query” section to get stacks from a specified geographical and temporal region. Writes in output an updated input file, filled with new section “stack_based_processing”
Examples
To ececute it, use its run method after initialization:
>>> from biopal.dataset_query.dataset_query import dataset_query >>> dq_obj = dataset_query() >>> input_file_up = dq_obj.run( input_file )
input_file: path of the input file containing “dataset_query” section
input_file_up: path of the input file, updated with “stack_based_processing” section
Methods
run( input_file_path )
run the dataSet query
name
(str) name of the APP
- __init__()#
Methods
__init__
()name
()run
(input_file_xml)