[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.
eups is now used to get version, hence there is no good reason to avoid using environment variable.



 Comments   
Comment by cloomis [ 06/Jun/20 ]

Merged at 083a7fe, tagged 2.2.2

Generated at Sat Feb 10 16:30:50 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.