Skip to content

Commit

Permalink
Remove unused/duplicate lines
Browse files Browse the repository at this point in the history
Removed unused code.
  • Loading branch information
randallfrank committed Jul 9, 2024
1 parent f90fc84 commit d2bbfcc
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/ansys/pyensight/core/utils/omniverse_dsg_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ def clean_name(self, name: str, id_name: Any = None) -> str:
# return any previously generated name
if (name, id_name) in self._cleaned_names:
return self._cleaned_names[(name, id_name)]
orig_name = name
# replace invalid characters. EnSight uses a number of characters that are illegal in USD names.
replacements = {
ord("+"): "_",
Expand Down Expand Up @@ -818,13 +817,6 @@ def end_update(self) -> None:
default=False,
help="In this mode do not include a camera or the case level matrix. Geometry only.",
)
parser.add_argument(
"--debugwait",
dest="debugWait",
action="store_true",
default=False,
help="On startup, wait for a debugger to attach.",
)
args = parser.parse_args()

log_args = dict(format="DSG/Omniverse: %(message)s", level=logging.INFO)
Expand All @@ -843,13 +835,6 @@ def end_update(self) -> None:
if loggingEnabled:
logging.info("Omniverse connection established.")

if args.debugWait:
# Not working
pass
# import debugpy
# debugpy.listen(5678)
# debugpy.wait_for_client()

# link it to a DSG session
update_handler = OmniverseUpdateHandler(target)
dsg_link = DSGSession(
Expand Down

0 comments on commit d2bbfcc

Please sign in to comment.