Skip to content

Commit

Permalink
add creation date to SF
Browse files Browse the repository at this point in the history
  • Loading branch information
mdoucet committed Apr 15, 2024
1 parent dc7f177 commit 9b071c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion reduction/lr_reduction/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.0.22'
__version__ = '2.0.23'
2 changes: 2 additions & 0 deletions reduction/lr_reduction/scaling_factors/LRScalingFactors.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# pylint: disable=invalid-name, no-init
import os
import re
import time
from mantid.api import *
from mantid.simpleapi import *
from mantid.kernel import *
Expand Down Expand Up @@ -410,6 +411,7 @@ def save_scaling_factor_file(self):
fd.write("# y=a+bx\n#\n")
fd.write("# LambdaRequested[Angstroms] S1H[mm] (S2/Si)H[mm] S1W[mm] (S2/Si)W[mm] a b error_a error_b\n#\n")
fd.write("# Version: lr_reduction %s\n" % lr_reduction.__version__)
fd.write("# Generated on %s\n" % time.ctime())
fd.write("# apply_deadtime: %s\n" % correct_for_deadtime)
fd.write("# paralyzable_deadtime: %s\n" % paralyzable)
fd.write("# deadtime_value: %s\n" % deadtime)
Expand Down

0 comments on commit 9b071c0

Please sign in to comment.