You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I tried going through the examples notebook this morning, and encountered some errors (see attached). I did not change any of the code in the notebook.
Any fixes to these issues?
Thanks in advance!
Lasse Poulsen
The text was updated successfully, but these errors were encountered:
this is only a warning because one field of the data package descriptor does not conform to the validation rules. Although annoying, it can be ignored.
Right. This is because the class PathwaysDataPackage is not just yet in the stable release/main branch of premise. To use it, you have to install the pathways branch of premise, like so: pip install git+https://github.com/polca/premise.git@pathways This will install that specific version of premise which contains that class, which allows generating pathways-compatible data packages containing premise databases inside.
Indeed, for some reason, that double_counting argument disappeared. We're working on re-implementing this now. I will let know you when that happens.
I installed the specific Premise version, which fixed the issue - However, now I get a new error when trying to create a database (attached). I dont have this specific excel-file that it is searching for, and I can't seem to find it on the Premise github either. Should it be looking for the yml file instead?
Indeed, it seems I forgot to declare it in the packaging setup. As a quick fix, you can download the missing files from here and paste them into your folder.
Pathways errors.docx
Hello,
I tried going through the examples notebook this morning, and encountered some errors (see attached). I did not change any of the code in the notebook.
Any fixes to these issues?
Thanks in advance!
The text was updated successfully, but these errors were encountered: