Skip to content

Commit

Permalink
⚰️
Browse files Browse the repository at this point in the history
  • Loading branch information
jgunstone committed Apr 14, 2023
1 parent 93365ff commit 7c6c6cf
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/ipyautoui/autodisplay.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
# +
import pathlib
import functools
from wcmatch.pathlib import Path as wcPath
from IPython.display import (
display,
clear_output,
Expand Down Expand Up @@ -619,8 +618,6 @@ def display_catfact(path):
display(d)

# +
from wcmatch import fnmatch


class AutoDisplay(tr.HasTraits):
"""
Expand Down Expand Up @@ -650,14 +647,6 @@ class AutoDisplay(tr.HasTraits):
notice that the class allows for "compound" filetypes, especially useful for .json files
if you want to display the data in a specific way.
"""

# _paths = tr.List()

# @validate("_paths")
# def _valid_value(self, proposal):
# """makes path a wcmatch.Path (for enhanced pattern matching) and filters out directories"""
# return [wcPath(p) for p in proposal["value"] if not pathlib.Path(p).is_dir()]

def __init__(
self,
display_objects_actions: ty.List[DisplayObjectActions],
Expand Down

0 comments on commit 7c6c6cf

Please sign in to comment.