Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
400 BUGFIX: epicsarch-qs softlink creation
#################

API Changes
-----------
- N/A

Features
--------
- N/A

Bugfixes
--------
- Fixed pathcheck in hutch_python/epics_arch.py: create_softlink

Maintenance
-----------
- N/A

Contributors
------------
- vespos
2 changes: 1 addition & 1 deletion hutch_python/epics_arch.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def create_softlink(experiment, link_path):
overwrites it with the new active experiment.
"""
# Defaults new softlink in /cds/group/pcds/dist/pds/{}/misc/
if not os.path.exists(link_path):
if not os.path.exists(link_path.format(experiment[0:3])):
raise OSError('Path does not exist path: %s' % link_path)

subprocess.run(['ln', '-sf', link_path.format(experiment[0:3]) + 'epicsArch_'
Expand Down
Loading