dscotthunter / Fantasy-Hockey-IP-Code

Other
104 stars 76 forks source link

LoadError: ArgumentError: number of rows of each array must match #7

Closed ncasca closed 5 years ago

ncasca commented 5 years ago

Using Mac. Moderately familiar with Julia. Getting these array errors when I attempt to save skater and goalie .csv files and run the program. I updated all the original code for the new language (i.e. @defVar ==> @variable).

When I run the example_skaters and example_goalies from the original package, everything runs just fine - I receive an output. As soon as I try to make any edits to that csv, whether I copy paste new player data, or manually type it... when I save, and re-run the script, I get immediate array errors.

ERROR: LoadError: ArgumentError: number of rows of each array must match (got (0, 330)) --or-- ERROR: LoadError: ArgumentError: number of rows of each array must match (got (0, 180))

Must have something to do with the way .csv is hashed in the Mac iOS version of excel?? If anyone has had a similar issue, please send it!