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

Add option --file for writing RDF triples to a file instead of stdout #31

Merged
merged 4 commits into from
Dec 11, 2024

Conversation

tstoeter
Copy link
Contributor

@tstoeter tstoeter commented Dec 11, 2024

From the help message:

  omero rdf --file - ...             # Write RDF triples to stdout
  omero rdf --file output.nt ...     # Write RDF triples to the specified file
  omero rdf --file output.nt.gz      # Write RDF triples to the specified file, gzipping

@joshmoore
Copy link
Member

@sukunis: I plan on getting this out as 0.5.2 as soon as its green.

Since at least testing and possibly users may update
sys.stdout after importing the module, we defer the
evaluation of `sys.stdout` until the last possible
opportunity.
@joshmoore
Copy link
Member

Hurrah 🎉 Thanks, @tstoeter!

@joshmoore joshmoore merged commit c7cd09f into German-BioImaging:main Dec 11, 2024
1 check passed
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.

2 participants