Skip to content
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

[feature] NeTEx IDFM - Use VehicleJourneyStopAssignment for TN vehiclejourneys #600

Merged

Conversation

ArnaudOggy
Copy link
Contributor

No description provided.

@ArnaudOggy ArnaudOggy force-pushed the netex_idfm_vehiclejourneystopassignment branch 5 times, most recently from 7740cbd to 33bfa93 Compare April 8, 2020 16:38
Comment on lines 483 to 485
let stop_place_ref_opt: Option<String> = psa_element
.only_child("StopPlaceRef")
.and_then(|stop_place_ref_el| stop_place_ref_el.attribute("ref"));

This comment was marked as outdated.

@ArnaudOggy ArnaudOggy force-pushed the netex_idfm_vehiclejourneystopassignment branch from 9c272fd to c19cefd Compare April 9, 2020 12:22
woshilapin
woshilapin previously approved these changes Apr 9, 2020
@mergify mergify bot dismissed woshilapin’s stale review April 9, 2020 15:29

Pull request has been modified.

@ArnaudOggy ArnaudOggy force-pushed the netex_idfm_vehiclejourneystopassignment branch 2 times, most recently from 5995770 to 8421053 Compare April 9, 2020 17:12
use super::*;
use pretty_assertions::assert_eq;

fn stop_points() -> (CollectionWithId<StopPoint>, CollectionWithId<StopPoint>) {

This comment was marked as outdated.

@@ -432,19 +447,103 @@ where
.collect()
}

fn parse_passenger_stop_assignment<'a, I>(psa_elements: I) -> HashMap<String, String>
pub fn get_or_create_stop_point(

This comment was marked as outdated.

This comment was marked as outdated.

This comment was marked as outdated.

This comment was marked as outdated.

@ArnaudOggy ArnaudOggy force-pushed the netex_idfm_vehiclejourneystopassignment branch 6 times, most recently from f730ad9 to 9eb5dad Compare April 10, 2020 10:04
woshilapin
woshilapin previously approved these changes Apr 10, 2020
Comment on lines 2056 to 2057
expected_hashmap.insert(String::from("sspr"), String::from("sp1"));
assert_eq!(expected_hashmap, passenger_stop_assignment);

This comment was marked as outdated.

This comment was marked as outdated.

@ArnaudOggy ArnaudOggy force-pushed the netex_idfm_vehiclejourneystopassignment branch from 9eb5dad to fa40e05 Compare April 10, 2020 10:36
@mergify mergify bot dismissed woshilapin’s stale review April 10, 2020 10:37

Pull request has been modified.

@woshilapin woshilapin merged commit 92ee799 into hove-io:master Apr 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants