SMAT-Lab / SnifferDog

Restoring Execution Environments of Jupyter Notebooks
Other
21 stars 7 forks source link

Run only for known packages #9

Open astrojuanlu opened 1 year ago

astrojuanlu commented 1 year ago

Although the logic is not well encoded in the file (see #7), it looks like the intention was that, if not all the packages found in the file are in the API bank, don't do anything:

https://github.com/SMAT-Lab/SnifferDog/blob/2a855ec14dcca4d8b939284dd4f70e75a9518f26/lib_ver_producer.py#L184-L185

If would be nice if the program still ran even with a subset of the modules.

Jarvx commented 1 year ago

Thanks for the suggestion! Will push a fix in the coming weeks. I will leave this just open.