VROOM-Project / vroom-scripts

BSD 2-Clause "Simplified" License
34 stars 20 forks source link

Pass input to vroom via stdin rather than argv to allow for larger sized input #36

Closed yaso9 closed 2 years ago

yaso9 commented 2 years ago

I ran into an issue with large input causing the following error:

OSError: [Errno 7] Argument list too long: ‘vroom’

STDIN doesn't have a size restriction and using it allows for passing larger sized inputs to Vroom.

jcoupey commented 2 years ago

Right, makes sense, especially when calling from the asap.py script with the full matrix embedded in the input...

Thanks for spotting this and submitting a PR!