Skip to content

Commit

Permalink
Updates for new Function in the works
Browse files Browse the repository at this point in the history
  • Loading branch information
kizniche committed May 16, 2021
1 parent 65e0bfc commit 9a02965
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
5 changes: 4 additions & 1 deletion mycodo/functions/bang_bang.py
Expand Up @@ -30,7 +30,10 @@
' as when heating. Lower direction has the opposite behavior - it will try to'
' turn the output on in order to drive the input lower.',

'options_enabled': [],
'options_disabled': [
'measurements_select',
'measurements_configure'
],

'custom_options': [
{
Expand Down
5 changes: 4 additions & 1 deletion mycodo/functions/bang_bang_on_off.py
Expand Up @@ -26,7 +26,10 @@
' as when heating. Lower direction has the opposite behavior - it will try to'
' turn the output on in order to drive the input lower. The Both option will raise and lower.',

'options_enabled': [],
'options_disabled': [
'measurements_select',
'measurements_configure'
],

'custom_options': [
{
Expand Down
5 changes: 4 additions & 1 deletion mycodo/functions/bang_bang_pwm.py
Expand Up @@ -22,7 +22,10 @@
' as when heating. Lower direction has the opposite behavior - it will try to'
' turn the output on in order to drive the input lower. The Both option will raise and lower.',

'options_enabled': [],
'options_disabled': [
'measurements_select',
'measurements_configure'
],

'custom_options': [
{
Expand Down
5 changes: 4 additions & 1 deletion mycodo/functions/pid_autotune.py
Expand Up @@ -51,7 +51,10 @@
'it is not well-developed, and it has a high likelihood of failing to generate PID gains. Do not rely '
'on it for accurately tuning your PID controller.',

'options_enabled': [],
'options_disabled': [
'measurements_select',
'measurements_configure'
],

'custom_options': [
{
Expand Down
1 change: 0 additions & 1 deletion mycodo/utils/system_pi.py
Expand Up @@ -522,7 +522,6 @@ def result():
if stdout_pipe:
cmd = subprocess.Popen(command,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
shell=shell,
preexec_fn=demote(user_uid, user_gid, user_groups),
cwd=cwd,
Expand Down

0 comments on commit 9a02965

Please sign in to comment.