Commit ed39e0af authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Fix run

parent 20c2835e
......@@ -8,8 +8,8 @@ class WorkflowRunner:
self.api_endpoint = api_endpoint
self.institution_id = kwargs['institutionId']
self.record_set_id = kwargs['recordSetId']
self.xml_identifier_field_name = kwargs['identifierFieldName']
self.xml_record_tag = kwargs['recordTag']
self.xml_identifier_field_name = kwargs['identifierFieldName'] if 'identifierFieldName' in kwargs else 'none'
self.xml_record_tag = kwargs['recordTag'] if 'recordTag' in kwargs else 'none'
self.table_sheet_index = kwargs['tableSheetIndex'] if 'tableSheetIndex' in kwargs else 1
self.table_header_count = kwargs['tableHeaderCount'] if 'tableHeaderCount' in kwargs else 1
self.table_header_index = kwargs['tableHeaderIndex'] if 'tableHeaderIndex' in kwargs else 1
......@@ -27,7 +27,7 @@ class WorkflowRunner:
'institutionId': self.institution_id,
'xmlIdentifierFieldName': self.xml_identifier_field_name,
'xmlRecordTag': self.xml_record_tag,
'isPublished': False,
'isPublished': True,
'tableSheetIndex': self.table_sheet_index,
'tableHeaderCount': self.table_header_count,
'tableHeaderIndex': self.table_header_index,
......
#!/usr/bin/env bash
for d in srf-001 srf-020 swi-001;
for d in sag-001;
do
scp $d/mappings/localTransforms.yml root@mb-wf2.memobase.unibas.ch:/swissbib_index/mb_sftp/$d/config/localTransforms.yml;
scp $d/mappings/mapping.yml root@mb-wf2.memobase.unibas.ch:/swissbib_index/mb_sftp/$d/config/mapping.yml;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment