Skip to content

Commit

Permalink
Update SST1RSoXSLoader.py
Browse files Browse the repository at this point in the history
Change equality check to assignment
  • Loading branch information
J-avery32 authored Sep 4, 2023
1 parent 6e26f4c commit f2fa985
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 @@ -167,7 +167,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 f2fa985

Please sign in to comment.