Skip to content

Commit

Permalink
Visions 0.6.0 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrugman committed Sep 22, 2020
1 parent b740478 commit a12edf9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
visions>=0.5.0
visions>=0.6.0
pint
pandas
numpy
2 changes: 1 addition & 1 deletion src/compressio/compress.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

def get_data_and_dtype(data: pdT, typeset: VisionsTypeset, with_inference: bool):
graph = typeset.relation_graph if with_inference else typeset.base_graph
data, dtype_path = traverse_graph(data, typeset.root_node, graph)
data, dtype_path, state = traverse_graph(data, typeset.root_node, graph)
dtype = get_type_from_path(dtype_path)
return data, dtype

Expand Down

0 comments on commit a12edf9

Please sign in to comment.