Git Product home page Git Product logo

nodes's People

Contributors

39bytes avatar angchau avatar ben-epstein avatar dstrande avatar emiliedu avatar henri123lemoine avatar itsjoeoui avatar izi-on avatar jackparmer avatar jingxiangmo avatar jinleevv avatar jjerphan avatar orisu179 avatar roulbac avatar scorinaldi avatar shani-leroux avatar sifatibna avatar smahmed776 avatar thebigsasha avatar trbritt avatar youngsun4786 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

nodes's Issues

Problem with the node Bar

File "/home/angelchauffray/studio/PYTHON/./nodes/VISUALIZERS/PLOTLY/BAR/BAR.py", line 16, in BAR
[3] fig = px.scatter(x=x, y=y, mode="markers")
[3] TypeError: scatter() got an unexpected keyword argument 'mode'

Are INSTRUMENTS/SERIAL and INSTRUMENTS/Serial duplicates?

I get the following error cloning the repo on my local machine, should I ignore it?

Cloning into 'nodes'...
remote: Enumerating objects: 2688, done.
remote: Counting objects: 100% (738/738), done.
remote: Compressing objects: 100% (392/392), done.
remote: Total 2688 (delta 391), reused 551 (delta 330), pack-reused 1950
Receiving objects: 100% (2688/2688), 5.08 MiB | 9.81 MiB/s, done.
Resolving deltas: 100% (1121/1121), done.
warning: the following paths have collided (e.g. case-sensitive paths
on a case-insensitive filesystem) and only one from the same
colliding group is in the working tree:

  'INSTRUMENTS/SERIAL/SERIAL_SINGLE_MEASUREMENT/SERIAL_SINGLE_MEASUREMENT.py'
  'INSTRUMENTS/Serial/SERIAL_SINGLE_MEASUREMENT/SERIAL_SINGLE_MEASUREMENT.py'
  'INSTRUMENTS/SERIAL/SERIAL_TIMESERIES/SERIAL_TIMESERIES.py'
  'INSTRUMENTS/Serial/Serial_timeseries/SERIAL_TIMESERIES.py'

replace all instances of `v` with `dc`

when we started flojoy, there was no DataContainer class, so as convention, we used v to denote "vector" for every input variable. Most of the nodes still use v, but we should update it to dc to be more precise

Eg, all instances of

@flojoy
def SOME_FUNCTION(v, params):
    # bla..

should be

@flojoy
def SOME_FUNCTION(dc, params):
    # bla..

Timeseries node cannot be plotted with LINE node

Given this flow

flojoy.txt

After being executed, the timeseries plot won't load.
image

I took the dc_input from the LINE node of the timeseries, and saved it to disk. I loaded it in jupyter and the plot rendered just fine, both using px.express and px.graph_object

image image

Not sure why the UI can't render the timeseries plot, but it has something to do with the x being timeseries data. If I replace it with None or np.random.rand in the TIMESERIES node code, it renders as expected

python script to automate docs gen

This first section of documentation pages was designed to be auto-generated if the node (code) exists but the documentation page does not:

image

(The description at the top would be pulled from the node function docstring, and the i/o parameters would be pulled from its parameter's manifest)

Most of the nodes in this repo currently do not have a docs page, so it would be a high leverage time to write this script so that it can be used by CI or anyone contributing a node in the future. (it will also help us ensure that every node has a quality docs string!)

Scalar DataContainer is poorly supported by nodes

The scalar DataContainer is not supported by nodes such as ARITHMETIC, and VIZ nodes.

Will have to add match-case clauses to handle it.

Please add more nodes to the list that you think should handle scalars: ARITHMETIC, BIG_NUMBER, RAND, CONSTANT.

Handle different sized operands in Nodes

Many nodes have this in their docstring:

If 2 arrays or matrices of different
    sizes are added, the output will be the size of the larger array or matrix with
    only the overlapping elements changed.

This isn't true! If you try this on the nodes now, they'll complain and fail. We need to actually implement this

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.