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
Traceback (most recent call last):
File "/home/kevinsung/projects/scratch/mapomatic-backendv2.py", line 16, in <module>
print(mapomatic.best_overall_layout(trans_qc, [backend]))
File "/home/kevinsung/projects/mapomatic/mapomatic/layouts.py", line 190, in best_overall_layout
config = backend.configuration()
AttributeError: 'FakeBelemV2' object has no attribute 'configuration'
The text was updated successfully, but these errors were encountered:
I think the proper way to go about this is to rewrite the codebase assuming the input is a BackendV2. If the input is not a BackendV2, first convert it using BackendV2Converter.
I made an attempt at this and started to run into some difficulties. It appears that mapomatic makes some assumptions about the backend that are not satisfied by BackendV2. In particular I had trouble translating the following expressions:
The text was updated successfully, but these errors were encountered: