Skip to content

basex->csv #23

Description

@huanglin6385

Hello:
I want to process the output, the output basex folder is 'output/database_basexdb/'
the query is 'input/queries.xml'

the code is like follow:

from pygcam.query import *

r = runBatchQuery(scenario='111', queryName='queries', queryPath='input/', outputDir='tf_test/', xmldb='output/database_basexdb/') 

the exception is like follow:

WARNING pygcam.query: runModelInterface called with both batchFile and csvFile; the latter is ignored.
InterfaceMain: batchFile: queries-111.csv
Running headless? true
java.lang.NullPointerException
at ModelInterface.ConfigurationEditor.utils.FileUtils.loadDocument(FileUtils.java:301)
at ModelInterface.InterfaceMain.main(InterfaceMain.java:192)

As i am a new bird in pygcam, i can not find the tutorial of using 'queries.xml' to query in basex.
Looking forward to your reply!
Best wishes!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions