Skip to content

Commit

Permalink
remove print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
jsjiang committed Dec 13, 2023
1 parent 4589f6c commit 877ab62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions impl/datacite.py
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ def briefDataciteRecord(record):
"""

datacite_dict = dcmsRecordToDict(record)
print(datacite_dict)
#print(datacite_dict)
briefDcRecord = {}
try:
if datacite_dict and 'resource' in datacite_dict:
Expand Down Expand Up @@ -688,7 +688,7 @@ def briefDataciteRecord(record):
if 'resourceType' in datacite_dict['resource'] and '@resourceTypeGeneral' in datacite_dict['resource']['resourceType']:
briefDcRecord['datacite.resourcetype'] = datacite_dict['resource'].get('resourceType').get('@resourceTypeGeneral')

print(f'brief: {briefDcRecord}')
#print(f'brief: {briefDcRecord}')
except Exception as ex:
print(f'error: {ex} - brief record: {briefDcRecord}')

Expand Down

0 comments on commit 877ab62

Please sign in to comment.