bluesky / bluesky-queueserver

Server for queueing plans
https://blueskyproject.io/bluesky-queueserver/
BSD 3-Clause "New" or "Revised" License
11 stars 20 forks source link

Add username to temporary directory name (used in demo mode with IPython kernel) #284

Closed dmgav closed 12 months ago

dmgav commented 12 months ago

Add current username to the name of temporary directory. The directory used to be named qserver, now it is named qserver_<username>. The directory is created when RE Manager is started in demo mode with IPython kernel and contains the the copy of profile_collection_sim placed in qserver_<username>/IPython/profile_collection_sim directory. The IPython subdirectory also contains standard files created by IPython kernel, including the history. Having the same directory proved to be inconvenient if the Queue Server is started in demo mode by different users on the same machine.

The temporary directory is used only in the demo mode if IPython kernel option is enabled. The change does not affect production environment.

Summary of Changes for Release Notes

Fixed

Added

Changed

Removed

How Has This Been Tested?