Added blocks to calculate mean and stdev of a number array. Handles corner cases (empty array, non-numerical values) by throwing messages in the console
Commented out a console log, which made an unnecessary function call
Merge branch 'master' of https://github.com/waterbearlang/waterbear into 667_data_analysis_blocks
Merge branch 'master' of https://github.com/waterbearlang/waterbear into 667_data_analysis_blocks
Merge branch 'master' of https://github.com/waterbearlang/waterbear into 667_data_analysis_blocks
Merge branch 'master' of https://github.com/waterbearlang/waterbear into 667_data_analysis_blocks
Added array functions for sum, variance, and normalize
Merge branch 'master' of https://github.com/waterbearlang/waterbear into 667_data_analysis_blocks
Created a type called file that, when invoked, places a file picker on a block with a socket of that type. Created a block with a file picker that will eventually create a number array from an inputted CSV. Currently unable to store the file's content when the user opens it, and the block width does not automatically extend to fit the file input field.
Added comments to my additions to var Default in order to reflect issues/questions I currently have
Merge branch 'master' of https://github.com/waterbearlang/waterbear into 667_data_analysis_blocks
Changed witdth of block I create, i.e. new array## from CSV
Updated comments in my additions to block.js to better reflect what is happening
Completed block that creates a number array from a CSV (yaygit add .). I save the inputted file contents to localStorage with key "__[filename.csv]". Code to create array includes error handling: confirms that file is a CSV, and that all entries are numbers
Updated error handling in createArrayFromCSV function
Added comments to make note of potential issue with createArrayFromCSV function
Syncing up dist folder with changes made in array_runtime.js, not sure why they are out of sync in the first place, I didn't make any manual changes to dist/javascript_runtime.js
Syncing up dist folder with changes made in array_runtime.js -- they fell out of sync because I only added comments to array_runtime.js so I didn't bin/build
Removed comments that discuss now-nonexistent issues
Added code from CSV-JS library to CSV.js file in lib folder. Modified bin/build to include this file in the pluginlibs variable. Updated the createArrayFromCSV function in array_runtime.js to use the CSV-JS library. Currently running into issue on Safari & Chrome (but not Firefox), where the str variable in CSV.js is being seen as undefined.