Uploaded image for project: 'Instrument control development'
  1. Instrument control development
  2. INSTRM-999

get actor product dir from eups

    XMLWordPrintable

    Details

      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.

        Attachments

          Activity

            People

            • Assignee:
              cloomis cloomis
              Reporter:
              arnaud.lefur arnaud.lefur
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: