Skip to content

Commit

Permalink
Source and target version in dict
Browse files Browse the repository at this point in the history
  • Loading branch information
plesubc committed Aug 8, 2023
1 parent 314a45d commit c202ccb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/dataverse_utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
'''
from dataverse_utils.dataverse_utils import *

VERSION = (0,10,2)
VERSION = (0,10,3)
__version__ = '.'.join([str(x) for x in VERSION])
1 change: 1 addition & 0 deletions src/dataverse_utils/dvdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def __init__(self, pid: str,
self['file_info'] = self['orig_json']['files']
self['file_ids'] = [x['dataFile'].get('id') for x in self['orig_json']['files']]
self['file_persistentIds'] = self._get_file_pids()
self['source_version'] = Study.get_version(url)
self['target_version'] = None
if not self['target_version']:
self['target_version'] = Study.get_version(url)
Expand Down

0 comments on commit c202ccb

Please sign in to comment.