-
Notifications
You must be signed in to change notification settings - Fork 6
Error while running samples/notebooks/demo-ecir.ipynb with 0.9.7 #57
Copy link
Copy link
Open
Description
a description of what was expected and what actually happened
The demo Jupiter notebook samples/notebooks/demo-ecir.ipynb has an error in section ## A full retrieval pipeline -- from reading documents to producing scores. Specifically, when running the line runner = patapsco.Runner(config_qt).
https://colab.research.google.com/github/hltcoe/patapsco/blob/master/samples/notebooks/demo-ecir.ipynb#scrollTo=433e939c
any stack trace or error message
2023-10-16 19:48:33,163 - patapsco.run - INFO - Patapsco version 0.9.7
INFO:patapsco.run:Patapsco version 0.9.7
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
[<ipython-input-10-9974057b2e79>](https://localhost:8080/#) in <cell line: 1>()
----> 1 runner = patapsco.Runner(config_qt)
2 runner.run()
3 frames
[/usr/lib/python3.10/pathlib.py](https://localhost:8080/#) in _parse_args(cls, args)
576 parts += a._parts
577 else:
--> 578 a = os.fspath(a)
579 if isinstance(a, str):
580 # Force-cast str subclasses to str (issue #21127)
TypeError: expected str, bytes or os.PathLike object, not dict
suggestion
I think this error is happening because when you pip install patapsco, we are install version 0.9.7. However, this latest release does not contain this commit: b321fe0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels