Skip to content

Commit

Permalink
Merge pull request #387 from mabel-dev/0.6.13
Browse files Browse the repository at this point in the history
0.6.13
  • Loading branch information
joocer committed Jun 26, 2023
2 parents 785e0fe + e4f50c8 commit 37537fa
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 13 deletions.
2 changes: 0 additions & 2 deletions mabel/data/internals/xmler.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ def strip_namespace(entry):
strip_namespace(child)




def etree_to_dict(t):
d = {t.tag: {} if t.attrib else None}
children = list(t)
Expand Down
21 changes: 14 additions & 7 deletions mabel/data/readers/internals/base_inner_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,13 +254,20 @@ def safe_get_next(lst, item):
if len(as_ats) > 0:
as_at = as_ats.pop()
else:
return []
get_logger().debug(f"Reading from DataSet frame `{as_at}`")
partitioned_blobs = [
blob
for blob in partitioned_blobs
if (as_at in blob) and ("/frame.complete" not in blob)
]
as_at = None
break
if as_at is None:
get_logger().error(
f"There are no valid frames at `{partitioned_folder}`"
)
partitioned_blobs = []
else:
get_logger().debug(f"Reading from DataSet frame `{as_at}`")
partitioned_blobs = [
blob
for blob in partitioned_blobs
if (as_at in blob) and ("/frame.complete" not in blob)
]

blobs += partitioned_blobs

Expand Down
2 changes: 0 additions & 2 deletions mabel/utils/paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ def date_format(path_string: str, date: datetime.date = None):
return path_string




def silent_remove(filename):
try:
os.remove(filename)
Expand Down
2 changes: 1 addition & 1 deletion mabel/version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Store the version here so:
# 1) we don't load dependencies by storing it in __init__.py
# 2) we can import it in setup.py for the same reason
__version__ = "0.6.12"
__version__ = "0.6.13"

# nodoc - don't add to the documentation wiki
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ bitarray
cython
lz4
orjson
orso
pydantic
siphashc
zstandard

0 comments on commit 37537fa

Please sign in to comment.