Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def _tasks_default(self):
return [TaskFactory(name='System Monitor',
id='pychron.system_monitor',
accelerator='Ctrl+Shift+V',
factory=self._task_factory)]
def _tasks_default(self):
return [TaskFactory(id='pychron.experiment_repo.task',
name='Repositories',
factory=self._repo_factory,
image='repo')]
def _tasks_default(self):
return [TaskFactory(id='pychron.users',
factory=self._users_task_factory,
name='Users',
accelerator='Ctrl+Shift+U',
)]
def _tasks_default(self):
ts = [TaskFactory(id='pychron.spectrometer',
task_group='hardware',
factory=self._task_factory,
accelerator="Ctrl+'",
name='Spectrometer',
image='spectrum_emission'),
TaskFactory(id='pychron.mass_calibration',
factory=self._mass_cal_task_factory,
name='Mass Calibration',
accelerator='Ctrl+Shift+M'),
TaskFactory(id='pychron.spectrometer.scan_inspector',
factory=self._inspector_task_factory,
name='Scan Inspector')]
return ts
def _tasks_default(self):
ts = [TaskFactory(id='pychron.spectrometer',
task_group='hardware',
factory=self._task_factory,
accelerator="Ctrl+'",
name='Spectrometer',
image='spectrum_emission'),
TaskFactory(id='pychron.mass_calibration',
factory=self._mass_cal_task_factory,
name='Mass Calibration',
accelerator='Ctrl+Shift+M'),
TaskFactory(id='pychron.spectrometer.scan_inspector',
factory=self._inspector_task_factory,
name='Scan Inspector')]
return ts
def _tasks_default(self):
return [TaskFactory(id='pychron.pipeline.task',
name='Pipeline',
accelerator='Ctrl+p',
factory=self._pipeline_factory)]
def _tasks_default(self):
return [TaskFactory(id=self.id,
task_group='hardware',
factory=self._task_factory,
name=self.task_name,
image='laser',
accelerator=self.accelerator)]
def _tasks_default(self):
return [TaskFactory(id=self.id,
factory=self._task_factory,
name='Logger')]
def _tasks_default(self):
wt = TaskFactory(factory=self._workspace_task_factory,
id='pychron.workspace',
name='Workspace',
# task_group=task_group,
accelerator='Ctrl+5',
# image=image,
# include_view_menu=include_view_menu or accelerator
)
tasks = [wt, ]
return tasks
def _tasks_default(self):
return [TaskFactory(id='pychron.dashboard.server',
name='Dashboard Server',
accelerator='Ctrl+4',
factory=self._factory)]