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

import/export: clean up, add test #1418

Open
wants to merge 18 commits into
base: gwdb-versioned2
Choose a base branch
from
Open

import/export: clean up, add test #1418

wants to merge 18 commits into from

Conversation

Swrup
Copy link
Contributor

@Swrup Swrup commented Jan 19, 2023

note that I added royal92.ged for tests but maybe we can use a smaller one

@Swrup
Copy link
Contributor Author

Swrup commented Jan 20, 2023

fix #1002 #1067

let () = Gwdb.load_couples_array base in
let () = Gwdb.load_unions_array base in
let () = Gwdb.load_descends_array base in
());
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not using ; ?

let read_file_content filename =
let ic = Secure.open_in filename in
let s = input_file_ic ic in
close_in ic;
Copy link
Contributor

Choose a reason for hiding this comment

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

You should use Fun.protect :-)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

:-)

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.

None yet

2 participants