Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only accepts filename 'testdatafile' #3

Open
npolizzi opened this issue Jan 19, 2018 · 1 comment · May be fixed by #5
Open

Only accepts filename 'testdatafile' #3

npolizzi opened this issue Jan 19, 2018 · 1 comment · May be fixed by #5

Comments

@npolizzi
Copy link

Hi, first of all, this is a really great program. Thanks!! I installed on my 2017 macbook pro (running Sierra 10.12.6) and for some reason the code only will accept input with the filename 'testdatafile'. With any other filename for the input, I get the following error:

setcover(12637,0x7fffec1be3c0) malloc: *** mach_vm_map(size=18446744072364584960) failed (error code=3)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
libc++abi.dylib: terminating with uncaught exception of type std::bad_alloc: std::bad_alloc
Abort trap: 6

Lastly, it would be very nice if this code could be put into a python module so that I can access it directly from a python list of lists (where the lists are the sets), as opposed to having to print to file, run setcover, then read in the text file output from setcover back into python.

Thanks for the great code!!

Nick

gandreadis added a commit to gandreadis/setcover that referenced this issue Sep 16, 2021
@gandreadis gandreadis linked a pull request Sep 16, 2021 that will close this issue
@Khalimat
Copy link

Thank you, @gandreadis! The commit has helped me. Maybe @martin-steinegger could consider merging it to master :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants