Skip to content

Commit

Permalink
Added comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
PriyankaKetkarBNL authored Feb 23, 2025
1 parent 5c7ae68 commit c7d0429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PyHyperScattering/SST1RSoXSDB.py
Original file line number Diff line number Diff line change
Expand Up @@ -1071,7 +1071,7 @@ def loadMd(self, run):
):
baselineValue = baselineValue.read() ## For tiled_client.array data types, need to use .read() to get the values
md[keyName_PHS] = baselineValue.mean()
if baselineValue.var() > 0:
if baselineValue.var() > 0: ## Might need to increase tolerance, so that it does not throw unnecessary warnings for small variations
warnings.warn(
(
f"While loading {keyName_Beamline} to infill metadata entry for {keyName_PHS}, found beginning and end values unequal: {baselineValue}. It is possible something is messed up."
Expand Down

0 comments on commit c7d0429

Please sign in to comment.