Commit Graph

12 Commits

Author SHA1 Message Date
Chuck SmileyRekiere
4290da5f57 lf_atten_mod_test.py : modified example
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:25 +05:30
Chuck SmileyRekiere
17254d65a6 lf_atten_mode_test.py : the script does not need --port except that the script
inherits from Realm which requires a port.  the --port in the script conflicted
with the base args parser so the base args parser will be used.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
f7fae8f381 lfcli_base.py: changed --port in lfcli_base to --lf_port , this addition of
--port created a conflict with lf_attend_mod_test.py The --port was introduced
a month ago. Will look for other conflicts in the regressions.
Changed lf_attend_mod_test.py to add back in --port

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
f38170b77b lf_atten_mod_test.py : base_argsparse had a --port option so script will
use that one to avoid conflict

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
shivamcandela
1c7c249738 lf_attenmod added
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-12-01 11:49:36 +05:30
Matthew Stidham
e6cf6b9337 1. Create pandas_extensions.py
2. Remove unused imports

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-21 11:11:04 -07:00
Matthew Stidham
36400e003d Making it so that lanforge-scripts can work if the repository isn't named exactly the same way
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-17 15:29:15 -07:00
erinnerim
1d7578251c Updates to import statements:
- Import importlib, os, and sys to each python script.
 - Append "lanforge-scripts" root directory to the system path, allowing each script to be called from an antecedent directory. e.g.
if 'lanforge-scripts' not in sys.path:
    sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../../../")))
 - All statements of the form 'from <module> import <class>' replace with:
<module> = importlib.import_module("lanforge-scripts.<directory>.<module>")
<class> = <module>.<class>
2021-09-15 16:17:16 -07:00
Chuck SmileyRekiere
743b5f56c9 Revert "Update py_scripts to be in line with pip standards"
This reverts commit 37df48594e.
2021-09-09 05:32:05 -06:00
Matthew Stidham
37df48594e Update py_scripts to be in line with pip standards
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-08 16:57:10 -07:00
Chuck SmileyRekiere
87c1145216 lf_atten_mod_test.py : changed permissions to +x or 777
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-28 10:35:47 -06:00
anjali
0583b57fb4 added attenuator library in realm.py 2021-05-28 21:32:59 +05:30