Skip to content

Commit

Permalink
changed JSON sidecar file to read only mode which addresses issue: in…
Browse files Browse the repository at this point in the history
  • Loading branch information
dbkeator committed Mar 15, 2021
1 parent 20e8d76 commit 151a4cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nidm/experiment/Utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ def map_variables_to_terms(df,directory, assessment_name, output_file=None,json_
# check if json_source is a file
if os.path.isfile(json_source):
# load file
with open(json_source,'r+') as f:
with open(json_source,'r') as f:
json_map = json.load(f)
else:
print("ERROR: Can't open json mapping file: %s" %(json_source))
Expand Down
2 changes: 1 addition & 1 deletion nidm/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Format expected by setup.py and doc/source/conf.py: string of form "X.Y.Z"
_version_major = 3
_version_minor = 7
_version_micro = '2' # use '' for first of series, number for 1 and above
_version_micro = '3' # use '' for first of series, number for 1 and above
_version_extra = ''
# _version_extra = '' # Uncomment this for full releases

Expand Down

0 comments on commit 151a4cc

Please sign in to comment.