-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable basket export for kek #183
Conversation
c8ce769
to
e2cef2a
Compare
d5a2b35
to
ea1a26f
Compare
#181 will be rebased after this. |
@domi4484 Can you fix this also? |
@domi4484 It looks like organisation also needs a t_basket column. Could you finish this asap - there are other developments waiting for this to be finished. |
@sjib the basket column get created. But for some reason sometimes the value does not get populated. |
@@ -165,7 +165,7 @@ def base_common(self, row, type_name): | |||
"t_id": self.get_tid(row), | |||
} | |||
|
|||
if self.current_basket is not None: | |||
if self.current_basket is not None and type_name != "organisation": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@domi4484 Here you are not writing the current_basket if you have class organisation - is this the problem? The tests fail on organisation data.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because it was giving an error. But it is set later here https://github.com/QGEP/qgepqwat2ili/pull/183/files#diff-eafeae0f9c5218fb04f5c903a4a2f22919fb6233a3cbb0e0746f611ad6906afcR287
Ok but there is no special handling of the values "VSA" and "SBU" right? 2 "normals" organisation get created with the default prefix |
Yes, we have nothing hardcoded. Why should we? |
I am just trying to understand why those ID are making problems in this PR that in fact doesn't change anything in the import. And I think I found out now: The test
|
I tried to test the current status - No output in KEK file:
|
@domi4484 Here some testdata for importing VSA-KEK 2019 data: |
Yes in the tests output it looks empty as well. Thanks for the additional testdata. I think I found the issue. The objects are put into the wrong basket and so ili2db can't export them. Ill try to fix that |
Now the .xtf file is filled with data for me locally. On the pipeline the file is still empty |
@domi4484 Can you finish this today so we can make the release of 1.6.6 tomorrow? |
As this is working on local installations, we will merge it, test it and fix the CI in 2025. |
Based on #182