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

-o adds suffix -1 to output file #331

Open
VladimirAlexiev opened this issue Jan 23, 2023 · 2 comments
Open

-o adds suffix -1 to output file #331

VladimirAlexiev opened this issue Jan 23, 2023 · 2 comments

Comments

@VladimirAlexiev
Copy link

Something strange: output is not written to the file specified with -o but to a slightly different file:

  • -o foo -> foo-1
  • -o foo.ttl -> foo-1.ttl

Version: sparql.anything-0.8.1.jar

@enridaga
Copy link
Member

That is supposed to happen when there are parameters (and multiple executions). Can you please show the full command line?

@justin2004
Copy link
Contributor

justin2004 commented Jun 12, 2024

this also happened for me.

import pysparql_anything as sa
engine = sa.SparqlAnything()
engine.run(
        query="transformations/airlines.rq",
        format="ttl",
        values={
            "location" : "csv/airlines.csv"
        },
        output="output_from_py/airlines.ttl"
    )

produces

airlines-1.ttl

it would be ideal if it didn't add the -1

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

No branches or pull requests

3 participants