diff options
| author | Frederick Muriuki Muriithi | 2025-04-07 15:25:27 -0500 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2025-04-07 15:25:27 -0500 |
| commit | 48b5e6c28bb26d82e78bdf6c5d1b33df1c573615 (patch) | |
| tree | bf3b8324ef03806ea7c2acab62ea622894779cae /gn3/commands.py | |
| parent | 356ae9ce7a144ba492f2c02b36c1be4254d8ff39 (diff) | |
| download | genenetwork3-48b5e6c28bb26d82e78bdf6c5d1b33df1c573615.tar.gz | |
Remove debug logging: current_app.logger requires app context.
Diffstat (limited to 'gn3/commands.py')
| -rw-r--r-- | gn3/commands.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gn3/commands.py b/gn3/commands.py index 5c0dbd6..2cf0404 100644 --- a/gn3/commands.py +++ b/gn3/commands.py @@ -158,7 +158,6 @@ def run_sample_corr_cmd(method, this_trait_data, target_dataset_data): def run_cmd(cmd: str, success_codes: Tuple = (0,), env: Optional[str] = None) -> Dict: """Run CMD and return the CMD's status code and output as a dict""" try: - current_app.logger.debug("Attempting to parse command: ==> %s <==", cmd) parsed_cmd = json.loads(cmd) except json.decoder.JSONDecodeError as jderr: parsed_cmd = shlex.split(cmd) |
