mammoth-eu / mammoth-commons

Other
0 stars 6 forks source link

Notebook test_mfppb_onnx_ensemble no mammoth.testing available #10

Open PlakiaM opened 6 days ago

PlakiaM commented 6 days ago

In test_mfppb_onnx_ensemble notebook mammoth.testing does not appear to be an attribute of the mammoth (do we miss something from the commons library?)

Picture1_mammoth

maniospas commented 6 days ago

Hazarding a guess, maybe you pip installed the library in your local environment instead of cloning it. Please try these two promising fixes, and let me know if they work: a) Clone the repo instead of directly installing it. b) After cloning the repo, run pip install -e .

If these do not fix the issue, please answer the following about your setup so as to attempt to replicate it:

The main question is, of course, should the testing environment be a part of the library? My current view is that it should not, because it is something we do for module development, where modules are also not part of the main library. But I am open to ideas - including perhaps moving the catalogue to a different repository to enforce development clarity.