Closed will7200 closed 3 months ago
Good chance len(AB_metadata.dataframe)
is not correct as you're getting a different bw2io
and possibly a different biosphere version. You could check by installing the same biosphere the tests install and then adjusting the 4709
to that number to see if that fixes your test.
@marc-vdm thanks for the clue.
Marin just commented this out in LCA-ActivityBrowser/activity-browser@ee313738ffea3e0645b7ba0247b7ae6d2369543a.
Importing a database doesn't call add_metadata
from MetaDataStore
, which is why the test was failing. Adding the call would give the expected number for the corresponding database entries.
Makes sense to just remove the AB_metadata statement if not being used.
Updating AB
What happened?
While getting the test passing for AB, AB_metadata does not have any valid records after creating the default biosphere database. Which failed the test suite
Relevant errors
Operating system
MacOS
Conda environment