[INSTRM-999] get actor product dir from eups Created: 06/Jun/20 Updated: 06/Jun/20 Resolved: 06/Jun/20 |
|
| Status: | Done |
| Project: | Instrument control development |
| Component/s: | tron_actorcore |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Normal |
| Reporter: | arnaud.lefur | Assignee: | cloomis |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
tro |
||
| Description |
|
from Actor.Actor._init_ # This requires that the actor be started from its root directory. Not great,
# but it removed dependance on another environment variable. Could import eups and
# ask that object.
self.product_dir = os.getcwd()
product_dir is now determined using current directory. |
| Comments |
| Comment by cloomis [ 06/Jun/20 ] |
|
Merged at 083a7fe, tagged 2.2.2 |