Skip to content

Fixing next serie of small problems (mainly found while handling Swiss data and filter) - #92

Open
ue71603 wants to merge 179 commits into
binary_relation_serializerfrom
fixing_direction_problem_filter
Open

Fixing next serie of small problems (mainly found while handling Swiss data and filter)#92
ue71603 wants to merge 179 commits into
binary_relation_serializerfrom
fixing_direction_problem_filter

Conversation

@ue71603

@ue71603 ue71603 commented Jan 16, 2026

Copy link
Copy Markdown
Collaborator
  • Direction handled in the yield differently. This way it gets exported.
  • Reordered arguments in filter_db_to_db.py (same as used in the script_runner)
  • Handling the problem that Swiss JourneyMeeting and InterchangeRule don't result in valid ServiceJourneyInterchange (the only thing allowed in EPIP). We will discuss doing and transforming things with MENTZ.
  • commit to check by Stefan: 6a779c9
  • Adapting tests to do what is needed here
  • Fix a problem in test_runner.py

@ue71603 ue71603 added this to the 2.0 milestone Jan 16, 2026
Comment thread transformers/direction.py Outdated
Comment thread storage/lxml/core/insert.py Outdated
@skinkie

skinkie commented Jan 20, 2026

Copy link
Copy Markdown
Contributor

I'll revamp this branch later.

@skinkie

skinkie commented Jan 20, 2026

Copy link
Copy Markdown
Contributor

3022cfb @ue71603 unrelated!!

@ue71603 ue71603 changed the title Trying to fix the problem with Direction Fixing next step of problem Jan 20, 2026
@ue71603 ue71603 changed the title Fixing next step of problem Fixing next serie of small problems (mainly found while handling Swiss data and filter) Jan 20, 2026
Comment thread transformers/epip.py Outdated
Comment thread transformers/direction.py Outdated

def process(sjp: ServiceJourneyPattern, generator_defaults: dict[str, Any]) -> ServiceJourneyPattern | None:
def process(sjp: ServiceJourneyPattern, generator_defaults: dict[str, Any]) -> Generator[ServiceJourneyPattern | Direction, None, None] :
# TODO we should perhaps think about, if we should invent Direction. It is not mandatory.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reason why we invent Direction is because IVU cannot import without it.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we removed the necessity in 2.1-wip. we will have to discuss this

Comment thread transformers/direction.py Outdated
@skinkie
skinkie changed the base branch from binary_relation_serializer to main July 22, 2026 20:14
@skinkie
skinkie changed the base branch from main to binary_relation_serializer July 22, 2026 20:41
Comment thread pyproject.toml Outdated
"paramiko",
"types-paramiko",
"tqdm",
"xsdata[cli,soap,lxml]>=25.7",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here is a merging problem.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know... Urs added also some cli code. I think this is feasible.

Comment thread transformers/gtfsprofile.py Outdated
Comment thread transformers/epip.py Outdated
Comment thread transformers/direction.py Outdated
@ue71603

ue71603 commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator Author

@skinkie do you merge the rest or say that you don't want some changes?

@skinkie

skinkie commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

I'll start reviewing the rest after what I am currently busy with.

@ue71603

ue71603 commented Aug 1, 2026

Copy link
Copy Markdown
Collaborator Author

@skinkie when you are done with the mp and the filter, then I think this needs to be addressed. I have some problems that are probably fixed here or needs to be addressed:
*
log1.md

Problem Occurs in this branch?
conv.gtfs_import_to_db in eurostar. agengy.txt exists already ? but did not occur before
fix.day_offset in sta_bolzano worked
Missing Directions e.g. in fr_aube worked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants