Skip to content

Commit

Permalink
Merge pull request #102 from J-avery32/patch-1
Browse files Browse the repository at this point in the history
Fixed problem where instead of assigning, it checks for equality.
  • Loading branch information
pbeaucage authored Sep 11, 2023
2 parents 886d4cd + ef97fb4 commit 594f810
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PyHyperScattering/SST1RSoXSLoader.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def read_json(self,jsonfile):
json_dict['sdd'] = data[1]['RSoXS_WAXS_SDD']

else:
json_dict['rsoxs_config'] == 'unknown'
json_dict['rsoxs_config'] = 'unknown'
warnings.warn('RSoXS_Config is neither SAXS or WAXS. Check json file',stacklevel=2)

if json_dict['sdd'] == None:
Expand Down

0 comments on commit 594f810

Please sign in to comment.