コード例 #1
0
ファイル: scamp.py プロジェクト: gotsunami/Youpi
    def __init__(self):
        ProcessingPlugin.__init__(self)

        self.id = 'scamp'
        self.optionLabel = 'Scamp'
        self.description = 'Astro-Photo calibration'
        # Item prefix in processing cart. This should be short string since
        # the item ID can be prefixed by a user-defined string
        self.itemPrefix = 'SCAMP'
        self.index = 20

        self.template = 'plugins/scamp.html'                        # Main template, rendered in the processing page
        self.itemCartTemplate = 'plugins/scamp_item_cart.html'      # Template for custom rendering into the processing cart
        self.jsSource = 'plugins/scamp.js'                          # Custom javascript
        self.isAstromatic = True                                    # Part of the www.astromatic.net software suite (Scamp, Swarp, Sextractor...)
コード例 #2
0
ファイル: qualityfitsout.py プロジェクト: gotsunami/Youpi
	def __init__(self):
		ProcessingPlugin.__init__(self)

		self.id = 'fitsout'
		self.optionLabel = 'Last Quality Evaluation'
		self.description = 'QualiyFits-Out processing'
		# Item prefix in processing cart. This should be short string since
		# the item ID can be prefixed by a user-defined string
		self.itemPrefix = 'QFO'
		self.index = 40

		# Template for custom rendering into the processing cart
		self.itemCartTemplate = 'plugin_qualityfitsout_item_cart.html'
		# Custom javascript
		self.jsSource = 'plugin_qualityfitsout.js'
コード例 #3
0
ファイル: sextractor.py プロジェクト: gotsunami/Youpi
    def __init__(self):
        ProcessingPlugin.__init__(self)
        #
        # REQUIRED members (see doc/writing_plugins/writing_plugins.pdf)
        #
        self.id = "sex"
        self.optionLabel = "Sextractor"
        self.description = "Sources extractor"
        # Item prefix in processing cart. This should be short string since
        # the item ID can be prefixed by a user-defined string
        self.itemPrefix = "SEX"
        self.index = 1

        self.template = "plugins/sextractor.html"  # Main template, rendered in the processing page
        self.itemCartTemplate = (
            "plugins/sextractor_item_cart.html"
        )  # Template for custom rendering into the processing cart
        self.jsSource = "plugins/sextractor.js"  # Custom javascript
        self.isAstromatic = True  # Part of the www.astromatic.net software suite (Scamp, Swarp, Sextractor...)
コード例 #4
0
ファイル: skeleton.py プロジェクト: gotsunami/Youpi
    def __init__(self):
        ProcessingPlugin.__init__(self)

        self.id = "skel"
        self.optionLabel = "Skeleton"
        self.description = "Skeleton (Tutorial only)"
        # Item prefix in processing cart. This should be short string since
        # the item ID can be prefixed by a user-defined string
        self.itemPrefix = "SKEL"
        self.index = 65535

        self.template = "plugins/skeleton.html"  # Main template, rendered in the processing page
        self.itemCartTemplate = (
            "plugins/skeleton_item_cart.html"
        )  # Template for custom rendering into the processing cart
        self.jsSource = "plugins/skeleton.js"  # Custom javascript

        # Will queue jobCount jobs on the cluster
        self.jobCount = 5
        self.command = "/usr/bin/uptime"