From 13d1323af9f146d3b6b60016e5d5d2883c9556f3 Mon Sep 17 00:00:00 2001 From: Gui Date: Wed, 28 Feb 2024 21:31:46 -0500 Subject: [PATCH 1/4] Update README.md Add Test Sequencer Product shot --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 25ed314c1..0ab8d159f 100644 --- a/README.md +++ b/README.md @@ -29,5 +29,6 @@ If interested in using Flojoy in a context where the AGPL license is prohibitive # Product screenshots ![product_screenshot](https://github.com/flojoy-ai/studio/assets/1865834/e58877fb-b9e4-4831-ac35-de40021dacd3) +Screenshot 2024-02-27 at 12 51 44 PM + -![Visualization of the Codebase](./diagram.svg) From a9c100242ac41aaa27f0549e16ea8c2f919365d6 Mon Sep 17 00:00:00 2001 From: Gui Date: Wed, 28 Feb 2024 21:41:28 -0500 Subject: [PATCH 2/4] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0ab8d159f..8bacfe313 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ If interested in using Flojoy in a context where the AGPL license is prohibitive # Product screenshots -![product_screenshot](https://github.com/flojoy-ai/studio/assets/1865834/e58877fb-b9e4-4831-ac35-de40021dacd3) -Screenshot 2024-02-27 at 12 51 44 PM +Flowchart +Test Sequencer From 9becfcd4081fe165c524b299557d1a8ddc9c15b0 Mon Sep 17 00:00:00 2001 From: Guillaume Date: Thu, 29 Feb 2024 13:02:38 -0500 Subject: [PATCH 3/4] Fomratting --- README.md | 2 -- cli/utils/block_docs.py | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index 8bacfe313..276eb84eb 100644 --- a/README.md +++ b/README.md @@ -30,5 +30,3 @@ If interested in using Flojoy in a context where the AGPL license is prohibitive Flowchart Test Sequencer - - diff --git a/cli/utils/block_docs.py b/cli/utils/block_docs.py index 7aab2d177..9626f2abe 100644 --- a/cli/utils/block_docs.py +++ b/cli/utils/block_docs.py @@ -63,9 +63,7 @@ def add_videos(self, videos: list[DocsVideo]): -""".format( - src=video.link, title=video.title - ) +""".format(src=video.link, title=video.title) return self def add_python_code(self): From ea8641f3f0a5aa47e5921dac6889339d12fe40d7 Mon Sep 17 00:00:00 2001 From: Guillaume Date: Thu, 29 Feb 2024 16:28:29 -0500 Subject: [PATCH 4/4] Formatting with new ruff version --- pkgs/flojoy/flojoy/_logging.py | 12 ++++-------- pkgs/flojoy/flojoy/flojoy_node_venv.py | 1 + pkgs/flojoy/flojoy/instruments/tektronix/MDO30xx.py | 1 + pkgs/flojoy/flojoy/reconciler.py | 3 ++- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/pkgs/flojoy/flojoy/_logging.py b/pkgs/flojoy/flojoy/_logging.py index 3def9a604..8f52ad799 100644 --- a/pkgs/flojoy/flojoy/_logging.py +++ b/pkgs/flojoy/flojoy/_logging.py @@ -41,17 +41,13 @@ class StreamEnum(Enum): class PipeWriter(Protocol): """Protocol for a pipe writer""" - def write(self, data: bytes): - ... + def write(self, data: bytes): ... - def fileno(self) -> int: - ... + def fileno(self) -> int: ... - def close(self): - ... + def close(self): ... - def flush(self): - ... + def flush(self): ... # Abstract Pipe class diff --git a/pkgs/flojoy/flojoy/flojoy_node_venv.py b/pkgs/flojoy/flojoy/flojoy_node_venv.py index b0ad955a1..ed2ecdf21 100644 --- a/pkgs/flojoy/flojoy/flojoy_node_venv.py +++ b/pkgs/flojoy/flojoy/flojoy_node_venv.py @@ -19,6 +19,7 @@ def TORCH_NODE(default: Matrix) -> Matrix: return Matrix(...) """ + import hashlib import importlib.metadata import inspect diff --git a/pkgs/flojoy/flojoy/instruments/tektronix/MDO30xx.py b/pkgs/flojoy/flojoy/instruments/tektronix/MDO30xx.py index 84a1ba257..d93f19980 100644 --- a/pkgs/flojoy/flojoy/instruments/tektronix/MDO30xx.py +++ b/pkgs/flojoy/flojoy/instruments/tektronix/MDO30xx.py @@ -2,6 +2,7 @@ Driver for the MDO4000B, MDO4000, MSO4000B, DPO4000B and MDO3000 series Oscilloscopes. """ + import textwrap import time from functools import partial diff --git a/pkgs/flojoy/flojoy/reconciler.py b/pkgs/flojoy/flojoy/reconciler.py index eba03f97c..fcfbebdae 100644 --- a/pkgs/flojoy/flojoy/reconciler.py +++ b/pkgs/flojoy/flojoy/reconciler.py @@ -3,8 +3,9 @@ For example, the ADD node should make a best effort to do something reasonable when a matrix is added to a DataFrame, or a 2 matrices of a different size are added. -For this reason, we've created the `Reconciler` class to handle the process of turning different data types into compatible, easily added objects. +For this reason, we've created the `Reconciler` class to handle the process of turning different data types into compatible, easily added objects. """ + from typing import Tuple import numpy