Skip to content

Commit 36ed963

Browse files
authored
weird syntax insertion fixed
1 parent c169a19 commit 36ed963

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

GANDLF/utils/generic.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,6 @@
99
from typing import Dict, Any, Union
1010

1111

12-
@contextmanagerimport os, datetime, sys
13-
from copy import deepcopy
14-
import random
15-
import numpy as np
16-
import torch
17-
import SimpleITK as sitk
18-
from contextlib import contextmanager, redirect_stderr, redirect_stdout
19-
from os import devnull
20-
from typing import Dict, Any, Union
21-
22-
2312
@contextmanager
2413
def suppress_stdout_stderr():
2514
"""A context manager that redirects stdout and stderr to devnull"""

0 commit comments

Comments
 (0)