Skip to content

Commit

Permalink
update for the fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jkotan committed Jul 14, 2024
1 parent e78f648 commit ac95c2c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nxstools/pyeval/scdataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,7 @@ def append_scicat_record(macro, sname, status_info=True):
"""
# get beamtime id
fdir = macro.getEnv('ScanDir')
snmode =
if get_env_var(macro, 'ScanNames', None):
if get_env_var(macro, 'ScanNames', None) is not None:
fdir = os.path.dirname(os.path.abspath(fdir))
bmtfpath = get_env_var(macro, "BeamtimeFilePath", "/gpfs/current")
bmtfprefix = get_env_var(
Expand Down

0 comments on commit ac95c2c

Please sign in to comment.