Skip to content

Fix calculatePathwayStatistics documentation #7

Description

@AlexanderPico

Via trial and error, it seems the correct order of arguments is different from the documentation (http://projects.bigcat.unimaas.nl/pathvisiorpc/documentation/pathway-statistics/) and published examples. I resolved stack trace errors with this parameter order:
#3 pgex
#4 gdb dir
#5 pathway dir
#6 criteria
#7 result dir

Confirmed order in code: https://github.com/PathVisio/PathVisioRPC/blob/master/src/org/pathvisio/xmlrpc/StatExport.java#L72

The argument order in the examples coincidentally matches that needed for getPathwayStatList()
https://github.com/PathVisio/PathVisioRPC/blob/master/src/org/pathvisio/xmlrpc/PathVisio.java#L1048

This example should be included in the stats docs. It is in fact what most people probably expect to find here (like me).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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