When running the
res = kima.load_results(diagnostic=False)
we get the traceback
Traceback (most recent call last):
File "/home/amiguel/first_author_articles/WG1targets_Andre/kima_analysis/plot_kima.py", line 23, in <module>
res = kima.load_results(diagnostic=False)
TypeError: load_results() missing 1 required positional argument: 'model_or_file'
An attempt to pass the current directory through the model_or_file argument leads to:
IsADirectoryError: [Errno 21] Is a directory: '.'
The same issue occurs when directly calling KimaResults that -- from the docs -- should be able to load data from the current directory
res = KimaResults.load(diagnostic=False)
PS: all of this was run with the context manager from kima.pykima.utils.chdir